Page 1 of 1

Python RhinoCAM

Posted: Thu Apr 07, 2022 12:09 am
by 1390232860
Hi there,

I would like to start programming in RhinoCAM with Python.

I just tried out a script in the Rhino Python editor that is in the document "RhinoCAM API User doc.pdf"

from mecsofcamapi import *
MecSoftCAM.API.Initialize() # … Some commands
MecSoftCAM.API.Uninitialize()

Unfortunately, I get an error Message: No module named mecsoftcampi (see attachment)



Any solution?

Thank you!
Michael

Re: Python RhinoCAM

Posted: Mon May 16, 2022 12:06 pm
by MS1501006386
I've seen that too, many times. I usually can fix it by re-installing and selecting repair as the option.

Dan

Re: Python RhinoCAM

Posted: Tue Jun 07, 2022 7:15 am
by 1390232860
Hi Dan,

Thank you for your answer! For some reason it only works when I run Rhino as administrator...