jscad-electronics 0.0.216 → 0.0.217
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +4 -1
- package/dist/vanilla.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3616,7 +3616,10 @@ function createHexNutMesh(input, options = {}) {
|
|
|
3616
3616
|
previous = current;
|
|
3617
3617
|
}
|
|
3618
3618
|
const levels = new Set(
|
|
3619
|
-
props.showThreads ? Array.from(
|
|
3619
|
+
props.showThreads ? Array.from(
|
|
3620
|
+
{ length: steps + 1 },
|
|
3621
|
+
(_, i) => i === steps ? d.height : d.height * i / steps
|
|
3622
|
+
) : [0, d.height]
|
|
3620
3623
|
);
|
|
3621
3624
|
levels.add(d.boreChamferDepth);
|
|
3622
3625
|
levels.add(d.height - d.boreChamferDepth);
|