MecSoft Corporation
https://mecsoft.com/phpbb/

Python RhinoCAM
https://mecsoft.com/phpbb/viewtopic.php?f=7&t=3755
Page 1 of 1
Author:  1390232860 [ Thu Apr 07, 2022 12:09 am ]
Post subject:  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

Attachments:
Capture_Python_Editor.jpg
Capture_Python_Editor.jpg (174.48 KiB) Viewed 523 times
Author:  MS1501006386 [ Mon May 16, 2022 12:06 pm ]
Post subject:  Re: Python RhinoCAM

I've seen that too, many times. I usually can fix it by re-installing and selecting repair as the option.

Dan
Author:  1390232860 [ Tue Jun 07, 2022 7:15 am ]
Post subject:  Re: Python RhinoCAM

Hi Dan,

Thank you for your answer! For some reason it only works when I run Rhino as administrator...
Page 1 of 1 All times are UTC - 8 hours [ DST ]