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/vanilla.js CHANGED
@@ -3789,12 +3789,7 @@ function createThreadedRodMesh(input, options = {}) {
3789
3789
  depth,
3790
3790
  Math.max(
3791
3791
  0,
3792
- (threadDistance3(
3793
- z,
3794
- angle,
3795
- d.threadPitch,
3796
- props.threadHand === "right" ? 1 : -1
3797
- ) - 1 / 16) * d.threadPitch * Math.sqrt(3)
3792
+ (threadDistance3(z, angle, d.threadPitch, props.leftHand ? -1 : 1) - 1 / 16) * d.threadPitch * Math.sqrt(3)
3798
3793
  )
3799
3794
  );
3800
3795
  const chamfer = radius - Math.max(0, props.chamfer - Math.min(z, d.length - z));