Code Monkey home page Code Monkey logo

paperfoldmodels's People

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

Watchers

 avatar  avatar

paperfoldmodels's Issues

Ideas for future work

While working with some different flatteners i think paperfoldmodels has the best unwrapping algorithm. But there are some features which could be added from other flatteners to make it more powerful.

** Coplanar surfaces **

taking an example:
grafik

papercraft unfold detects the octagon in the center while paperfoldmodels subdivides into 6 triangles. so we get a lot of unrequired virtual folding lines
grafik
grafik


** Numbering **
another feature would be to give each surface a number. at the moment all edges have numbers only.


** Glue Tabs **

https://github.com/Avnerus/dxf2papercraftUV / dxf2papercraft.sourceforge.net add glue tabs to unfolded DXF models. This works really well.

grafik

dxf2papercruft has also the feature to do custom splittings with surface numbers. but this might make no sense with this unflattening algorithm. they all work different

Unfolding is skewed

Hey,
this algorithm set is really cool. Trying to make it work for me but while working with it i figured out some issue. I took a simple cube and that is not generated properly.

An unfolded cube looks like this:
grafik
https://www.thingiverse.com/thing:34553

happens on other meshes too. Maybe somebody has an idea whats the line of code causing this

Some more failure examples:
https://gitlab.com/inkscape/extensions/-/blob/master/Poly3DObjects/dodec.obj
grafik

https://gitlab.com/inkscape/extensions/-/blob/master/Poly3DObjects/cube.obj
grafik

https://gitlab.com/inkscape/extensions/-/blob/master/Poly3DObjects/great_dodec.obj
grafik
have a look at edge number 15. they have unequal size between the two pieces

Working files:
https://gitlab.com/inkscape/extensions/-/blob/master/Poly3DObjects/oct.obj
grafik

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.