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

fix(civil3d): added units to civil classes missing them #3591

Conversation

clairekuang
Copy link
Member

adds units to some civil classes added in 2.20 that were msising them, as well as the civil3d conversions.

Copy link
Contributor

@BovineOx BovineOx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine but we set the units inconsistently, and it would be better to do this consistently....

@@ -1229,7 +1238,11 @@ private CivilCalculatedLink CalculatedLinkToSpeckle(CalculatedLink link)
specklePoints.Add(specklePoint);
}

CivilCalculatedLink speckleLink = new(codes, specklePoints);
CivilCalculatedLink speckleLink = new(codes, specklePoints)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems a bit odd to be setting units outside of the constructor, is it optional?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes they are currently optional

@clairekuang clairekuang merged commit ffc35bf into dev Jul 25, 2024
32 checks passed
@clairekuang clairekuang deleted the CNX-9900-Performance-Everything-sends-all-objects-at-unknown-scale-relative-to-sent-units branch July 25, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants