Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I'm having some strange issues using python scripting on my mac - my friend gave me a code that works fine on her computer (pc) and when i try to open it on my mac i get an error. apparently it cant import the grasshopper components when i do 

import ghpythonlib.components as ghcomp

is there anything i can do about it?

Thanks a lot

Views: 613

Replies to This Discussion

Hi

sorry, ghpythonlib is not available on the Mac.

So, you cannot do:

import ghpythonlib.components as ghcomp

See https://mcneel.myjetbrains.com/youtrack/issue/RH-38180

Giulio
--
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

Thanks a lot for the answer!

That complicates things a bit...

Is there another way to use grasshopper components within the python component (that works on the mac platform)? 

Sorry, not at present.

RhinoScript and RhinoCommon both should work like on Windows, though.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service