Skip to content

Commit

Permalink
Fix helix
Browse files Browse the repository at this point in the history
  • Loading branch information
sgenoud committed Feb 21, 2025
1 parent 735b004 commit 19e7e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/replicad/src/shapeHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const makeHelix = (
center: Point = [0, 0, 0],
dir: Point = [0, 0, 1],
lefthand = false
): Edge => {
): Wire => {
const oc = getOC();
const [r, gc] = localGC();
let myDir = 2 * Math.PI;
Expand Down Expand Up @@ -119,7 +119,7 @@ export const makeHelix = (

gc();

return new Edge(w);
return new Wire(w);
};

export const makeThreePointArc = (v1: Point, v2: Point, v3: Point): Edge => {
Expand Down

0 comments on commit 19e7e45

Please sign in to comment.