Question about SubDCrease

I wanted to build a control for Eto slider to adjust the value of SubDCrease, but I can’t seem to find a way to do it.

What I want to achieve is similar to the crease edge control with a blender

I tried rs.command(! _SubDCrease _Pause Value _enterend,True), but this won’t work, because rhino closes the selection of subd after executing command and needs to select it again

I tried to find a SubDCrease method in RhinoCommon_API, so far with no results

我被迫停止到了这里

import Rhino as rh
obj_e = rh.Input.RhinoGet.GetMultipleObjects("Select objects to subd_e", True, rh.DocObjects.ObjectType.SubD.MeshEdge)
rh.Geometry.SubDEdge.

@dalelear are soft creases exposed in RhinoCommon?

2 Likes

Not yet: https://mcneel.myjetbrains.com/youtrack/issue/RH-79547/Expose-SubDCrease-functionality-to-RhinoCommon

It’s in progress and will go into 8.x. It needed many changes in the internals of the SubD SDK, which predates the introduction of SubDCrease and really wasn’t setup well for this.

2 Likes

I’ll wait

Thank you

Thank you for your reply in your busy schedule