-
Notifications
You must be signed in to change notification settings - Fork 189
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
3.0.1-beta1: GbXMLReverseTranslator applies incorrect scaling to windows #3997
Comments
@jmarrec thanks for taking the initiative to fix this issue but im confused why this wasnt fixed here: |
@antonszilasi #3951 is a different error, specific to surface Type assignment, and was a typo in if blocks. This one is about scaling and is about a missing multiplication. I can speculate the original file you sent for 3951 may have had the same problem, but I don't recall it having windows. Anyways I didn't identify a problem with scaling there. Perhaps that's where the confusion comes from? This is a good illustration of why writing good, detailed issues matters: the issue templates we have should help structure that by listing all the things you think are not working correctly to maximize the chances of seeing them addressed. |
@antonszilasi Yes, but it'll be called openstudio:3.0.1-rc2 with this change. |
Fix #3997 - GbXMLReverseTranslator applies incorrect scaling to windows when unit isn't meter
Issue overview
With
lengthUnit="Feet"
, the windows are incorrectly placed.Reported by @antonszilasi
Current Behavior
Wrong scaling for windows
Expected Behavior
Windows should be placed correctly, like they are in 2.9.1.
Steps to Reproduce
I will make a unit test for this.
Possible Solution
Move from QXml to pugixml missed a conversion factor
m_lengthMutiplier
as it previously existed here: https://github.com/NREL/OpenStudio/blame/e65085e23f2792b8726bdd6f3f143c31651d136a/openstudiocore/src/gbxml/ReverseTranslator.cpp#L559Details
Environment
Some additional details about your environment for this issue (if relevant):
The text was updated successfully, but these errors were encountered: