-
Notifications
You must be signed in to change notification settings - Fork 7
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): alignment arc logic fixed #320
fix(civil3d): alignment arc logic fixed #320
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #320 +/- ##
=====================================
Coverage 8.40% 8.40%
=====================================
Files 240 240
Lines 4816 4816
Branches 556 556
=====================================
Hits 405 405
Misses 4394 4394
Partials 17 17 ☔ View full report in Codecov by Sentry. |
@@ -22,37 +21,30 @@ IConverterSettingsStore<Civil3dConversionSettings> settingsStore | |||
|
|||
public SOG.Arc Convert(CDB.AlignmentSubEntityArc target) | |||
{ | |||
// alignment arcs do not have the same properties as autocad arcs. | |||
// we're assuming they are always 2d arcs on the xy plane to calculate the midpoint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this assumption correct, or is there a chance a civil arc won't be laying on the 2d plane?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They appear to always be of type Arc2d
fixes flipped alignment arcs
sample commit:
https://latest.speckle.systems/projects/3f895e614f/models/fff1132068@56b5ffe759