verb icon indicating copy to clipboard operation
verb copied to clipboard

loftShape not align to close nurbs curve

Open googincheng opened this issue 11 months ago • 1 comments

Image

curve

const curve = verb.geom.NurbsCurve.byPoints(curvePoints, 1);

surface

const surface = verb.geom.NurbsSurface.byLoftingCurves(
      contourLoftCurves,
      1
    );

tessellate

var tess = surface.tessellate({
      normTol: 2.5e-2,
      minDepth: 0,
      maxDepth: 10,
      refine: false,
      minDivsU: 1,
      minDivsV: 1,
    });

googincheng avatar Jan 23 '25 13:01 googincheng

@googincheng I'm not an expert but NURBS are about curves. Round curves.

If you want some very basic shapes then you should use another library. For example, boxes.

Please provide an example of the point used.

z3dev avatar Apr 23 '25 11:04 z3dev