-
PD :
object-
- .Path
- new PD.CAD.Path([point])
- .asWire([reverse]) ⇒
oc.TopoDS_Wire - .asFace([reverse]) ⇒
oc.TopoDS_Face - .moveTo(point) ⇒
Path - .lineTo(point) ⇒
Path - .arcTo(through, point) ⇒
Path - .bezierTo(controlPoints) ⇒
Path - .bsplineTo(controlPoints) ⇒
Path - .fillet(radius) ⇒
Path - .addWire(wire) ⇒
Path - .addCircle(center, radius, [reversed]) ⇒
Path - .end([close], [reverse]) ⇒
Path - .close([reverse]) ⇒
Path
- .model :
Array.<oc.TopoDS_Shape>|Array.<Shape> - .useCache :
boolean - .font :
object|null - .isCancelled :
boolean - .logLevel :
number - .processLog :
Array.<LogEntry> - .checkCache(caller, args, generatorFn) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .clearCache()
- .add(…shapes)
- .remove(…shapes)
- .addWire(points, [closed]) ⇒
oc.TopoDS_Wire - .addWires(contours) ⇒
Array.<oc.TopoDS_Wire> - .addCircle(radius, [outline]) ⇒
oc.TopoDS_Face|oc.TopoDS_Wire - .addPolygon(points, [outline]) ⇒
oc.TopoDS_Face|Array.<oc.TopoDS_Wire> - .addBox(width, depth, height, [centered]) ⇒
oc.TopoDS_Shape - .addBoxByMinMax(min, min) ⇒
oc.TopoDS_Shape - .addWedge(width, depth, height, [taperHeight], [taperWidth]) ⇒
oc.TopoDS_Shape - .addPyramid(width, depth, height, [truncate]) ⇒
oc.TopoDS_Shape - .addDome(radius) ⇒
oc.TopoDS_Shape - .addSphere(radius) ⇒
oc.TopoDS_Shape - .addCylinder(radius, height, [centered]) ⇒
oc.TopoDS_Shape - .addCapsule(radius, height, [endRadius]) ⇒
oc.TopoDS_Shape - .addCone(radiusBot, radiusTop, height, [centered]) ⇒
oc.TopoDS_Shape - .addTorus(radiusRing, radiusPipe) ⇒
oc.TopoDS_Shape - .addPrism(radius, sides, height) ⇒
oc.TopoDS_Shape - .addHull(shapes, [tolerance], [makeCopy]) ⇒
oc.TopoDS_Shape - .addHullChain(shapes, [tolerance], [makeCopy]) ⇒
oc.TopoDS_Shape - .addIndexedShell(points, faces, [tolerance]) ⇒
oc.TopoDS_Shape - .addFacetedShell(facets, [tolerance]) ⇒
oc.TopoDS_Shape - .addShell(shape, [tolerance]) ⇒
oc.TopoDS_Solid - .addSolid(shape, [tolerance]) ⇒
oc.TopoDS_Solid - .addPolyhedron(poly, [tolerance]) ⇒
oc.TopoDS_Shape - .addText(text, [size], [height]) ⇒
oc.TopoDS_Shape|oc.TopoDS_Solid - .addFillet(shape, radius, [edges], [makeCopy]) ⇒
oc.TopoDS_Shape|oc.TopoDS_Solid - .addChamfer(shape, distance, edges, [makeCopy]) ⇒
oc.TopoDS_Shape|oc.TopoDS_Solid - .translate(shapes, offset, [makeCopy]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .move(shapes, offset, [makeCopy]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .rotate(shapes, axis, degrees, [makeCopy]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .rotateX(shapes, degrees, [makeCopy]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .rotateY(shapes, degrees, [makeCopy]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .rotateZ(shapes, degrees, [makeCopy]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .mirror(shapes, axis, [makeCopy]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .scale(shapes, scale, [makeCopy]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .combine(shapes, [makeCopy]) ⇒
oc.TopoDS_Shape - .union(shapes, [makeCopy], [tolerance], [keepEdges]) ⇒
oc.TopoDS_Shape - .subtract(mainBody, shapesToSubtract, [makeCopy], [tolerance], [keepEdges]) ⇒
oc.TopoDS_Shape - .intersect(shapes, [makeCopy], [tolerance], [keepEdges]) ⇒
oc.TopoDS_Shape - .extrude(face, vector, [makeCopy]) ⇒
oc.TopoDS_Shape - .offset(shape, distance, [tolerance], [makeCopy]) ⇒
oc.TopoDS_Shape - .revolve(shape, degrees, [axis], [about], [makeCopy]) ⇒
oc.TopoDS_Shape - .extrudeAndRotate(wire, height, degrees, [makeCopy]) ⇒
oc.TopoDS_Shape - .loft(wires, [makeCopy]) ⇒
oc.TopoDS_Shape - .sweep(shape, path, [makeCopy]) ⇒
oc.TopoDS_Shape - .hollow(shape, faces, thickness, [tolerance], [makeCopy]) ⇒
oc.TopoDS_Shape - .duplicate(shapes, offset, [copies]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .distribute(shapes, spacing, [columns]) ⇒
oc.TopoDS_Shape|Array.<oc.TopoDS_Shape> - .removeInternalEdges(shape, [makeCopy]) ⇒
oc.TopoDS_Shape - .getSolid(shape, [index], [makeCopy]) ⇒
oc.TopoDS_Shape|oc.TopoDS_Solid - .getFace(shape, [index], [makeCopy]) ⇒
oc.TopoDS_Shape|oc.TopoDS_Face - .getWire(shape, [index], [makeCopy]) ⇒
oc.TopoDS_Shape|oc.TopoDS_Wire - .evaluateCode(payload, code, json) ⇒
Array|null - .getShapeGeometry(payload, maxDeviation) ⇒
Array|null - .importSTEPorIGES(filename, content) ⇒
oc.TopoDS_Shape|null - .importSTL(filename, content) ⇒
oc.TopoDS_Shape|null - .saveShapeSTEP([filename]) ⇒
object|null - .setCancelToken([token])
- .checkCancelToken()
- .cancelOperation(state)
- .setLogLevel(level)
- .addLogEntry(level, message) ⇒
LogEntry - .progressOperation(level, [operation])
- .progressMessage(level, [message])
- .progress([operation])
- .log(message)
- .error(message)
- .Path
-
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
PD : object .CAD .Path new PD.CAD.Path([point]) .asWire([reverse]) ⇒ oc.TopoDS_Wire .asFace([reverse]) ⇒ oc.TopoDS_Face .moveTo(point) ⇒ Path .lineTo(point) ⇒ Path .arcTo(through, point) ⇒ Path .bezierTo(controlPoints) ⇒ Path .bsplineTo(controlPoints) ⇒ Path .fillet(radius) ⇒ Path .addWire(wire) ⇒ Path .addCircle(center, radius, [reversed]) ⇒ Path .end([close], [reverse]) ⇒ Path .close([reverse])…

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.