Python module for octane 2020

Forums: Python module for octane 2020
Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Python module for octane 2020

Postby gustojunk » Tue May 12, 2020 3:01 pm

gustojunk Tue May 12, 2020 3:01 pm
Hi, I'm trying to explore the python module.

Web instruction says that it should be found at "C:\Program Files\Common Files\McNeel\Rhinoceros\6.0\Plug-ins\OctaneRenderForRhino ([plugin id])\octane.py", but this is not the case.https://docs.otoy.com/RhinoH/RhinoPluginManual.htm#Rhinoceros/PythonInterface.htm

What am I missing? Is python module not available for octane 2020?

thanks
gustojunk
Licensed Customer
Licensed Customer
 
Posts: 22
Joined: Wed Jul 27, 2016 6:44 pm

Re: Python module for octane 2020

Postby face_off » Wed May 13, 2020 12:39 am

face_off Wed May 13, 2020 12:39 am
I was omitted from the Studio and Enterprise installers. Which of those Octane licenses do you have please, and I will post the files for you.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15481
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Python module for octane 2020

Postby gustojunk » Wed May 13, 2020 4:15 pm

gustojunk Wed May 13, 2020 4:15 pm
Great!

this is "enterprise" license... If you need my mail, I would prefer to send it to you in a private message, if possible.

Thanks
gustojunk
Licensed Customer
Licensed Customer
 
Posts: 22
Joined: Wed Jul 27, 2016 6:44 pm

Re: Python module for octane 2020

Postby face_off » Thu May 14, 2020 4:04 am

face_off Thu May 14, 2020 4:04 am
Hi - you should be able to unzip the two files from the attached zip file into your C:\Program Files\Common Files\McNeel\Rhinoceros\6.0\Plug-ins\OctaneRenderForRhino ([plugin id]) folder to get the python wrapper working.

Thanks

Paul
Attachments
PythonWrapper2020Enterprise.zip
(66.14 KiB) Downloaded 178 times
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15481
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Python module for octane 2020

Postby gustojunk » Thu May 14, 2020 1:34 pm

gustojunk Thu May 14, 2020 1:34 pm
Thanks. I'm having issues with the module...

Annotation 2020-05-14 153125.png


watching inside module file I found this suspicious...

Annotation 2020-05-14 153054.png
gustojunk
Licensed Customer
Licensed Customer
 
Posts: 22
Joined: Wed Jul 27, 2016 6:44 pm

Re: Python module for octane 2020

Postby gustojunk » Thu May 14, 2020 1:40 pm

gustojunk Thu May 14, 2020 1:40 pm
In fact, commenting out line number 271 in python module file, issue is gone.
Seems that NT_CAM_CUSTOM variable has not been properly declared...

is this a bug?
gustojunk
Licensed Customer
Licensed Customer
 
Posts: 22
Joined: Wed Jul 27, 2016 6:44 pm

Re: Python module for octane 2020

Postby face_off » Thu May 14, 2020 10:52 pm

face_off Thu May 14, 2020 10:52 pm
My apologies, that was my error. If you rem out that line, it should work.

Code: Select all
#NT_CAM_CUSTOM                       : ["NT_CAM_CUSTOM",         "NT_CAM_CUSTOM",    "NT_CAM_CUSTOM"],           # 97


Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15481
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Return to Rhinoceros 3D


Who is online

Users browsing this forum: No registered users and 15 guests

Thu Apr 25, 2024 2:24 am [ UTC ]