I am trying to make a script written in Rhino5 to work in Rhino6. I have encountered a problem with the SplitBrep function. I am trying to split a polysurface (Superquadric sphere) using another surface (plane). The two objects clearly intersect, however the function returns None.
Here is the script:
import rhinoscriptsyntax as rs HalfSQ=rs.GetObject('Select Superquadratic') print rs.IsBrep(HalfSQ) CutPlane1=rs.GetObject('Select cutting plane') print rs.IsBrep(CutPlane1) result = rs.SplitBrep(HalfSQ,CutPlane1)
Both print lines return true and the variable result is None at the end of the script. This code worked in Rhino 5. If anyone had a same problem or might have an idea why this does not work please let me know.
If any clarifications are needed please ask, I’m new to the forum.
Thank you for your help