-
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
bjorn/cnx-835-add-converter-projects-and-top-level-converter #429
bjorn/cnx-835-add-converter-projects-and-top-level-converter #429
Conversation
- Project setup and basic definitions - Waiting for SDK update
- Abstract TopLevel converter - Requiring a lot of wrappers and addtional steps to get to converted CSiObject
CSiWrapperBase instead of ICSiWrapper correctly resolves all types
these are gross (just a poc for first send)
Simple organization
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #429 +/- ##
=====================================
Coverage 9.34% 9.34%
=====================================
Files 224 224
Lines 4246 4246
Branches 471 471
=====================================
Hits 397 397
Misses 3833 3833
Partials 16 16 ☔ View full report in Codecov by Sentry. |
} | ||
|
||
// TODO: Frames could be further classified under Columns, Braces and Beams. Same for Shells which could be classified into walls, floors | ||
public Collection GetAndCreateObjectHostCollection(ICSiWrapper csiObject, Collection rootObject) |
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.
This could be renamed to AddObjectCollectionToRoot
, which would be more descriptive.
Why is the root collection being set to the newly created collection? probably can just return the created one directly.
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.
Under commit "AddObjectCollectionToRoot":
- Agreed. Renamed to
AddObjectCollectionToRoot
- True, unnecessary line removed.
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.
This comment probably applies to Revit too Revit - SendCollectionManager.cs
PR comments: - Updated GetAndCreateObjectHostCollection to more descriptive name of AddObjectCollectionToRoot - Removing unnecessary rootObject = childCollection line
…ects-and-top-level-converter' into bjorn/cnx-835-add-converter-projects-and-top-level-converter
Description & motivation
Changes:
Speckle.Converters.CSiShared
projectCSiWrappers
to deal with CSiAPI not returning objectsScreenshots / Validation of changes:
Send working, with result below. Collection structure to be refined as part of CNX-829.
Checklist: