building-blocks block snapon id
command
Syntax
- building-blocks block snapon id i set s keyword <control-point b > <range>
-
Snap a block to a geometric set. Points are translated on blocks that are in the specified <
range
>, if supplied. If not, all points are translated.A translation vector is defined from the point with id i in the current building blocks set to the target point on a geometric set s.
The target point on a geometric set is specified by keyword. The <control-point b> option for the edges with control points indicates whether control-points on an edge should move if only one of the points of that edge is moved. For the faces with control points the option indicates where control-points of a face should move if not all of the face points are moved. The default is true.
- edge id i <f >
The target point is on the edge in the geometric set with id i. The exact location on the edge is defined by float number parameter f. If f = 0.0 the target point is the first (start) point of the edge, if f = 1.0 the target point is the second (end) point of the edge. The default value is f = 0.5 (center of the edge).
- polygon id i <(f1, f2 )>
The target point is on the polygon in the geometric set with id i. The exact point on the polygon is defined by two local coordinates (f1, f2) defined in such a way that (0.0,0.0) corresponds to centroid of the polygon. By default (f1, f2) is always set initially to correspond to the centroid of the polygon.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 19, 2024 |