Skip to content

Cad

Commands of the cad chapter of the database, 8 entries. The status words are defined once, on the compatibility matrix, which says what each rests on and what the script builder does with it. Read it before this page: broken and removed are refusals, so a row here can be telling you the emitter will not write that command for that version.

CAD_BODY_DELETE

Phase geometry, layout inline. Manual: FSM-26.120 p.287.

Deletes one CAD body by its 1-based index; -1 deletes every one of them (FSM-26.120 p.287). The parameter table row for this index is the one written for CAD_BODY_SCALE, describing the body being scaled rather than the body being deleted: a description carried across between neighbouring commands, not a grammar difference.

Argument Specification
body_index int
Version Status Evidence
26.100 documented FSM-26.100 p.281, same grammar as 26.120
26.101 documented FSM-26.101 p.286, same grammar as 26.120
26.120 documented FSM-26.120 p.287
26.121 documented FSM-26.121 p.290, same grammar as 26.120
26.123 documented FSM-26.123 p.291, unchanged from FSM-26.122 p.291
26.124 verified reports/compat/CMP-26124_2026-10-12_gap-probes.yaml; FSM-26.124 p.291, the FSM-26.123 file, carried from 26.123; probed 2026-10-12 (RPT-166)
26.125 verified reports/compat/CMP-26125_2026-10-12_gap-probes.yaml; FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.126 verified reports/compat/CMP-26126_2026-10-30_probe-campaign.yaml; Judged on 26.126 by CMP-26126_2026-10-30_probe-campaign; FSM-26.125 is the reading (the 26.126 package ships an older edition dated 2026-04-24). The 26.125 note: FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.127 verified reports/compat/CMP-26127_2026-10-30_probe-campaign.yaml; FSM-26.127 p.295, unchanged from FSM-26.125 p.296

CAD_BODY_MIRROR

Phase geometry, layout inline. Manual: FSM-26.120 p.287.

Mirrors one CAD body across a plane OF THE REFERENCE COORDINATE SYSTEM, not of a frame the caller chooses: this command takes no frame argument, unlike CAD_BODY_SELECT_BY_THRESHOLD below (FSM-26.120 p.287).

Argument Specification
body_index int
plane enum in
Version Status Evidence
26.100 documented FSM-26.100 p.281, same grammar as 26.120
26.101 documented FSM-26.101 p.286, same grammar as 26.120
26.120 documented FSM-26.120 p.287
26.121 documented FSM-26.121 p.290, same grammar as 26.120
26.123 documented FSM-26.123 p.291, unchanged from FSM-26.122 p.291
26.124 verified reports/compat/CMP-26124_2026-10-12_gap-probes.yaml; FSM-26.124 p.291, the FSM-26.123 file, carried from 26.123; probed 2026-10-12 (RPT-166)
26.125 verified reports/compat/CMP-26125_2026-10-12_gap-probes.yaml; FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.126 verified reports/compat/CMP-26126_2026-10-30_probe-campaign.yaml; Judged on 26.126 by CMP-26126_2026-10-30_probe-campaign; FSM-26.125 is the reading (the 26.126 package ships an older edition dated 2026-04-24). The 26.125 note: FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.127 verified reports/compat/CMP-26127_2026-10-30_probe-campaign.yaml; FSM-26.127 p.295, unchanged from FSM-26.125 p.296

CAD_BODY_ROTATE

Phase geometry, layout inline. Manual: FSM-26.120 p.287.

Rotates one CAD body about an axis of the reference coordinate system. The angle is in DEGREES, which the manual states and which is worth carrying because the solver's own motion definitions take degrees too while the far-field and probe layers of this package work in radians. AXIS takes the axis INDEX as well as the letter. The parameter table names only X, Y or Z, in every edition, and the sample printed beneath that same table passes 2, also in every edition, so the stated value set refused the manual's own call. Two tables in this chapter state the dual form outright (SET_MOTION_ROTOR_AXIS at FSM-26.120 p.333, ROTATE_COORDINATE_SYSTEM at p.330), which makes the index the product's convention and this table incomplete rather than the sample a typo. Which letter each index denotes is written nowhere: 1, 2, 3 in frame order is the only sensible reading and it is unverified, so a script that means the Y axis is clearer written Y. Either the string "2" or the integer 2 is accepted for a listed digit; both emit the token 2.

