- 积分
- 0
- 注册时间
- 2010-4-28
- 仿真币
-
- 最后登录
- 1970-1-1
|
MakeSketchTransform(...)
的用法不理解参数的意思,哪位能给解释一下。以下为例:
t = p.MakeSketchTransform(sketchPlane=f.findAt(coordinates=(69.150002, 20.0,
20.0)), sketchUpEdge=e1.findAt(coordinates=(79.15, 22.5, 20.0)),
sketchPlaneSide=SIDE1, origin=(39.575, 15.0, 20.0))
This method creates a Transform object. A Transform object is a 4x3 matrix of Floats that represents the transformation from sketch coordinates to part coordinates.
Required argument
sketchPlane
A Datum plane object or a planar Face object specifying the sketch plane.
Optional arguments
origin A sequence of Floats specifying the X-, Y-, and Z-coordinates that will be used as the origin of the sketch. The default value is computed as the centroid of the face.
sketchOrientation A SymbolicConstant specifying the orientation of sketchUpEdge on the sketch. Possible values are RIGHT, LEFT, TOP, and BOTTOM. The default value is RIGHT.
|
|