opmoveface
Discussion List
-
Mapping faces from a plane onto another plane
I'm trying to make a function that "wraps" a plane onto a plane or onto a curved surface. It works for curved surfaces : const targetWrap is WrapSurface = makeWrapSurface(context, definition.target); const sketchPlane is Plane = evOwnerSketchPlane(context, { "entity" : definition.faces }); var result is Query = qNothing();…
-
Help needed: opMove doesn't behave as I expect
Hi all, I am experiencing an issue with the `opMoveFace`. The issue is relatively simple. I create a sketch (e.g. a circle) on a plane (let's say the `top` plane). Then, in a feature script, I apply the following operation on the created face (hereafter named `myFace`): opMoveFace(context, id + "moveFace1", { "moveFaces" :…
-
opMoveFace distance & direction?
I'm trying to move a face 1" in the direction of the zAxis of the csys that I created. What I have now moves it 1" from the world origin... How do I do this? opMoveFace(context, id + "moveFace1", { "moveFaces" : faceToMove[5], "transform" : transform(-toWorld(selectedCoordinateSystem, vector(0, 0, 1) * inch)) });