Argument Specification
body_index int
axis enum in
angle float [deg]
Version Status Evidence
26.100 documented FSM-26.100 p.281, same grammar as 26.120
26.101 documented FSM-26.101 p.286, same grammar as 26.120
26.120 documented FSM-26.120 p.287
26.121 documented FSM-26.121 p.290, same grammar as 26.120
26.123 documented FSM-26.123 p.291, unchanged from FSM-26.122 p.291
26.124 documented FSM-26.124 p.291, the FSM-26.123 file, carried from 26.123; not run on 26.124
26.125 documented FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.126 documented Carried from 26.125: FSM-26.125 is the newest 26.12 edition (the 26.126 package ships an older edition dated 2026-04-24); no run on 26.126 yet. FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.127 documented FSM-26.127 p.295, unchanged from FSM-26.125 p.296

CAD_BODY_SCALE

Phase geometry, layout inline. Manual: FSM-26.120 p.287.

Uniform scale factor, dimensionless and greater than zero (FSM-26.120 p.287). It scales the BODY, so a body scaled after its cross-sections were read carries no relation to them.

Argument Specification
body_index int
scale float
Version Status Evidence
26.100 documented FSM-26.100 p.281, same grammar as 26.120
26.101 documented FSM-26.101 p.286, same grammar as 26.120
26.120 documented FSM-26.120 p.287
26.121 documented FSM-26.121 p.290, same grammar as 26.120
26.123 documented FSM-26.123 p.291, unchanged from FSM-26.122 p.291
26.124 verified reports/compat/CMP-26124_2026-10-12_gap-probes.yaml; FSM-26.124 p.291, the FSM-26.123 file, carried from 26.123; probed 2026-10-12 (RPT-166)
26.125 verified reports/compat/CMP-26125_2026-10-12_gap-probes.yaml; FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.126 verified reports/compat/CMP-26126_2026-10-30_probe-campaign.yaml; Judged on 26.126 by CMP-26126_2026-10-30_probe-campaign; FSM-26.125 is the reading (the 26.126 package ships an older edition dated 2026-04-24). The 26.125 note: FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.127 verified reports/compat/CMP-26127_2026-10-30_probe-campaign.yaml; FSM-26.127 p.295, unchanged from FSM-26.125 p.296

CAD_BODY_SELECT_BY_THRESHOLD

Phase geometry, layout inline. Manual: FSM-26.120 p.288.

Selects or deletes the CAD faces on one side of a coordinate threshold. FRAME is the 1-based index of the coordinate system the threshold is measured in, 1 being the reference frame. The threshold value is in that frame's own length units, which the command does not state and this database therefore does not either (FSM-26.120 p.288). FRAME can name the reference frame or an existing local frame declared to the script, for example with declare_existing(frames=2). This command is phase geometry and CREATE_NEW_COORDINATE_SYSTEM is phase setup, so creating a new local frame first would prevent a later geometry command. Declaring an existing frame does not create one in the solver.

Argument Specification
frame int
parameter enum in
value float
logic enum in
action enum in
Version Status Evidence
26.100 documented FSM-26.100 p.282, same grammar as 26.120
26.101 documented FSM-26.101 p.287, same grammar as 26.120
26.120 documented FSM-26.120 p.288
26.121 documented FSM-26.121 p.291, same grammar as 26.120
26.123 documented FSM-26.123 p.292, unchanged from FSM-26.122 p.292
26.124 verified reports/compat/CMP-26124_2026-10-12_gap-probes.yaml; FSM-26.124 p.292, the FSM-26.123 file, carried from 26.123; probed 2026-10-12 (RPT-166)
26.125 verified reports/compat/CMP-26125_2026-10-12_gap-probes.yaml; FSM-26.125 p.297, unchanged from FSM-26.124 p.292
26.126 verified reports/compat/CMP-26126_2026-10-30_probe-campaign.yaml; Judged on 26.126 by CMP-26126_2026-10-30_probe-campaign; FSM-26.125 is the reading (the 26.126 package ships an older edition dated 2026-04-24). The 26.125 note: FSM-26.125 p.297, unchanged from FSM-26.124 p.292
26.127 verified reports/compat/CMP-26127_2026-10-30_probe-campaign.yaml; FSM-26.127 p.296, unchanged from FSM-26.125 p.297

CAD_BODY_TRANSLATE

Phase geometry, layout inline. Manual: FSM-26.120 p.287.

Translation vector in the reference coordinate system, with its own UNITS argument rather than the simulation length units: this command states the units of its three components and does not inherit them (FSM-26.120 p.287). The three components carry no unit field here because the unit is the fifth argument rather than a fact about the command.

