Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

floor_to_ceiling_height for Shading objects is not respected in the floorspace reverse translator #4764

Closed
ggartside opened this issue Dec 15, 2022 · 0 comments · Fixed by #4770

Comments

@ggartside
Copy link
Collaborator

ggartside commented Dec 15, 2022

Issue overview

The shading groups created by the floorspace reverse translator do not have the correct height

Current Behavior

A shading group is created for each shading object in the floor space json file, a collection of faces is made by extruding the 'footprint' of the shading object. The extrusion height is specified by floor_to_ceiling_height. Currently all shading groups are created with an extrusion length of 10' regardless of the value of floor_to_ceiling_height

Expected Behavior

The extrusion shape should be created with the height as specified in the floorspace json file

Steps to Reproduce

  1. Generate an OSM model using the following file (can't upload a json file but it is the file referred to in Additional roof created for Floor js json import #4323 ) via the floorspace reverse translator
  2. Do the same using the ThreeJS reverse translator
  3. Look at shading group 1-10 (for example)

Model as generated by the ThreeJS reverse translator
image

Model as generated by the floorspace reverse translator
image

Possible Solution

Will have to correct the floorspace reverse translator code that supplies the extrusion height

Details

I have a floorspace reverse translator test that verifies this issue

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version):
  • Version of OpenStudio (if using an intermediate build, include SHA):
    latest version of develop at commit 351d37f

Context

@ggartside ggartside added the Triage Issue needs to be assessed and labeled, further information on reported might be needed label Dec 15, 2022
@tijcolem tijcolem added severity - Normal Bug component - Geometry Translator and removed Triage Issue needs to be assessed and labeled, further information on reported might be needed labels Dec 16, 2022
@tijcolem tijcolem added this to the OpenStudio SDK 3.6.0 milestone Dec 16, 2022
jmarrec pushed a commit that referenced this issue Jan 5, 2023
jmarrec pushed a commit that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants