-
Notifications
You must be signed in to change notification settings - Fork 96
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
3mf node export #517
3mf node export #517
Conversation
FYI @hrgdavor |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #517 +/- ##
=======================================
Coverage 90.36% 90.37%
=======================================
Files 35 35
Lines 4431 4456 +25
=======================================
+ Hits 4004 4027 +23
- Misses 427 429 +2 ☔ View full report in Codecov by Sentry. |
just released I would like to point out that the export supports embedding a thumbnail, it would be cool if manifold would take advantage of that when exporting. There is example of it in the repo called testGen.js there was a small bug introduced in |
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.
version change needed
bindings/wasm/examples/package.json
Outdated
@@ -16,7 +16,7 @@ | |||
"@gltf-transform/core": "^3.2.1", | |||
"@gltf-transform/extensions": "^3.2.1", | |||
"@gltf-transform/functions": "^3.2.1", | |||
"@jscadui/3mf-export": "^0.3.0", | |||
"@jscadui/3mf-export": "^0.4.0", |
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.
needs to be 0.4.2
Hmm, I actually changed that intentionally in order to make the header parameters work (and tested it). Since |
What does your calling the function look like ? This dotted variant works in the test script within the package |
@elalish I checked the header parameter and the types you proposed. I agree with separating the header object instead of mixing the keys in the options. v0.4.2 is published that is aligned with your call to |
@hrgdavor Awesome, thank you! I'll get back to this shortly, but I need to go to a wedding first. |
@pca006132 Did you say something about a problem with the windows TBB build? |
yes, maybe we can disable it for now until I find a way to fix it. |
It's already marked "not required", so I guess it's fine for the moment. Ideally we should scope down this CI list a bit (if we go full TBB) and make all the remaining ones required. |
* added 3mf hierarchy support, not tested yet * 3mf nodes work with updated exporter * updated 3mfexport version
This makes our 3MF export consistent with our GLB export when
GLTFNode
is used, creating the same scene hierarchy with mesh reuse. No materials yet, but we do include object names and a proper header.This is blocked on hrgdavor/jscadui#37, which will need an npm release for us.