TriRemesh ScriptEditor Python Example

Putting a fix for this for 8.18 to support the 4 ways of accessing node in code components. The NodeInCodeFunctions.TriRemesh is now a special case just for Kangaroo2 to fix the regression.

from Rhino.NodeInCode import Components
Components.NodeInCodeFunctions.Kangaroo2Component_TriRemesh (mesh, None, None, None, 1, 25)
Components.NodeInCodeFunctions.TriRemesh(mesh, None, None, None, 1, 25)

import ghpythonlib.components as ghcomp
ghcomp.Kangaroo2Component.TriRemesh(mesh, None, None, None, 1, 25)
ghcomp.TriRemesh(mesh, None, None, None, 1, 25)

IromPython

Python 3 (Cases using NodeInCodeFunctions directly are awaiting fix for RH-85966)

3 Likes

Thank you!

1 Like

RH-85999 is fixed in Rhino 8 Service Release 18 Release Candidate

1 Like

Hooray!

1 Like