Picked points in millimeters
64-bitThe picked model points as the surfaces library receives them.
v_mm = round(v × 1000 × 10⁶) ÷ 10⁶
The value handed on is rounded to 1e-6 mm (one nanometer). The multiplication by 1000 and by 10⁶ are each rounded once in 64-bit before Math.round.
pickPoints: () => new Promise((resolve) => {
tools.set('nurbspts', { hint: (n) => t('nurbs.ui.points.hint', { n }), done: (pts) => resolve(pts ? pts.map((p) => p.map((v) => Math.round(v * MM * 1e6) / 1e6)) : null) });