Argument Specification
body_index int
x float
y float
z float
units enum in
Version Status Evidence
26.100 documented FSM-26.100 p.281, same grammar as 26.120
26.101 documented FSM-26.101 p.286, same grammar as 26.120
26.120 documented FSM-26.120 p.287
26.121 documented FSM-26.121 p.290, same grammar as 26.120
26.123 documented FSM-26.123 p.291, unchanged from FSM-26.122 p.291
26.124 verified reports/compat/CMP-26124_2026-10-12_gap-probes.yaml; FSM-26.124 p.291, the FSM-26.123 file, carried from 26.123; probed 2026-10-12 (RPT-166)
26.125 verified reports/compat/CMP-26125_2026-10-12_gap-probes.yaml; FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.126 verified reports/compat/CMP-26126_2026-10-30_probe-campaign.yaml; Judged on 26.126 by CMP-26126_2026-10-30_probe-campaign; FSM-26.125 is the reading (the 26.126 package ships an older edition dated 2026-04-24). The 26.125 note: FSM-26.125 p.296, unchanged from FSM-26.124 p.291
26.127 verified reports/compat/CMP-26127_2026-10-30_probe-campaign.yaml; FSM-26.127 p.295, unchanged from FSM-26.125 p.296

CONVERT_CAD_TO_MESH

Phase geometry, layout inline. Manual: FSM-26.120 p.286.

Transfers a CAD body into the simulation's mesh, which is the step that makes an imported CAD file something the solver acts on, and the point at which mesh boundary indices come into existence. -1 transfers every body, which the sample passes. It is a CAD body index, an object the script builder does not track, so the -1 is in this note rather than declared as a sentinel.

Argument Specification
body_index int
Version Status Evidence
25.000 documented FSM-25.000 p.260, same grammar as 26.120
25.100 documented FSM-25.100 p.279, same grammar as 26.120
26.000 documented FSM-26.000 p.278, same grammar as 26.120
26.100 documented FSM-26.100 p.280, same grammar as 26.120
26.101 documented FSM-26.101 p.285, same grammar as 26.120
26.120 documented FSM-26.120 p.286
26.121 documented FSM-26.121 p.289, same grammar as 26.120
26.123 documented FSM-26.123 p.290, unchanged from FSM-26.122 p.290
26.124 documented FSM-26.124 p.290, the FSM-26.123 file, carried from 26.123; not run on 26.124
26.125 documented FSM-26.125 p.295, unchanged from FSM-26.124 p.290
26.126 documented Carried from 26.125: FSM-26.125 is the newest 26.12 edition (the 26.126 package ships an older edition dated 2026-04-24); no run on 26.126 yet. FSM-26.125 p.295, unchanged from FSM-26.124 p.290
26.127 documented FSM-26.127 p.294, unchanged from FSM-26.125 p.295

IMPORT_CAD

Phase geometry, layout mixed_inline. Manual: FSM-26.120 p.286.

Imports a CAD file, the path on the line after the inline arguments. The result is a CAD body, not a mesh: CONVERT_CAD_TO_MESH is what puts it where the solver can see it. NUM_CURVATURE IS A COUNT AROUND A CIRCLE AND NOT A LENGTH. The manual defines it as the number of tessellation subdivisions around a full circle, default 80, so it refines curved faces and does nothing to flat ones. It is the argument that decides whether an imported fillet is a polygon. The manual gives all three defaults, MEDIUM, TRUE and 80, and all three are required here: no edition prints a call omitting any of them, so a shorter form would be inferred rather than read. Older editions use the per-version line layouts and arguments recorded above. Each row cites its own edition; later builds retain their existing grammar. These readings are documented, not solver measurements.

Argument Specification
tessellation_density enum in
unreferenced_patches enum in
num_curvature int
file path

Arguments for 25.000

Argument Specification
file path

Arguments for 25.100

Argument Specification
file path

Arguments for 26.000

Argument Specification
file path
Version Status Evidence
25.000 documented FSM-25.000 p.260, edition-specific line layout and arguments
25.100 documented FSM-25.100 p.279, edition-specific line layout and arguments
26.000 documented FSM-26.000 p.278, edition-specific line layout and arguments
26.100 documented FSM-26.100 p.280, same grammar as 26.120
26.101 documented FSM-26.101 p.285, same grammar as 26.120
26.120 documented FSM-26.120 p.286
26.121 documented FSM-26.121 p.289, same grammar as 26.120
26.123 documented FSM-26.123 p.290, unchanged from FSM-26.122 p.290
26.124 documented FSM-26.124 p.290, the FSM-26.123 file, carried from 26.123; not run on 26.124
26.125 documented FSM-26.125 p.295, unchanged from FSM-26.124 p.290
26.126 documented Carried from 26.125: FSM-26.125 is the newest 26.12 edition (the 26.126 package ships an older edition dated 2026-04-24); no run on 26.126 yet. FSM-26.125 p.295, unchanged from FSM-26.124 p.290
26.127 documented FSM-26.127 p.294, unchanged from FSM-26.125 p.295