verb
verb copied to clipboard
loftShape not align to close nurbs curve
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 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.