*SetPoint() - asymmetric point pair
Sets the coordinates for an asymmetric point pair.
Syntax
*SetPoint(point_name, , x_l, y_l, z_l, x_r, y_r, z_r)
Arguments
- point_name
- The variable name of an existing point pair.
- x_l, y_l, z_l
- Coordinates of the left point.
- x_r, y_r, z_r
- Coordinates of the right point.
Example
*PointPair(p_axle_shaft_cg, "Axle shaft CG")
*PointPair(p_cv, "CV joint")
*SetPoint(p_cv, ,
(p_axle_diff.l.x+p_wc.l.x)/2,
(p_axle_diff.l.y+p_wc.l.y)/2,
(p_axle_diff.l.z+p_wc.l.z)/2,
(p_axle_diff.r.x+p_wc.r.x)/2,
(p_axle_diff.r.y+p_wc.r.y)/2,
(p_axle_diff.r.z+p_wc.r.z)/2)
*SetPoint(p_axle_shaft_cg, ,
(p_axle_diff.l.x+p_cv.l.x)/2,
(p_axle_diff.l.y+p_cv.l.y)/2,
(p_axle_diff.l.z+p_cv.l.z)/2,
(p_axle_diff.r.x+p_cv.r.x)/2,
(p_axle_diff.r.y+p_cv.r.y)/2,
(p_axle_diff.r.z+p_cv.r.z)/2)
Context
Comments
The second argument, which is used for specifying symmetry, is empty when assigning asymmetric coordinates to a point pair.