edemaine / fold

FOLD file format for origami models, crease patterns, etc.
MIT License
310 stars 48 forks source link

Rhino/Grasshopper import/export of FOLD format #13

Closed edemaine closed 1 year ago

edemaine commented 6 years ago

http://developer.rhino3d.com/guides/rhinopython/your-first-python-script-in-grasshopper/

https://discourse.mcneel.com/t/tutorial-creating-a-grasshopper-component-with-the-python-ghpy-compiler/38552

mayakraft commented 1 year ago

here https://github.com/robbykraft/rhino-grasshopper-fold, conversion both ways between a Rhino mesh and FOLD.

ideally the python/C# code alone can be hosted on github, instead of this .gh binary, but unfortunately this is not ideal because to create a grasshopper component and copy/paste code inside it, one must still setup the inputs, the names and the types, and these must fuzzy match with what the code is expecting, which is annoying work to impose onto a user and could lead to issues.

edemaine commented 1 year ago

Awesome!! I should link to this on the README.

Why not include both source and the gh file? Usually I put built products as attachments to GitHub releases, but whatever works.

mayakraft commented 1 year ago

gosh that's actually a really good idea! i'll try this thanks!