Import obj directly into Grasshopper

hi all,
I used to use the LocalCode import component (see image) to reference .obj files directly into Grasshopper, but it doesn’t seem to be doing it anymore. Is there another way to directly reference .obj files that I’m missing?
I basically have tons (literally over 1000) of .objs that I exported from an animation in Blender and want to be able to use these in Grasshopper without importing them into Rhino first.
Thanks!!
Thomas

LocalCodeImport works fine here (on both Rhino 5 and 6)

1 Like

Amir,
thanks a lot for your reply!
do you have another version of LocalCode perhaps (it looks different…) - would you mind sending me the .gha file so I can test if it works?
all the best,
T.

Sorry, I might be wrong, but double check your file path. LocalCode works here too…

1 Like

hi David,
thing is, it is importing the geometry, as in: it bakes it in Rhino (so the file path must be right) but the component doesn’t create an output (see orange wire coming out of the G component)…
thanks!
T.

1 Like

Yes I saw it. Try importing in the Default layer? It is indeed strange…
Move the file out of Dropbox?

1 Like


that did it - thanks a lot David!!
Thomas

1 Like

Ok. Then create the layer before you import, so you can work as you wish. Also somites Grasshopper does not like if the files are in Dropbox. Have no idea why, probably permissions or something, but on certain computers I got issues before.

Anyway… Give a brother a Like :stuck_out_tongue:

1 Like

many likes, david.
thanks!
t.

1 Like

Hi guys,
For some reason I couldn’t find a copy of Local Code Import/ Export grasshopper file anywhere. Can someone attach a link to it
Thanks
EDIT : I found the link you guys can download it from here Cheers
https://web.archive.org/web/20111117053143/http://nicholas.demonchaux.com/file_download/2/LocalCode.gha

https://drive.google.com/file/d/1suC0mWttH0CpCZLCdyD7A7T8P8S96cte/view?usp=sharing