Hello, I'm Gilboonet, if you want to unfold a 3d model with my sites' jscad script, here are things to know :
- it is done for .obj models exported from Wings3d with triangulation tesselation
- if you want to have pieces unfold separately, each must be colored differently, then colors turn to material ( Body mode, MRB, Vertex Attributes, colors to material) and exported to .obj
- the 3d model cannot have holes
This way I was able to unfold models with 2000 triangles max.
Recently I made a vanilla JS unfolder that doesn't unfold automatically but rather with a graphical interface, and has an option to unfold the model a simple way (It tries to unfold facet with smaller number). I wasn't satisfied with any triangle intersection algorithm I could think of to have the same automatic mode that the jscad version has, but the graphical interface allows me to unfold my models with more flexibility. And I was able to made it accept .obj with quads and holes, and it can make use of co-planarity to avoid unnecessary folds. I didn't make it serve pdf so it doesn't have multipage output, but it can serve a A1 svg that is then easy to split. It is here : https://gilboonet.github.io/depl_edit/de...tml?page=1. Send me a mail or message here if you want some help to use it, Briefly, it accepts .obj from Wings, you choose your .obj, then choose first facet to unfold, and clic on numbers on borders to unfold/fold. You can also select only some faces, then export selection. You can drag the starting facet to move the pattern, on the right there's a matrix button that open a window with all facets to unfold. When you completed the unfold, if you export to .svg, the pattern will be simplified. The green numbers are length of unknown neighbours. The github is here : https://github.com/gilboonet/gilboonet.g.../depl_edit
A short video : https://www.youtube.com/watch?v=NYeVw_rwDnw
- it is done for .obj models exported from Wings3d with triangulation tesselation
- if you want to have pieces unfold separately, each must be colored differently, then colors turn to material ( Body mode, MRB, Vertex Attributes, colors to material) and exported to .obj
- the 3d model cannot have holes
This way I was able to unfold models with 2000 triangles max.
Recently I made a vanilla JS unfolder that doesn't unfold automatically but rather with a graphical interface, and has an option to unfold the model a simple way (It tries to unfold facet with smaller number). I wasn't satisfied with any triangle intersection algorithm I could think of to have the same automatic mode that the jscad version has, but the graphical interface allows me to unfold my models with more flexibility. And I was able to made it accept .obj with quads and holes, and it can make use of co-planarity to avoid unnecessary folds. I didn't make it serve pdf so it doesn't have multipage output, but it can serve a A1 svg that is then easy to split. It is here : https://gilboonet.github.io/depl_edit/de...tml?page=1. Send me a mail or message here if you want some help to use it, Briefly, it accepts .obj from Wings, you choose your .obj, then choose first facet to unfold, and clic on numbers on borders to unfold/fold. You can also select only some faces, then export selection. You can drag the starting facet to move the pattern, on the right there's a matrix button that open a window with all facets to unfold. When you completed the unfold, if you export to .svg, the pattern will be simplified. The green numbers are length of unknown neighbours. The github is here : https://github.com/gilboonet/gilboonet.g.../depl_edit
A short video : https://www.youtube.com/watch?v=NYeVw_rwDnw