-
-
Notifications
You must be signed in to change notification settings - Fork 81
Methods
Victofel edited this page Dec 19, 2016
·
27 revisions
###ShapeFactory Module###
-
ShapeFactory.makeBox() Creates a box
-
ShapeFactory.makeCylinder() Creates a cylinder
-
ShapeFactory.makeCone() Creates a cone
-
ShapeFactory.makeSphere() Creates a sphere
-
ShapeFactory.makePrism() Creates a Prism
-
ShapeFactory.makeThickSolid() xx
-
ShapeFactory.makeDraftAngle() xx
-
ShapeFactory.makeFillet() xx
-
ShapeFactory.makeChamfer() xx
-
ShapeFactory.fuse() xx
-
ShapeFactory.cut() xx
-
ShapeFactory.common() xx
-
ShapeFactory.compound() xx
Nan::SetMethod(target,"makePlaneMirror", Transformation::makePlaneMirror);
// edges
Nan::SetMethod(target,"makeLine", Edge::static_createLine);
Nan::SetMethod(target,"makeCircle", Edge::static_createCircle);
Nan::SetMethod(target,"makeArc3P", Edge::static_createArc3P);
//xx Nan::SetMethod(target,"makeEdge", ShapeFactory::makeEdge);
Nan::SetMethod(target,"makeWire", ShapeFactory::makeWire);
Nan::SetMethod(target,"makeFace", ShapeFactory::makeFace);
Nan::SetMethod(target,"writeSTL", writeSTL);
Nan::SetMethod(target,"writeSTEP", writeSTEP);
Nan::SetMethod(target,"writeBREP", writeBREP);
Nan::SetMethod(target,"readSTEP", readSTEP);
Nan::SetMethod(target,"readBREP", readBREP);
// Vertex Nan::SetMethod(target,"makeVertex", ShapeFactory::makeVertex);
//xx Nan::SetMethod(target,"oceVersion",NanNew("0.13"));
target->Set(Nan::New("oceVersion").ToLocalChecked(), Nan::New("0.13").ToLocalChecked());