-
Notifications
You must be signed in to change notification settings - Fork 195
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
utilities.Transformation - Cannot compute outward normal for vertices #4057
Comments
Interesting (not in good way) that it is non-deterministic. Are you using the OpenStudio Application to convert FloorSpaceJS to OpenStudio, or are you using measure or stand alone script? I did publish a measure for this as I wanted to do it outside of a GUI. I run this diagnostic surface matching measure after the import, and I have extended it at I found more problematic geometry situations from imported FloorSpaceJS files. There are some FloorSpaceJS files it can't properly clean up. If you are getting a crash on import then you won't be able to use the measure to help make valid geometry. |
The non-deterministic aspect was partially addressed in: https://github.com/NREL/OpenStudio/pull/4055/files#diff-8cafc578c17f0520f10020b4dfdd9757 |
Hi all please find link to floor js json here, somehow it got deleted https://drive.google.com/file/d/1SbOSE4LlrYct6-Fdqa03W9XPeJfR05qt/view?usp=sharing |
Using a debug build of develop (the fact that you need BOOST_ASSERT means you are using a debug build) $os_build/Products/openstudio -e "json = 'MaxwellRosner-2_13.json'; floorplan = OpenStudio::FloorplanJS.load(json); scene = floorplan.get.toThreeScene(true); rt = OpenStudio::Model::ThreeJSReverseTranslator.new; m = rt.modelFromThreeJS(scene).get"
[openstudio.model.Surface] <1> Initial area of other surface 'Face 380' 232.101 does not equal post intersection area 232.063
[openstudio.model.Surface] <1> Initial area of surface 'Face 148' 203.39 does not equal post intersection area 203.389
[openstudio.model.Surface] <1> Initial area of surface 'Face 82' 352.656 does not equal post intersection area 352.688
[openstudio.model.Surface] <1> Initial area of other surface 'Surface 20' 372.845 does not equal post intersection area 372.833
[openstudio.model.Surface] <1> Initial area of surface 'Face 128' 468.179 does not equal post intersection area 468.18 Likely fixed via #4221 (I thought we relaxed the threshold for post intersection area? 203.389 seems pretty close to 203.39) |
OpenStudio/src/model/Surface.cpp Lines 1036 to 1038 in 7cec475
I guess this could relaxed even more. Anyways, closing as fixed |
Issue overview
Intermittently when importing a Floor js json into an OSM the import fails with the following errors and warnings seen below:
However when I try to import the same json again it will work intermittently. I have provided a google doc link to an example json where the import failed (and sometimes succeeds)
https://drive.google.com/file/d/1yq5tUGpHk7si_4fHdXDINL2RF_6XEx-w/view?usp=sharing
Environment
Appears both on linuix and windows, Openstudio core version is 3.0.1
The text was updated successfully, but these errors were encountered: