Python RhinoCAM

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-install RhinoCAM using the repair option. I’ve seen this too.

Dan

I know it is an old topic, but i have the same problem with Rhino8 and RhinoCAM2024.
I have installed and repaired it multiple times and it is still not working.
Is there any solution for this problem?

Stefan

I had a case where I had to uninstall RhinoCAM completely, including cleaning out the orphaned MecSoft entries in the registry. Once re-installed, the issue was gone. However, this was not in Rhino 8 so your results may differ. Might be a good one to throw to MecSoft support.

Dan

I tried to use Python2 and it is working with Rhino8. After this i contacted the support and
I`ve got this answer from the Mecsoft support:

We currently work with Python2 and not Python3.
We will be looking to enhancing this in our next v2025 release.

Apologies for jumping in here, but does the RhinoCAM forum work for anyone else? It doesn’t for me.

No it isn`t either working for me…