(Bug) SubD Draft Curves wavy


subd_draftCrvs_wavy_00.3dm (5.2 MB)

_draftAngleAnalysis → create draft curves
produces unexpected / less precise results on subD (front)
then on the _toNurbs (G1xx) Polysurfaces. (back)

Nothing that I really depend on - just was playing around for a lecture about mold making - thought it s worth reporting.

kind regards -tom

Hi Tom -

Thanks. I’ve added this sample to RH-69105 DraftAngleAnalysis: Peculiar result on some SubD objects
-wim

thanks for having a look at this.

from the youtrack

yep - the workaround is a _toNurbs (G1xx) to get the DraftCurve.
My guess - the implementation of _draftAngleAnalysis was before the (G1xx) option exists and misses this.
Maybe there should be a global option (preference) for implicit SubD ToNurbs conversion or at least some commands (like _draftAngleAnalysis) should expose it ? this also would be an quite simple fix.

(A) I always wished SubD → ToNurbs could output some deviation values especially for star-points. (which can be somehow achieved manually by extracting a subd-mesh, and then use _pointDeviation). Maybe this should not only include point / distance deviation, but also angular deviation of surface normals.

(B) It would be a great improvement for the draftCurve algorithm to (offer an option) allow a tolerance (distance / angle) for straightening / fairing / smoothing the generated curve.

Bringing both together - then for above problem, the (local?) deviation should consider the deviation of the Subd → toNurbs conversion.

kind regards -tom