hpinc / go3mf Goto Github PK
View Code? Open in Web Editor NEW3D Manufacturing Format (3MF) implementation for Go
Home Page: https://3mf.io
License: BSD 2-Clause "Simplified" License
3D Manufacturing Format (3MF) implementation for Go
Home Page: https://3mf.io
License: BSD 2-Clause "Simplified" License
Added 3mf support to https://github.com/deadsy/sdfx.
It looks like the compression process is adding some per-run data. It doesn't look like a timestamp.
Not a show-stopper but having the same input give the same output is a nice regression property.
ie - we test the sha1sum of the output. This works for an STL, but not for a 3MF.
I guess the issue is possibly fixable in qmuntal/opc or maybe compress/flate, but I mention it here.
> sha1sum *3mf
c28eed4f13d0c62b0b7d57017d32427bbbea8206 head1.3mf
481ccd135a874c9690d92a99b90b67816e54340b head2.3mf
> unzip -v head1.3mf
Archive: head1.3mf
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
29548892 Defl:N 3507185 88% 2022-09-30 09:18 9bfc8b92 3D/3dmodel.model
279 Defl:N 190 32% 2022-09-30 09:18 4c62f2b8 _rels/.rels
347 Defl:N 208 40% 2022-09-30 09:18 9dd59dad [Content_Types].xml
-------- ------- --- -------
29549518 3507583 88% 3 files
> unzip -v head2.3mf
Archive: head2.3mf
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
29548892 Defl:N 3507185 88% 2022-09-30 09:18 9bfc8b92 3D/3dmodel.model
279 Defl:N 190 32% 2022-09-30 09:18 4c62f2b8 _rels/.rels
347 Defl:N 208 40% 2022-09-30 09:18 9dd59dad [Content_Types].xml
-------- ------- --- -------
29549518 3507583 88% 3 files
Error when calculating model´s bound box in case of nested models with components. In this case, as component is not in the main model, it bound box is not used in calculation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.