附加檔是個範例,請參考,或如下
#! UGNX/KF 2.0
DefClass: Ex_FrameExample01(ug_base_part);
(Vector) X: Vector(Cos(45), Sin(45), 0);
(Vector) Y: Perpendicular(X;
(Frame Parameter Modifiable) LocalF: FrameXY(Point(1,1,0), X:, Y;
(Child) Blk01: {
Class, ug_block;
ReferenceFrame, LocalF:;
Origin, Point(0.5,0.5,0);
};
(Child) Blk02: {
Class, ug_block;
ReferenceFrame, LocalF:;
Length, 2; Width, 2; Height, 0.5;
}; |