Please add R8's new Subd Crease function to Grasshopper

It is a huge waste that this powerful function only exists in Rhino.

This is made with curve -mesh - subd - brep workflow in GH.
I like to add weighted roundness to the sharp edges, but without the Subd Crease in the grasshopper, it is almost impossible.

Rhino 8 feature: SubD weighted creases (sharp edges) - Serengeti (Rhino BETA) - McNeel Forum

New in Rhino 8 - SubD Crease

For anyone looking for an unofficial fix, hopefully this script helps.

Component code is fairly simple:

public class Script_Instance : GH_ScriptInstance
{
    private void RunScript(
		SubD subd,
		List<int> edge_indices,
		int edge_type,
		ref object a)
    {
        var dup_x = (SubD) subd.Duplicate();
        var tag = (SubDEdgeTag) edge_type;
        dup_x.Edges.SetEdgeTags(edge_indices, tag);
        a = dup_x;
    }
}

ch_subd_component_01.gh (18.4 KB)

A creased edge is simply an unmelted edge but I think the request is for weighted creased edges…

Thank you! The sharp edges in the picture come from the unwelded mesh edges, but that is not what I am looking for. I am looking for R8’s new Subd Crease function in GH, a controllable edge roundness in Subd->Mesh and Subd->Brep workflow.

Ah, I see. Apologies, hopefully something like this is still useful to some degree.

It is a shame Grasshopper’s SubD repertoire is so sparce. Just spitballing here - while the SubD Crease functionality is not exposed in Rhinocommon, it may be possible to spoof it by subdividing the faces along a given edge such that it emulates the weights at certain points, though I’m not sure how difficult this would be to implement. I’ll take a look, could be useful. Regardless, the actual solution would be for McNeel to expose it.

@dale, @pierrec
Please add SubD edge crease to GH1, or at least expose the API to Rhinocommon.

RH-79547 Expose SubDCrease functionality to RhinoCommon
Apparently, this is still on the list for 8.x.

RH-79547 is fixed in Rhino 8 Service Release 36

我等了很久,非常激动能在Grasshopper里看到此功能,非常感谢!