GithubHelp home page GithubHelp logo

groundhoglighting / emp_core Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 18.78 MB

An embeddable Lighting Calculation Engine

Home Page: http://www.groundhoglighting.com

License: GNU General Public License v3.0

C++ 14.65% Lua 0.56% C 0.27% HTML 82.24% JavaScript 1.25% CSS 1.03% Awk 0.01%

emp_core's People

Contributors

germolinal avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

emp_core's Issues

Standardize Timezone, Latitude and Longitude signs

SketchUp, EnergyPlus, Radiance and other tools use different conventions for the sign in Latitude and Longitude. We need to choose one for Emp and make it very clear. Also, we need to check for the consistency when reading EPW, WEA and SKP files.

EPW files use: - for South, - for West, GMT for TimeZone (i.e. timezone = 15std_meridian)
WEA files use: - for South, + for West, -GMT for TimeZone (i.e. timezone = -15
std_meridian)
Gendaylit and Gensky use: - for South, + for West, and uses std_meridian as input (in + West)
SKP use: - for South, - for West, GMT for TimeZone

As for now, EMP_CORE's LOCATION object has the following definitions:

float latitude; //!< The latitude in degrees North (use negative for South)
float longitude; //!< The longitude in degrees West (use negative for East)
float timeZone; //!< in GMT units

Which means that it is using WEA file standards. Need to make sure this is consistent in other functions.

SKPReader - Windows within components do not behave properly

Windows within components are Bulked into the definition instead of being treated as Windows.

Expected behaviour

  1. Their vertices should be transformed into global coordinates
  2. The transformed polygon should be added to the "Windows" section in the EmpModel.
  3. We need to deal with names.... the same will happen with workplanes.

Workaround

Explode the model.

New registration format in SketchUp's Workplanes

Workplanes in SketchUp models are now stored in an array of objects, not in an object itself. This allows for more information about the workplanes.

That is, from:

{
    workplaneName : [ 'task1',  'task2' ],
    anotherWorkplane : [ 'task2' ]                                  
}

to

[
    { name: 'workplaneName', tasks : [ 'task1',  'task2' ], pixel_size: 0.25 },
    { name: 'anotherWorkplane', tasks : [ 'task2' ] , pixel_size: 0.25  }                               
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.