Coder Social home page Coder Social logo

go3mf's People

Contributors

carlotacb avatar diogocravo avatar qmuntal avatar thiagomourahp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

go3mf's Issues

3mf files with identical model contents are not binary identical.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.