Toroidal SubD, 1 whole loop hard crease, 1 soft crease.
Moving one face result in wrong meshing near the vertex intersection from hard crease and soft crease: sub crease meshing bug.3dm (146.5 KB)
EDIT:
this actually result in an open brep/surface after ToNurbs:
the surface has the same control points structure as if the soft crease didn’t exist.
2
Toroidal SubD, 1 whole loop hard crease.
ToNurbs() output results in a single closed, periodic surface, as expected… but the seam is in a wrong place:
I can reproduce it here, odd thing is if you move one face the problem appears, BUT if you move a second face with the problem shown, then undo it, the problem disappears.
It turns out https://mcneel.myjetbrains.com/youtrack/issue/RH-80676 is not fixed by the recent changes. This is a bug in the code that updates render meshes. The SubD itself is fine - only the mesh used to display it is bad. I’m working on fixing this bug now.
Because it also applies to the brep/surface result of ToNurbs command:
Those control points ^ are of the brep/surface, not the SubD’s …
My guess is it is a problem somewhere before the meshing step.
But it’s just a guess from seeing from outside…
Output ToNurbs brep seems to be correct, but it’s only a “pulled” edge, if you launch _Explode and _RebuildEdges you can see the same defect in the actual surface.
(in the proposed steps to recreate the bug, instead of moving a face, extrude one, so you can easier explode the brep, do rebuildedges, see…)
The root cause of the gaps in ToNurbs and the display mesh were identical. Minutes ago I submitted a fix to our version control system. If the fix passes testing, it will ship in 8.6.
I apologize for the inconvenience. Thank your for taking the time to investigate this bug and provide such a clear reports of the problem.
Feb 29 UPDATE: I’ve tested this bug RH-80676 (and 3 related bugs RH-76871, RH-80633, and a report that has a model we cannot share publicly) in our daily internal release (8.6.24060.6001, 2024-02-29).
This problem and the related problems look like they are all fixed and the fixes will ship in 8.6.