Oct 2, 2016
-
Ami Fischman
ETA: updated version linked from https://gist.github.com/fischman/287396e0593a7e083ad8ee85d945d668#flatteningunfolding-3d-into-2dInspired by +Gilbert Duval's unfolding projects I wrote an automated flattener. Interested to hear people's thoughts
(suggest reading the header comment before trying to use it)
11 comments
11
4 plus ones
4
no shares
Shared publicly•View activityAmi Fischman
Are the starting triangles random for you?Oct 26, 2016
Ami Fischman
+Gilbert Duval thanks for the feedback. Updated the posted version to:- allow scaling the model
- split apart "polygons" into "triangles" in the input model
- significantly speed up label generation by caching digit CAGs
- add flaps to show what to connect to what
Adding flaps makes the whole thing much more computationally intensive on the renderer, so while e.g. heart/teddy/bowl take <2.5s in my code (main()), the overall rendering can take 10-15s as openjscad chews on the returned CAGs
LMK how this works out for you.
Nov 7, 2016
Ami Fischman
+Gilbert Duval sure, go for it. FYI you misspelled my last name in the credit (only one N, not two).Nov 24, 2016
Ami Fischman
+Gilbert Duval since the long inline data for tdy and bowl was making it impossible to navigate the comments on this post in Android G+ I moved them to:
https://gist.github.com/fischman/5ee48cf3476a4b4e6b9318027d1f6e94 and https://gist.github.com/fischman/1bdfee31897b05c404042e76ee152b46 resp. I hope you don't mind.Nov 24, 2016
Ami Fischman
+Laust Frederiksen the "Use areas instead of lines?" param checkbox is meant to be used this way - check the box to use areas and export SVG for the cut (outer boundary only) and then uncheck the box and export SVG for the crease lines (and use a different laser profile, obvs).
Note I haven't actually tried to execute this recipe, so I'd be happy to hear how well/poorly it worksApr 12, 2017
Ami Fischman
+Laust Frederiksen sorry I'm not seeing what's wrong with 308/293. Can you say more about them?
The intent of getTransformToXY is to preserve normals. Can you repro a problem with a simpler/toy model?