Skip to content

RECT

RECT, rect_name, b_opt, body_nr, mat_nr, layer_nr, x, y, length, height, orient_ang;

Creates a rectangular primitive for mass bodies or anchors

  • The rectangular primitive is defined by a connecting point, length in x-direction and height in y-direction. The orientation angle can be used to rotate the rectangle around the connecting point.
  • Mass bodies and anchors may be assembled from several primitives with different material reference numbers.

Input Data⚓︎

Parameter Description
rect_name Reference name of the primitive (can be empty)
→ Alphanumeric name, has to start with a letter
b_opt Type of the Boolean operation
add - Add a primitive to the mass body or anchor
sub - Subtract a primitive from a mass body or anchor
body_nr Reference number of related mass body or anchor
→ If 0, the primitive is related to anchors
→ If > 0, the primitive is related to the specified mass body
mat_nr Reference number of the material properties
→ Use existing material properties only (see MATP command)
layer_nr Layer number (the current version supports only one layer)
→ If empty, the primitive is part of the first layer
x X-coordinate of the connecting point for rectangular primitives
y Y-coordinate of the connecting point for rectangular primitives
length Length (x-direction) of the rectangular primitive (can be negative)
height Height (y-direction) of the rectangular primitive (can be negative)
orient_ang Orientation angle in degrees at the connecting point: 0 ≤ orient_ang < 360

Dimensional parameters of a rectangular primitive

Figure 1. Dimensional parameters of a rectangular primitive