building-blocks face snapon id command

Syntax

building-blocks face snapon id i set s keyword <control-point b > <range>

Primary keywords:

edge    point    polygon

Snap a face to a geometric set. Points are translated on faces 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).

point id i

The target point is the point with id i of the geometric set.

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.