algorithmic modeling for Rhino
Download the plug-in here:
Remember to right click the GHA and the DLL, go to properties, and select "unblock."
An example file setup:
You will need to set up an account on http://www.sketchfab.com and get your own API token to complete the example definition (or to upload anything else to sketchfab.)
Please send your thoughts, issues, feedback, and suggestions!
Tags:
It looks great. But Im getting the following message:
1. Solution exception:Could not load file or assembly 'Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c' or one of its dependencies. El sistema no puede encontrar el archivo especificado.
I have already changed my API number but this message keeps showing up.
What can I do? Thanks a lot!
Thanks Federico - forgot to include an important file. Try the new download above and install both the GHA and the DLL.
hello andrew
great job - I just catched this site some days ago and you already come up with the plug-in. :-D
works great now with de .dll but the colours doesn't seam to upload with the example or am I'm doing something wrong?
Hi Christian - Strange that the colors don't upload. Are you just using the example file as supplied?
yes i uploaded it to
Hi Christian -
Would you do me a favor and try replacing the .GHA file with the one attached? I have disabled the functionality that deletes the upload files after they are uploaded, so I can make sure they've all been written properly. Try the example again with this GHA, and then tell me which files are written to the directory you specified in "Dir".
Hopefully we can find a solution to your issue!
hello andrew,
i did as suggested but only the .obj is uploaded - so it looks like the color information gets lost before (at least in my case) ..
Another thing to try - create some objects in rhino manually, and assign materials to them. Then open the Macro Editor and paste this:
_-Export _SaveTextures=Yes _GeometryOnly=No "C:\SOME LOCATION ON YOUR HARD DRIVE\File.obj" _Enter _ExportMaterialDefinitions=Yes _YUp=Yes _Enter
Change the file location in the macro, and check to see if a .mtl file has been exported. If not, try changing some of the settings in the -Export command until you get one to show up. Please let me know what you find! I appreciate your patience in troubleshooting this with me :)
hello! i run the makro but still only a .obj is created. the commandline says:
Command: _-Export
Save file name ( Version=5 SaveSmall=No GeometryOnly=No SaveTextures=No SavePlugInData=Yes Browse ): _SaveTextures=Yes
Save file name ( Version=5 SaveSmall=No GeometryOnly=No SaveTextures=Yes SavePlugInData=Yes Browse ): _GeometryOnly=No
Save file name ( Version=5 SaveSmall=No GeometryOnly=No SaveTextures=Yes SavePlugInData=Yes Browse ): "C:\Desktop\File.obj"
Choose OBJ option ( Geometry=Mesh EndOfLine=CRLF ExportRhinoObjectNames=DoNotExportObjectNames ExportRhinoGroupOrLayerNames=DoNotExportGroupNames ExportMeshTextureCoordinates=No ExportMeshVertexNormals=Yes CreateNGons=No ExportMaterialDefinitions=No YUp=No WrapLongLines=Yes VertexWelding=Unmodified WritePrecision=16 ): _Enter
Choose OBJ option ( Geometry=Mesh EndOfLine=CRLF ExportRhinoObjectNames=DoNotExportObjectNames ExportRhinoGroupOrLayerNames=DoNotExportGroupNames ExportMeshTextureCoordinates=No ExportMeshVertexNormals=Yes CreateNGons=No ExportMaterialDefinitions=No YUp=No WrapLongLines=Yes VertexWelding=Unmodified WritePrecision=16 ):
Choose meshing option ( DetailedOptions PolygonDensity=50 ): _ExportMaterialDefinitions=Yes
Unknown command: _ExportMaterialDefinitions=Yes
Choose meshing option ( DetailedOptions PolygonDensity=50 ): _YUp=Yes
Unknown command: _YUp=Yes
Choose meshing option ( DetailedOptions PolygonDensity=50 ): _Enter
Choose meshing option ( DetailedOptions PolygonDensity=50 ):
Created a mesh with 40 points and 19 polygons.
Created a mesh with 40 points and 20 polygons.
Meshing... Press Esc to cancel
File successfully written as C:\Desktop\File.obj
looks like heres the problem; does it work fine on your machine?
Good catch - I've posted an update to the zip file above. Try downloading the new version and let me know if it works correctly now.
Thanks for the help!
works like a charm!
people can start floating sketchfap with gh models now :D
thank you andrew!
Hi, I've the same issue, but I've tried with all the versions you upload here, can you attach a SketchfabUploader version that allows me to upload colors please? Thanks!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson.
Powered by