jscad-electronics 0.0.213 → 0.0.215
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 +1 -6
- package/dist/index.js.map +1 -1
- package/dist/vanilla.js +1 -6
- package/dist/vanilla.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4608,12 +4608,7 @@ function createThreadedRodMesh(input, options = {}) {
|
|
|
4608
4608
|
depth,
|
|
4609
4609
|
Math.max(
|
|
4610
4610
|
0,
|
|
4611
|
-
(threadDistance3(
|
|
4612
|
-
z,
|
|
4613
|
-
angle,
|
|
4614
|
-
d.threadPitch,
|
|
4615
|
-
props.threadHand === "right" ? 1 : -1
|
|
4616
|
-
) - 1 / 16) * d.threadPitch * Math.sqrt(3)
|
|
4611
|
+
(threadDistance3(z, angle, d.threadPitch, props.leftHand ? -1 : 1) - 1 / 16) * d.threadPitch * Math.sqrt(3)
|
|
4617
4612
|
)
|
|
4618
4613
|
);
|
|
4619
4614
|
const chamfer = radius - Math.max(0, props.chamfer - Math.min(z, d.length - z));
|