You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plane_normal: The normal vector of the dimension plane.
12
-
distance: The distance vector from the anchor point to the dimension reference point.
13
-
dimension_points: A list of dimension points.
7
+
"""Creates a dimension element to measure distances on 3D parts.
8
+
The dimension is drawn on a plane
9
+
defined by its normal and offset distance. Points added to the dimension are projected
10
+
onto this plane, and dimension segments are automatically created between consecutive points.
11
+
12
+
Parameters:
13
+
xl: The direction vector defining the dimension line axis (the direction of the measurement arrow). Can be aligned with X, Y, Z axes or any 3D direction.
14
+
plane_normal: The normal vector defining the orientation of the dimension plane.
15
+
distance: The offset vector from the dimensioned geometry to where the dimension line is drawn. Can offset in any direction.
16
+
dimension_points: A list of dimension points to measure. At least 2 points are needed for a valid dimension measurement, but the points can be added later using addSegment(). Points are projected onto the dimension plane.
0 commit comments