if there was a way to save cut edges that would be awesome.
The command could be split into two:
1) select cut edges
2) unfold
This implies that the data of selected cut edges is somehow passed between commands.
This might involve digging deep into rhino common (if only I could extend the mesh class!)
or perhaps representing cut edges as simple lines and then have the unfold command detect those lines that lay coincident with the mesh-edges. Might be possible to speed that one up use a spatial tree thing.
user can specify as little or as much of the cut information
user can see specified cut information
cut information is used to layout mesh
Ideas:
split cut/fold information into different command => requires ability to save information somehow in document
Indeed this is possible using the UserDictionary field of an object (mesh)
This means when set_cuts() has been run on a mesh and then that file saved, it can later be opened or copied for unfolding!
cut information is now being stored as a UserDictionary item on the mesh. This means a mesh with cuts assigned can be saved and reopened later for unfolding
if there was a way to save cut edges that would be awesome. The command could be split into two: 1) select cut edges 2) unfold
This implies that the data of selected cut edges is somehow passed between commands. This might involve digging deep into rhino common (if only I could extend the mesh class!) or perhaps representing cut edges as simple lines and then have the unfold command detect those lines that lay coincident with the mesh-edges. Might be possible to speed that one up use a spatial tree thing.