Skip to content

Commit ebf29b3

Browse files
committed
fix IWire issue
1 parent b0df06c commit ebf29b3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/interfaces.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,12 @@ export interface OCC {
272272
makeTorus(center: PointLike, vector: VectorLike, mainRadius: Real, smallRadius: Real): ISolid;
273273

274274
// boolean operation
275-
// Wrires
276-
277-
makeLine(point1: PointLike, point2: PointLike): IWire;
278-
makeArc3P(point1: PointLike, point2: PointLike, point3: PointLike): IWire;
279-
makeCircle(center: PointLike, normal: VectorLike, radius: Real): IWire;
280-
makeWire(...args: IWire[]): IWire;
275+
// Edges
276+
makeLine(point1: PointLike, point2: PointLike): IEdge;
277+
makeArc3P(point1: PointLike, point2: PointLike, point3: PointLike): IEdge;
278+
makeCircle(center: PointLike, normal: VectorLike, radius: Real): IEdge;
279+
// Wires
280+
makeWire(...args: (IEdge | IWire)[]): IWire;
281281

282282

283283
// --- TO IMPLEMENT SOMEHOW !!!

0 commit comments

Comments
 (0)