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/vanilla.js
CHANGED
|
@@ -2838,7 +2838,10 @@ function createHexNutMesh(input, options = {}) {
|
|
|
2838
2838
|
previous = current;
|
|
2839
2839
|
}
|
|
2840
2840
|
const levels = new Set(
|
|
2841
|
-
props.showThreads ? Array.from(
|
|
2841
|
+
props.showThreads ? Array.from(
|
|
2842
|
+
{ length: steps + 1 },
|
|
2843
|
+
(_, i) => i === steps ? d.height : d.height * i / steps
|
|
2844
|
+
) : [0, d.height]
|
|
2842
2845
|
);
|
|
2843
2846
|
levels.add(d.boreChamferDepth);
|
|
2844
2847
|
levels.add(d.height - d.boreChamferDepth);
|