You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a floor space model where I rotated the north axis by -270 degrees/90 degrees (see the jpg below)
This north axis rotation can be seen in the north_axis property of the Floorspace JS json which is produced from the floor space app.
However it appears that this north axis rotation is not be carried forward to the OS model when the Floorspace JS json is converted to a OS model using the following code:
floorplan = OpenStudio::FloorplanJS::load(json_data)
if floorplan.empty?
raise ArgumentError.new("Cannot load floorplan from '#{floorplan_path}'.")
end
scene = floorplan.get.toThreeScene(true)
rt = OpenStudio::Model::ThreeJSReverseTranslator.ne
[floorplan90degreesRotated.zip](https://github.com/NREL/OpenStudio/files/3340088/floorplan90degreesRotated.zip)
w
model = rt.modelFromThreeJS(scene)
As the north axis of the OS model is set to 0.
Could you please confirm that this is the case, and if it is could you please fix this issue in the Openstudio api ASAP.
I have attached both the FloorSpace JS json and the OS model created from it in the zip file.
@macumber
I have created a floor space model where I rotated the north axis by -270 degrees/90 degrees (see the jpg below)
This north axis rotation can be seen in the north_axis property of the Floorspace JS json which is produced from the floor space app.
However it appears that this north axis rotation is not be carried forward to the OS model when the Floorspace JS json is converted to a OS model using the following code:
As the north axis of the OS model is set to 0.
Could you please confirm that this is the case, and if it is could you please fix this issue in the Openstudio api ASAP.
I have attached both the FloorSpace JS json and the OS model created from it in the zip file.
Thank you!
(https://github.com/NREL/OpenStudio/files/3340096/floorplan270degreesRotated.zip)
The text was updated successfully, but these errors were encountered: