id command

Syntax

sketch edge id i <keyword ...>

Primary keywords:

control-point    split    group    ratio    ratio-isolate    size    type

Modify a single edge by ID.

control-point keyword
add <local> v2 <v2 ...>

Add one or more control points at locations v2, a 2D coordinate vector (\(x, y\)). If local is used, then the locations are in a coordinate system defined by the edge, where \(x\) goes from end 1 at 0.0 to end 2 at 1.0, and \(y\) is normal to that.

clear

Remove all control points.

move i <local> v2

Move the control point with index i to location v2, a 2D coordinate vector (\(x, y\)). If local is used, then the edge local coordinate system is used (see add above).

remove i <i ...>

Remove one or more control points.

split v2 <keyword>

Split the edge at location v2, a 2D coordinate vector (\(x, y\)). If the keyword block is not provided or the edge belongs to an irregular block, the command splits the edge and deletes the block.

block

Specify that if the edge belongs to a regular block, the split is propagated across all connected regular blocks.

tolerance-merge f

Specify the tolerance f to be used as the tolerance for merging points during splitting.

group s1 <slot s2 > <remove>

Assign the group name s1 in slot s2 (if supplied) to the edge. The edge is removed from the group/slot if remove is present. If the slot keyword is omitted, the slot is set the slot named Default.

ratio f

Set the ratio f (a number between 0.1 and 10.1), which is used to distribute zone lengths along the edge (each zone will be f of the size of the zone preceding it). This setting automatically propagates across dependent edges of regular blocks while Ratio-Isolate is false.

ratio-isolate b

The option only applies to the edges which form regular (3- or 4-sided) blocks.

Set the flag to control ratio propagation. Ratio settings propagate when false (the default). If set true, a ratio assignment on this edge will not propagate to dependent edges.

size i

Set the number of zones on the edge. This will also automatically propagate across dependent edges of regular blocks.

type keyword

Specify the curve type of the edge.

arc
polyline
simple

This is the default type (a line).

curve (represented by a B-spline)