Design commands
design_propose_edit runs one of these commands: give its id as command and its fields as values, one per field id. A pick field takes the item's reference text or Outline id as its value, for example {"command": "part.sketch", "values": {"plane": "origin.xy"}}. A command that runs on existing items also takes them in selection (feature:boss, component:R1). Numbers are in the unit shown. A field marked when applies only while another field has that value.
Plane picks take an origin plane (origin.xy, origin.yz, origin.zx), a datum plane (plane.<name>) or a planar face (feature.body.face.end). Writing the file's text with replace or text works for any change; see design/mcad/part/features.md and design/ecad/circuit for the syntax.
This file is generated from the command catalog.
assembly. commands (.assembly)
assembly.bom: Show the bill of materials: top level, indented or parts only.- Required:
type(one oftop,indented,parts, defaulttop)
- Required:
assembly.clearance: Find components closer than a clearance.- Required:
minimum(number in mm, default 2) - Optional:
components(picks: component)
- Required:
assembly.component-configuration: Use another configuration of the component's file.- Required:
configuration(text) - Runs on the
selection:occurrence
- Required:
assembly.delete: Delete components or mates.- Runs on the
selection:occurrence,mate
- Runs on the
assembly.edit-mate: Change the mate's type, distance, angle, limits or alignment.- Required:
type(one offasten,revolute,slider,cylindrical,planar,ball,parallel,distance,angle,tangent,pin_slot,gear,rack_pinion,screw,cam,width,symmetric,path,linear_coupler,hinge,universal_joint, defaultfasten);offset(number in mm, default 0) whentypeis distance;angle(number in deg, default 0) whentypeis angle;min(number in deg, default -30) whenangle_limitsis true;max(number in deg, default 45) whenangle_limitsis true;near(number in mm, default 0) whendistance_limitsis true;far(number in mm, default 10) whendistance_limitsis true;ratio(number, default 1) whentypeis gear or linear_coupler;pitch(number in mm, default 1) whentypeis screw or rack_pinion;radius(number in mm, default 5) whentypeis tangent;profile(text) whentypeis cam - Optional:
angle_limits(true or false, default false) whentypeis revolute or cylindrical or hinge;distance_limits(true or false, default false) whentypeis slider or cylindrical;flip(true or false, default false);first2(pick: mate connector or face or edge or vertex or plane or axis or point or component) whentypeis width;second2(pick: mate connector or face or edge or vertex or plane or axis or point or component) whentypeis width;plane(pick: mate connector or face or edge or vertex or plane or axis or point or component) whentypeis symmetric;path(picks: edge) whentypeis path;joint_point(true or false, default true) whentypeis universal_joint - Runs on the
selection:mate
- Required:
assembly.export: Export as a STEP assembly, glTF or USD.- Required:
format(one ofstep,gltf,usd, defaultstep) - Optional:
hidden(true or false, default false)
- Required:
assembly.fix: Fix a component in place, or let mates move it.- Required:
components(picks: component);state(one offixed,float, defaultfixed) - Runs on the
selection:occurrence
- Required:
assembly.flip-mate: Flip the mate's alignment.- Runs on the
selection:mate
- Runs on the
assembly.insert: Insert a part, assembly or circuit board from the project.- Required:
source(one ofpart,assembly,circuit, defaultpart);file(text);quantity(whole number, default 1);x(number in mm, default 0);y(number in mm, default 0);z(number in mm, default 0) - Optional:
configuration(text);fix(true or false, default false)
- Required:
assembly.interference: Find components that overlap.- Optional:
components(picks: component);fasteners(true or false, default false)
- Optional:
assembly.mass-properties: Mass, center of mass and inertia of the assembly.- Optional:
components(picks: component)
- Optional:
assembly.mate: Constrain two components: standard, advanced and mechanical mates, with limits.- Required:
type(one ofcoincident,concentric,distance,angle,parallel,perpendicular,tangent,fasten,revolute,slider,cylindrical,planar,ball,pin_slot,gear,rack_pinion,screw,cam,width,symmetric,path,linear_coupler,hinge,universal_joint, defaultcoincident);first(pick: mate connector or face or edge or vertex or plane or axis or point or component);second(pick: mate connector or face or edge or vertex or plane or axis or point or component);offset(number in mm, default 0) whentypeis distance;angle(number in deg, default 0) whentypeis angle;min(number in deg, default -30) whenangle_limitsis true;max(number in deg, default 45) whenangle_limitsis true;near(number in mm, default 0) whendistance_limitsis true;far(number in mm, default 10) whendistance_limitsis true;ratio(number, default 1) whentypeis gear or linear_coupler;pitch(number in mm, default 1) whentypeis screw or rack_pinion;first2(pick: mate connector or face or edge or vertex or plane or axis or point or component) whentypeis width;second2(pick: mate connector or face or edge or vertex or plane or axis or point or component) whentypeis width;plane(pick: mate connector or face or edge or vertex or plane or axis or point or component) whentypeis symmetric;profile(text) whentypeis cam;path(picks: edge) whentypeis path - Optional:
flip(true or false, default false);angle_limits(true or false, default false) whentypeis revolute or cylindrical or hinge;distance_limits(true or false, default false) whentypeis slider or cylindrical;joint_point(true or false, default true) whentypeis universal_joint - Runs on the
selection:occurrence
- Required:
assembly.mirror: Mirror components about a plane, as copies or as an opposite-hand part.- Required:
plane(pick: plane or face);components(picks: component);result(one ofcopy,opposite, defaultcopy);opposite(text) whenresultis opposite
- Required:
assembly.move: Move components by dragging, with a triad or by aligning.- Required:
mode(one ofdrag,triad,align, defaultdrag);components(picks: component);dx(number in mm, default 0) whenmodeis triad;dy(number in mm, default 0) whenmodeis triad;dz(number in mm, default 0) whenmodeis triad;rx(number in deg, default 0) whenmodeis triad;ry(number in deg, default 0) whenmodeis triad;rz(number in deg, default 0) whenmodeis triad;along(pick: edge or axis or face) whenmodeis align - Optional:
collisions(true or false, default false)
- Required:
assembly.new-part: Create a part inside the assembly, referencing its neighbors.- Required:
name(text) - Optional:
plane(pick: plane or face)
- Required:
assembly.pack-and-share: Collect the assembly and every file it references.- Required:
folder(text)
- Required:
assembly.pattern: Repeat components in a line, a circle, or by a part's feature pattern.- Required:
layout(one oflinear,circular,feature, defaultlinear);components(picks: component);direction(pick: edge or axis or face) whenlayoutis linear or circular;spacing(number in mm, default 20) whenlayoutis linear;angle(number in deg, default 360) whenlayoutis circular;instances(whole number, default 3) whenlayoutis linear or circular;feature(pick: feature) whenlayoutis feature - Runs on the
selection:occurrence
- Required:
assembly.replace: Replace components with another file; mates follow where they can.- Required:
components(picks: component);with(text) - Optional:
remate(true or false, default true) - Runs on the
selection:occurrence
- Required:
assembly.smart-mate: Drag a component onto another and accept the suggested mate.- Required:
component(pick: component);target(pick: mate connector or face or edge or vertex or plane or axis or point or component)
- Required:
assembly.subassembly: Form a subassembly from components, dissolve one, or make it flexible or rigid.- Required:
action(one ofform,dissolve,flexible,rigid, defaultform);components(picks: component);name(text) whenactionis form - Runs on the
selection:occurrence
- Required:
assembly.suppress: Leave components out of this configuration.- Runs on the
selection:occurrence,mate
- Runs on the
assembly.where-used: List where a component's file is used.- Runs on the
selection:occurrence
- Runs on the
board. commands (.circuit, .circuit.layout)
board.autoroute: Route the unrouted connections of the picked nets, or of every net not on a plane.- Required:
width(number in mm, default 0.2);via(text) - Optional:
nets(picks: net);layers(text)
- Required:
board.capability: Load a board-house capability set: the fabrication limits every design rule falls back to.- Required:
capability(one ofstandard,advanced,hdi, defaultstandard)
- Required:
board.copy-room-formats: Copy one channel room's placement and routing into the other channels' rooms.- Required:
source(pick: room) - Optional:
targets(picks: room);placement(true or false, default true);routing(true or false, default true);pours(true or false, default true);room_shape(true or false, default true);rotate(true or false, default false) - Runs on the
selection:room
- Required:
board.diff-pair: Route a differential pair together, at its gap from pad to pad.- Required:
pair(pick: net) - Optional:
width(number in mm);gap(number in mm);layer(text)
- Required:
board.dimension: Add a board dimension annotation.- Required:
layer(text) - Optional:
points(picks: point);items(picks: pad or track or via or component)
- Required:
board.export: Export the board and its components as a STEP model for mechanical design.- Optional:
copper(true or false, default false);mask(true or false, default true)
- Optional:
board.fab-outputs: Make the fabrication and assembly files for the board.- Required:
preset(one offab_house,assembly,full,custom, defaultfab_house)
- Required:
board.fanout: Fan out a component's pads to vias: BGA balls to the diagonals, other pads past their outer end.- Required:
component(picks: component);via(text) - Optional:
nets(picks: net);signals(true or false, default false)
- Required:
board.fill: Draw a solid copper fill.- Required:
points(picks: point);layer(text) - Optional:
net(pick: net)
- Required:
board.flip: Move components to the other side of the board, mirrored where they stand.- Required:
components(picks: component)
- Required:
board.keepout: Draw an area where copper, vias or components may not go.- Required:
points(picks: point);applies(one ofall,copper,tracks,vias,components, defaultall);layer(text)
- Required:
board.layer-stack: Edit the stackup, with the impedance calculator and thermal properties.- Required:
layers(whole number, default 4);material(text);thickness(number in mm, default 1.6) - Optional:
target_z(number in ohm, default 50)
- Required:
board.lock: Lock components or copper so they don't move.- Runs on the
selection:component,track,via,zone
- Runs on the
board.move: Move components or copper; tracks follow where they can.- Required:
items(picks: component or track or via or pour);dx(number in mm, default 0);dy(number in mm, default 0);rotation(number in deg, default 0)
- Required:
board.outline: Draw the board outline, or take it from an enclosure part.- Required:
source(one ofdraw,enclosure, defaultdraw);points(picks: point) whensourceis draw;part(text) whensourceis enclosure;face(pick: face) whensourceis enclosure
- Required:
board.place-via: Place a via.- Required:
points(picks: point);size(text);span(one ofthrough,blind,buried,micro, defaultthrough) - Optional:
net(pick: net)
- Required:
board.pour: Draw a copper pour, repour, shelve or split a plane.- Required:
action(one ofdraw,repour,shelve,split_plane, defaultdraw);net(pick: net) whenactionis draw or split_plane;points(picks: point) whenactionis draw;layer(text) whenactionis draw or split_plane;clearance(number in mm, default 0.25) whenactionis draw;connect(one ofrelief,relief-tht,solid,none, defaultrelief) whenactionis draw;priority(whole number, default 0) whenactionis draw
- Required:
board.room: Define a room that keeps a group of components together.- Required:
name(text);components(picks: component) - Optional:
points(picks: point);keep_inside(true or false, default true)
- Required:
board.route: Route a track interactively; walkaround now, push and shove later behind the same button.- Required:
net(pick: net or pad or track or via);points(picks: point);width(number in mm, default 0.15);via(text);layer(text);mode(one ofwalkaround,ignore,stop, defaultwalkaround);corner(one of45,90,arc45,any, default45)
- Required:
board.route-net: Route the net's open connections with the interactive router.- Runs on the
selection:net
- Runs on the
board.stitch: Stitch a pour with vias, or shield a net with a row of them.- Required:
mode(one ofstitch,shield, defaultstitch);target(pick: pour or net);shield_net(text) whenmodeis shield;pitch(number in mm, default 1.5);via(text)
- Required:
board.teardrops: Add or remove teardrops at pads and vias.- Required:
action(one ofadd,remove, defaultadd) - Optional:
all(true or false, default true)
- Required:
board.test-points: Add test points on nets.- Required:
nets(picks: net);side(one ofbottom,top, defaultbottom);diameter(number in mm, default 1)
- Required:
board.tune-group: Tune every short member of a matched-length group to the group's target length or delay.- Required:
group(text);pattern(one oftrombone,accordion,sawtooth, defaulttrombone)
- Required:
board.tune-length: Add meanders to a net's longest straight track until it meets its target length or delay.- Required:
net(pick: net or track);basis(one oflength,delay, defaultlength);target(number in mm, default 50) whenbasisis length;tolerance(number in mm, default 0.1) whenbasisis length;target_delay(number in s) whenbasisis delay;pattern(one oftrombone,accordion,sawtooth, defaulttrombone) - Optional:
tolerance_delay(number in s) whenbasisis delay
- Required:
board.update-schematic: Send board changes (renumbering, pin and gate swaps, footprints) back to the schematic; review each line.- Required:
changes(picks: change) - Runs on the
selection:eco_back_change
- Required:
direct. commands (.part)
direct.delete-face: Delete faces and heal the gap from the neighbors.- Required:
faces(picks: face);heal(one ofheal,patch,leave, defaultheal)
- Required:
direct.move-body: Move or rotate bodies directly.- Required:
bodies(picks: body);dx(number in mm, default 0);dy(number in mm, default 0);dz(number in mm, default 0);angle(number in deg, default 0) - Optional:
axis(pick: axis or edge)
- Required:
direct.move-face: Move or rotate faces; neighboring faces follow. Recorded as a feature.- Required:
faces(picks: face);motion(one oftranslate,rotate,normal, defaulttranslate);distance(number in mm, default 1);direction(pick: edge or axis or plane) whenmotionis translate;axis(pick: axis or edge) whenmotionis rotate;angle(number in deg, default 0) whenmotionis rotate
- Required:
direct.offset-face: Offset faces along their normals.- Required:
faces(picks: face);distance(number in mm, default 1)
- Required:
direct.pull: Push or pull faces; adds or removes material.- Required:
faces(picks: face);distance(number in mm, default 1)
- Required:
direct.replace-face: Replace faces with another face or surface.- Required:
faces(picks: face);with(pick: face)
- Required:
drawing. commands (.drawing)
drawing.align: Line items up on the first one selected.- Required:
align(one ofhorizontal,vertical, defaulthorizontal) - Runs on the
selection:view,annotation
- Required:
drawing.auto: Lay out views, dimensions and tables for a model; fasteners are skipped.- Required:
model(text);sheet(one ofa3,a2,a4,b,d, defaulta3) - Optional:
dimensions(true or false, default true);tables(true or false, default true)
- Required:
drawing.auxiliary: Project a view normal to an edge.- Required:
parent(pick: view);edge(pick: edge);label(text) - Optional:
at(pick: point)
- Required:
drawing.balloon: Label a component with its BOM item number.- Required:
attach(pick: edge) - Optional:
at(pick: point)
- Required:
drawing.baseline: Dimension features from one baseline.- Required:
base(pick: edge);items(picks: edge) - Optional:
at(pick: point)
- Required:
drawing.broken-out: Cut away part of a view to show the inside.- Required:
parent(pick: view);boundary(picks: point);depth(number in mm, default 10) - Optional:
at(pick: point)
- Required:
drawing.center-mark: Mark the center of circles and arcs.- Required:
edges(picks: edge) - Optional:
auto(true or false, default false)
- Required:
drawing.centerline: Draw a centerline between edges or on a cylinder.- Required:
edges(picks: edge)
- Required:
drawing.chain: Dimension features end to end.- Required:
items(picks: edge) - Optional:
at(pick: point)
- Required:
drawing.datum: Add a datum feature symbol.- Required:
label(text);attach(pick: edge or annotation) - Optional:
at(pick: point)
- Required:
drawing.datum-target: Add a datum target point, line or area.- Required:
label(text);shape(one ofpoint,line,circle,rectangle, defaultpoint);attach(pick: edge) - Optional:
size(number in mm, default 5);at(pick: point)
- Required:
drawing.delete: Delete views, annotations or tables.- Runs on the
selection:view,annotation,table,drawing_dimension,sheet
- Runs on the
drawing.detail: Enlarge a circled area of a view.- Required:
parent(pick: view);center(pick: edge);radius(number in mm, default 5);label(text);scale(text) - Optional:
at(pick: point) - Runs on the
selection:view
- Required:
drawing.export: Export as PDF, DXF, DWG or SVG.- Required:
format(one ofpdf,dxf,dwg,svg, defaultpdf);sheets(one ofall,current, defaultall)
- Required:
drawing.gdt: Add a feature control frame.- Required:
frame(text);attach(pick: edge or annotation) - Optional:
at(pick: point)
- Required:
drawing.hole-callout: Label a hole with its size, depth and thread from the model.- Required:
hole(pick: edge) - Optional:
at(pick: point)
- Required:
drawing.isometric: Place an isometric view.- Required:
model(text);scale(text);display(one ofhidden_removed,shaded, defaulthidden_removed) - Optional:
at(pick: point)
- Required:
drawing.model-view: Place one view of a model in any orientation.- Required:
model(text);orientation(one offront,back,top,bottom,left,right,isometric, defaultfront);scale(text);display(one ofhidden_visible,hidden_removed,shaded, defaulthidden_visible) - Optional:
at(pick: point)
- Required:
drawing.move: Move views, annotations or tables to a picked point, or by a distance.- Optional:
to(pick: point);dx(number in mm, default 0);dy(number in mm, default 0) - Runs on the
selection:view,annotation
- Optional:
drawing.note: Add a note, with an optional leader.- Required:
text(text) - Optional:
attach(pick: edge or view);at(pick: point)
- Required:
drawing.ordinate: Dimension features from a zero line.- Required:
origin(pick: edge);items(picks: edge) - Optional:
at(pick: point)
- Required:
drawing.projected: Project a view from an existing one.- Required:
parent(pick: view);direction(one ofup,down,left,right, defaultup) - Optional:
at(pick: point) - Runs on the
selection:view
- Required:
drawing.section: Cut a section through a view, along a cutting line through a picked edge or hole.- Required:
parent(pick: view);through(pick: edge);label(text) - Optional:
aligned(true or false, default false);at(pick: point) - Runs on the
selection:view
- Required:
drawing.smart-dimension: Dimension edges, points or circles.- Required:
items(picks: edge);measure(one ofauto,linear,angular,radius,diameter, defaultauto);tolerance(one ofnone,symmetric,bilateral,fit, defaultnone) - Optional:
plus(number in mm, default 0.1);minus(number in mm, default 0.1);fit(text);at(pick: point)
- Required:
drawing.standard: Choose the drafting standard.- Required:
standard(one ofiso,asme, defaultiso)
- Required:
drawing.standard-3: Place front, top and right views of a model.- Required:
model(text);scale(text);projection(one ofthird,first, defaultthird) - Optional:
configuration(text);at(pick: point)
- Required:
drawing.surface-finish: Add a surface finish symbol.- Required:
ra(text);attach(pick: edge) - Optional:
at(pick: point)
- Required:
drawing.view-display: Draw the view with hidden lines removed or visible, or shaded.- Required:
style(one ofhidden_removed,hidden_visible,shaded, defaulthidden_removed) - Runs on the
selection:view
- Required:
drawing.view-label: Relabel a section, detail or auxiliary view.- Required:
label(text) - Runs on the
selection:view
- Required:
drawing.view-scale: Use the sheet scale or a custom scale for the view.- Required:
scale(one ofsheet,1:1,1:2,1:5,1:10,2:1, defaultsheet) - Runs on the
selection:view
- Required:
drawing.weld-symbol: Add a weld symbol.- Required:
type(one offillet,groove,plug,spot, defaultfillet);size(number in mm, default 4);attach(pick: edge) - Optional:
all_around(true or false, default false);field(true or false, default false);at(pick: point)
- Required:
evaluate. commands (.part)
evaluate.clearance: Find places closer than a clearance.- Required:
items(picks: body or face);minimum(number in mm, default 1)
- Required:
evaluate.draft: Color faces by draft angle.- Required:
direction(pick: plane or face or axis);angle(number in deg, default 1)
- Required:
evaluate.interference: Find bodies that overlap.- Optional:
bodies(picks: body)
- Optional:
evaluate.mass-properties: Mass, volume, area, center of mass and inertia.- Required:
mass(number in kg, default 1) whenoverride_massis true - Optional:
bodies(picks: body or part);about(pick: coordinate system);override_mass(true or false, default false) - Runs on the
selection:body
- Required:
evaluate.undercut: Find undercut faces for a pull direction.- Required:
direction(pick: plane or face or axis)
- Required:
explode. commands (.assembly)
explode.lines: Draw lines showing how components move.- Optional:
steps(picks: explode step)
- Optional:
explode.new: Create an exploded view.- Required:
name(text)
- Required:
explode.radial: Spread components out radially about an axis.- Required:
components(picks: component);axis(pick: axis or edge);distance(number in mm, default 50)
- Required:
explode.step: Move components along a direction in one step.- Required:
components(picks: component);direction(pick: edge or axis or face);distance(number in mm, default 50)
- Required:
library. commands (.circuit, .circuit.layout)
library.place: Search the library and manufacturer parts, and place one on the sheet.- Required:
query(text) - Optional:
in_stock(true or false, default true);designator(text)
- Required:
manage. commands (.part)
manage.appearance: Set the display color of the part or a body.- Required:
color(text) - Optional:
targets(picks: part or body) - Runs on the
selection:body,part
- Required:
manage.configurations: Add configurations and edit the design table.- Required:
name(text) - Optional:
based_on(text)
- Required:
manage.equations: Set an input's value, or add or change a named value or equation.- Required:
name(text);value(text)
- Required:
manage.export: Export the part as STEP AP242, IGES, STL, 3MF, glTF or a face as DXF.- Required:
format(one ofstep_ap242,iges,stl,3mf,gltf,dxf_face, defaultstep_ap242);face(pick: face) whenformatis dxf_face;resolution(one offine,standard,coarse, defaultfine) whenformatis stl or 3mf or gltf - Optional:
pmi(true or false, default true) whenformatis step_ap242
- Required:
manage.material: Assign a material to the part or a body.- Required:
material(one ofmaterial.aluminum_6061_t6,material.aluminum_7075_t6,material.aluminum_2024_t3,material.steel_1018,material.steel_4140,material.stainless_304,material.stainless_316,material.titanium_ti_6al_4v,material.copper_c110,material.brass_c360,material.abs,material.nylon_pa12,material.glass_filled_nylon,material.pom_acetal,material.peek,material.polycarbonate,material.acrylic,material.carbon_fiber,material.fr4,material.silicone_rubber,material.oak,material.concrete,material.douglas_fir_lumber,material.osb,material.gypsum_board,material.xps_foam, defaultmaterial.aluminum_6061_t6) - Optional:
bodies(picks: body or part) - Runs on the
selection:body,part
- Required:
manage.split-to-files: Save bodies as separate parts and an assembly.- Optional:
bodies(picks: body);assembly(true or false, default true)
- Optional:
mold. commands (.part)
mold.core-cavity: Split a mold block round the part into core and cavity.- Required:
part(pick: body or face);parting(pick: plane or face);margin(number in mm, default 10)
- Required:
mold.draft-analysis: Color faces by draft angle for a pull direction.- Required:
direction(pick: plane or face or axis);angle(number in deg, default 1)
- Required:
mold.parting-line: Find the parting line for a pull direction.- Required:
direction(pick: plane or face or axis or edge);draft(number in deg, default 1)
- Required:
mold.scale: Scale the part for the material's shrinkage.- Required:
factor(number, default 1.005);fx(number, default 1.005) whenuniformis false;fy(number, default 1.005) whenuniformis false;fz(number, default 1.005) whenuniformis false - Optional:
uniform(true or false, default true)
- Required:
mold.undercut: Find faces that can't release in the pull direction.- Required:
direction(pick: plane or face or axis)
- Required:
part. commands (.part)
part.axis: Add a reference axis.- Required:
type(one ofedge,two_planes,two_points,cylinder,point_face, defaultedge);references(picks: edge or plane or face or vertex or point)
- Required:
part.body-combine: Merge touching bodies into one.- Required:
bodies(picks: body)
- Required:
part.body-delete: Delete bodies, or keep only the chosen ones.- Required:
bodies(picks: body);keep(one ofdelete,keep, defaultdelete) - Runs on the
selection:body
- Required:
part.body-indent: Press one body into another, leaving a clearance.- Required:
target(pick: body);tool(pick: body);clearance(number in mm, default 0.5)
- Required:
part.body-move: Move, rotate or copy bodies.- Required:
bodies(picks: body);dx(number in mm, default 0);dy(number in mm, default 0);dz(number in mm, default 0);angle(number in deg, default 0);copies(whole number, default 1) whencopyis true - Optional:
axis(pick: axis or edge);copy(true or false, default false) - Runs on the
selection:body
- Required:
part.body-promote: Make a body its own part in this file, with its own number and material.- Required:
body(pick: body);name(text) - Runs on the
selection:body
- Required:
part.body-scale: Scale bodies about the origin by one factor.- Required:
bodies(picks: body);factor(number, default 1)
- Required:
part.boolean: Combine bodies by union, subtract or intersect.- Required:
kind(one ofunion,subtract,intersect, defaultunion);target(pick: body);tools(picks: body) - Optional:
keep_tools(true or false, default false)
- Required:
part.boundary: Make a solid from curves in two directions.- Required:
direction1(picks: sketch or curve or edge);op(one ofadd,remove,intersect,new, defaultadd) - Optional:
direction2(picks: sketch or curve or edge);merge(pick: body) whenopis add or remove or intersect
- Required:
part.chamfer: Bevel edges, faces, a feature's edges or vertices by distance and angle or two distances.- Required:
type(one ofdistance_angle,distance_distance,equal,vertex, defaultdistance_angle);edges(picks: edge or face or feature or vertex);distance(number in mm, default 1);distance2(number in mm, default 1) whentypeis distance_distance or vertex;angle(number in deg, default 45) whentypeis distance_angle - Optional:
flip(true or false, default false)
- Required:
part.coordinate-system: Add a coordinate system from an origin and axes, or on a planar face.- Required:
type(one ofaxes,face, defaultaxes);origin(pick: vertex or point) whentypeis axes;z(pick: edge or axis) whentypeis axes;face(pick: face) whentypeis face - Optional:
x(pick: edge or axis) whentypeis axes
- Required:
part.curve-composite: Join edges end to end into one curve.- Required:
curves(picks: edge)
- Required:
part.curve-equation: Draw a curve from x(t), y(t), z(t).- Required:
x(text);y(text);z(text);t0(number, default 0);t1(number, default 6.283185307179586)
- Required:
part.curve-helix: Add a helix or spiral by pitch, turns and height.- Required:
type(one ofhelix,spiral, defaulthelix);axis(pick: axis or edge) whentypeis helix;start(pick: vertex or point or sketch point) whentypeis helix;plane(pick: plane or face) whentypeis spiral;start_radius(number in mm, default 5) whentypeis spiral;pitch(number in mm, default 2);revolutions(whole number, default 5);taper_step(number in mm, default 0.5) whentaperis true - Optional:
clockwise(true or false, default false) whentypeis helix;taper(true or false, default false) whentypeis helix
- Required:
part.curve-intersection: Make the curve where a planar face meets a plane.- Required:
face(pick: face);plane(pick: plane or face)
- Required:
part.curve-through-points: Fit a curve through points.- Required:
points(picks: vertex or point or sketch point) - Optional:
closed(true or false, default false)
- Required:
part.delete: Delete the item, after showing what depends on it.- Runs on the
selection:feature,sketch,region,input,plane,mate_connector,annotation
- Runs on the
part.draft: Taper faces for molding by neutral plane, parting line or step.- Required:
type(one ofneutral_plane,parting_line,step, defaultneutral_plane);faces(picks: face);neutral(pick: plane or face) whentypeis neutral_plane;parting(picks: edge or curve) whentypeis parting_line or step;angle(number in deg, default 1) - Optional:
flip(true or false, default false)
- Required:
part.emboss: Raise or engrave a sketch or text on a face.- Required:
profile(pick: sketch);face(pick: face);depth(number in mm, default 0.5);mode(one ofemboss,deboss, defaultemboss)
- Required:
part.export-body: Write the selected bodies to a STEP or STL file.- Required:
format(one ofstep,stl, defaultstep) - Runs on the
selection:body
- Required:
part.extrude: Extend a profile along a direction to add, cut or intersect material.- Required:
profile(picks: sketch region or sketch or face);op(one ofadd,remove,intersect,new, defaultadd);from(one ofsketch_plane,surface,vertex,offset, defaultsketch_plane);from_face(pick: face) whenfromis surface;from_vertex(pick: vertex or point) whenfromis vertex;from_offset(number in mm, default 5) whenfromis offset;end(one ofblind,through_all,up_to_next,up_to_vertex,up_to_face,up_to_plane,offset_from_face,up_to_body,mid_plane, defaultblind);distance(number in mm, default 10) whenendis blind or mid_plane or offset_from_face;up_to(pick: face or vertex or body or plane) whenendis up_to_vertex or up_to_face or up_to_plane or offset_from_face or up_to_body;second_end(one ofblind,through_all,up_to_next,up_to_vertex,up_to_face,up_to_plane,offset_from_face,up_to_body,mid_plane, defaultblind) whensecond_directionis true;second_distance(number in mm, default 10) whensecond_directionis true;second_up_to(pick: face or vertex or body or plane) whensecond_directionis true;draft_angle(number in deg, default 0) whendraftis true;thin_thickness(number in mm, default 1) whenthinis true;thin_side(one ofone,mid,two, defaultone) whenthinis true - Optional:
flip(true or false, default false);second_direction(true or false, default false);draft(true or false, default false);draft_outward(true or false, default false) whendraftis true;thin(true or false, default false);merge(pick: body) whenopis add or remove or intersect
- Required:
part.fillet: Round edges, faces or a feature's edges, or blend faces: constant, variable, face or full round.- Required:
type(one ofconstant,variable,face,full_round, defaultconstant);edges(picks: edge or face or feature);radius(number in mm, default 2) whentypeis constant or face;radii(list of number in mm, default 2) whentypeis variable;profile(one ofcircular,conic,curvature, defaultcircular) - Optional:
tangent_propagation(true or false, default true)
- Required:
part.hole: Add standard holes: simple, counterbore, countersink, tapped, pipe tap or slot.- Required:
type(one ofsimple,counterbore,countersink,tapped,pipe_tap,slot, defaultsimple);standard(one ofiso,ansi_metric,ansi_inch, defaultiso);size(text);fit(one ofnormal,close,loose, defaultnormal) whentypeis simple or counterbore or countersink or slot;diameter(number in mm, default 6) whentypeis simple;cbore_diameter(number in mm, default 11) whentypeis counterbore;cbore_depth(number in mm, default 6) whentypeis counterbore;csink_diameter(number in mm, default 12) whentypeis countersink;csink_angle(number in deg, default 90) whentypeis countersink;slot_length(number in mm, default 10) whentypeis slot;end(one ofblind,through_all,up_to_next,up_to_face, defaultblind);depth(number in mm, default 12) whenendis blind;thread_depth(number in mm, default 10) whentypeis tapped or pipe_tap;face(pick: face);positions(list of pick: sketch point or vertex or point) - Optional:
cosmetic_thread(true or false, default true);series(true or false, default false)
- Required:
part.loft: Blend between two or more profiles, with guides and end tangency.- Required:
profiles(picks: sketch or sketch region or face or point);op(one ofadd,remove,intersect,new, defaultadd);start_tangency(one ofnone,normal,direction,faces, defaultnone);end_tangency(one ofnone,normal,direction,faces, defaultnone);thin_thickness(number in mm, default 1) whenthinis true - Optional:
guides(picks: sketch or curve or edge);centerline(pick: sketch or curve or edge);closed(true or false, default false);thin(true or false, default false);merge(pick: body) whenopis add or remove or intersect
- Required:
part.mate-connector: Add a named frame other files mate to.- Required:
name(text);on(pick: face or edge or vertex);origin(one ofcentroid,center, defaultcentroid);offset_x(number in mm, default 0);offset_y(number in mm, default 0);offset_z(number in mm, default 0);rotate(number in deg, default 0) - Optional:
flip(true or false, default false)
- Required:
part.mirror: Mirror features, faces or bodies about a plane.- Required:
plane(pick: plane or face);seeds(picks: feature or face or body)
- Required:
part.move-down: Move the feature one place later in the tree.- Runs on the
selection:feature
- Runs on the
part.move-up: Move the feature one place earlier in the tree.- Runs on the
selection:feature
- Runs on the
part.pattern: Repeat features, faces or bodies: linear, circular, curve, sketch, table, fill or variable.- Required:
layout(one oflinear,circular,curve,sketch,table,fill,variable, defaultlinear);seeds(picks: feature or face or body);direction(pick: edge or axis or plane or face) whenlayoutis linear or fill;spacing(number in mm, default 10) whenlayoutis linear or fill;instances(whole number, default 3) whenlayoutis linear or circular or curve;direction2(pick: edge or axis or plane) whensecond_directionis true;spacing2(number in mm, default 10) whensecond_directionis true;instances2(whole number, default 2) whensecond_directionis true;axis(pick: axis or edge or face) whenlayoutis circular;angle(number in deg, default 360) whenlayoutis circular;curve(pick: curve or edge or sketch) whenlayoutis curve;sketch(pick: sketch) whenlayoutis sketch;table(text) whenlayoutis table or variable;boundary(pick: face or sketch) whenlayoutis fill - Optional:
second_direction(true or false, default false) whenlayoutis linear;equal_spacing(true or false, default true) whenlayoutis circular;skip(list of whole number, default 1)
- Required:
part.plane: Add a reference plane: offset, angle, 3-point, mid, normal to curve or tangent to surface.- Required:
type(one ofoffset,angle,three_point,mid,normal_to_curve,tangent_to_face, defaultoffset);base(pick: plane or face) whentypeis offset or angle or mid;distance(number in mm, default 10) whentypeis offset;count(whole number, default 1) whentypeis offset;axis(pick: axis or edge) whentypeis angle;angle(number in deg, default 45) whentypeis angle;points(picks: vertex or point or sketch point) whentypeis three_point;other(pick: plane or face) whentypeis mid;curve(pick: curve or edge) whentypeis normal_to_curve;at(pick: vertex or point) whentypeis normal_to_curve;face(pick: face) whentypeis tangent_to_face - Optional:
flip(true or false, default false)
- Required:
part.point: Add a reference point.- Required:
type(one ofcoordinates,center,face_center,intersection,along_curve, defaultcoordinates);references(picks: edge or face or vertex or curve) whentypeis center or face_center or intersection or along_curve;x(number in mm, default 0) whentypeis coordinates;y(number in mm, default 0) whentypeis coordinates;z(number in mm, default 0) whentypeis coordinates;parameter(number, default 0.5) whentypeis along_curve
- Required:
part.reorder: Move the feature before or after another one.- Required:
position(one ofbefore,after, defaultbefore);anchor(pick: feature or sketch) - Runs on the
selection:feature,sketch
- Required:
part.revolve: Turn a profile around an axis.- Required:
profile(picks: sketch region or sketch or face);axis(pick: axis or edge or sketch entity);op(one ofadd,remove,intersect,new, defaultadd);type(one ofone,mid,two, defaultone);angle(number in deg, default 360);angle2(number in deg, default 0) whentypeis two;thin_thickness(number in mm, default 1) whenthinis true - Optional:
thin(true or false, default false);merge(pick: body) whenopis add or remove or intersect
- Required:
part.rib: Add a thin wall from an open sketch.- Required:
profile(pick: sketch);thickness(number in mm, default 2);depth(number in mm, default 10) - Optional:
reverse(true or false, default false)
- Required:
part.shell: Hollow a body, with different thicknesses on chosen faces.- Required:
body(pick: body);thickness(number in mm, default 2);face_thickness(number in mm, default 3) whenthick_facesis set - Optional:
open_faces(picks: face);outward(true or false, default false);thick_faces(picks: face)
- Required:
part.sketch: Start a sketch on a plane or planar face.- Required:
plane(pick: plane or face)
- Required:
part.split: Split a body with a plane, face or surface.- Required:
body(pick: body);tool(pick: plane or face or body)
- Required:
part.suppress: Turn the feature off without deleting it.- Runs on the
selection:feature,sketch
- Runs on the
part.sweep: Move a profile along a path, with guide curves, twist and tangency.- Required:
profile(picks: sketch region or sketch or face);path(pick: sketch or curve or edge);op(one ofadd,remove,intersect,new, defaultadd);orientation(one offollow_path,keep_normal,follow_path_first_guide, defaultfollow_path);twist(one ofnone,turns,angle, defaultnone);twist_angle(number in deg, default 0) whentwistis turns or angle;start_tangency(one ofnone,normal, defaultnone);end_tangency(one ofnone,normal, defaultnone);thin_thickness(number in mm, default 1) whenthinis true - Optional:
guides(picks: sketch or curve or edge);thin(true or false, default false);merge(pick: body) whenopis add or remove or intersect
- Required:
part.thread: Add a cosmetic thread on a cylindrical face, for drawings and inspection.- Required:
face(pick: face);standard(one ofiso,unified, defaultiso);designation(text) - Optional:
length(number in mm, default 10);left_hand(true or false, default false)
- Required:
part.unsuppress: Turn a suppressed feature back on.- Runs on the
selection:feature,sketch
- Runs on the
schematic. commands (.circuit, .circuit.layout)
schematic.annotate: Assign designators to parts that have none.- Required:
order(one ofacross,down, defaultacross) - Optional:
reset(true or false, default false)
- Required:
schematic.directive: Attach a directive: differential pair, net class, parameter set or blanket.- Required:
type(one ofdiff_pair,net_class,parameters,blanket, defaultdiff_pair);nets(picks: net or wire) - Optional:
value(text)
- Required:
schematic.disconnect: Take a pin off its net: its wire to the rest of the net goes.- Required:
pin(pick: pin) - Runs on the
selection:pin
- Required:
schematic.export-pdf: Export every schematic page, each with its title block, as one PDF.schematic.move: Move selected items; wires stay connected.- Required:
items(picks: component or wire or port or sheet symbol);dx(number in mm, default 0);dy(number in mm, default 0);rotation(number in deg, default 0) - Optional:
mirror(true or false, default false);drag_wires(true or false, default true)
- Required:
schematic.net-label: Name a net with a label.- Required:
name(text);on(pick: wire or net or pin) - Runs on the
selection:pin
- Required:
schematic.no-erc: Mark a pin so ERC doesn't report it.- Required:
pin(pick: pin) - Runs on the
selection:pin
- Required:
schematic.paste: Paste copies of the copied parts under the next free designators.- Required:
dx(number in mm, default 5.08);dy(number in mm, default -5.08) - Optional:
items(picks: component)
- Required:
schematic.place-bus: Draw a bus carrying a range of signals.- Required:
name(text) - Optional:
from(pick: pin or wire or net or port);to(pick: pin or wire or net or port)
- Required:
schematic.place-harness: Draw a harness that carries an interface (USB, SPI).- Required:
name(text);interface(text);from(pick: pin or wire or net or port);to(pick: pin or wire or net or port)
- Required:
schematic.place-part: Place a part from the pool.- Required:
part(text);designator(text);rotation(number in deg, default 0) - Optional:
value(text);at(pick: point);mirror(true or false, default false)
- Required:
schematic.place-wire: Draw a wire between pins.- Required:
from(pick: pin or wire or net or port);to(pick: pin or wire or net or port);mode(one ofortho,diagonal,any, defaultortho) - Optional:
path(picks: point);net(text) - Runs on the
selection:pin
- Required:
schematic.port: Place a port that connects this sheet to its parent.- Required:
name(text);direction(one ofinput,output,bidirectional,power,passive, defaultinput) - Optional:
on(pick: pin or wire or net)
- Required:
schematic.power-port: Place a power or ground symbol.- Required:
net(text);on(pick: pin or wire or net) - Optional:
power_flag(true or false, default false) - Runs on the
selection:pin
- Required:
schematic.repeat-channel: Repeat a sheet as channels with their own designators.- Required:
symbol(pick: sheet symbol);channels(whole number, default 4) - Optional:
designators(text)
- Required:
schematic.sheet-entry: Add an entry to a sheet symbol for a port of its sheet.- Required:
symbol(pick: sheet symbol);port(text) - Optional:
to(pick: pin or wire or net);bus(text);offset(whole number, default 0) whenbusis set
- Required:
schematic.sheet-symbol: Place a child sheet in the hierarchy.- Required:
name(text);sheet(text);channels(whole number, default 1)
- Required:
schematic.text: Place a note on the sheet.- Required:
text(text) - Optional:
at(pick: point)
- Required:
schematic.update-board: Send schematic changes to the board; review each line.- Required:
changes(picks: change) - Optional:
ignore_parameters(true or false, default false);ignore_values(true or false, default false);ignore_footprints(true or false, default false);ignore_fitting(true or false, default false);ignore_net_classes(true or false, default false);ignore_rules(true or false, default false);ignore_diff_pairs(true or false, default false);ignore_component_classes(true or false, default false);ignore_rooms(true or false, default false);ignored_parameters(list of text);remove_orphaned_copper(true or false, default false) - Runs on the
selection:eco_change
- Required:
sheet. commands (.drawing)
sheet.add: Add a sheet.- Required:
name(text);size(one ofa3,a4,a2,a1,a0,a,b,c,d, defaulta3)
- Required:
sheet-metal. commands (.part)
sheet-metal.base-flange: Start a sheet metal part from a sketch.- Required:
profile(pick: sketch);thickness(number in mm, default 1.5);radius(number in mm, default 1);depth(number in mm, default 20);bend_rule(one ofk_factor,table,allowance,deduction, defaultk_factor);k(number, default 0.44) whenbend_ruleis k_factor - Optional:
gauge(text)
- Required:
sheet-metal.break-corner: Chamfer or round a flat corner.- Required:
edges(picks: edge);break(one ofchamfer,fillet, defaultchamfer);distance(number in mm, default 2)
- Required:
sheet-metal.closed-corner: Close the gap between flanges at a corner.- Required:
faces(picks: face);type(one ofbutt,overlap,underlap, defaultbutt);gap(number in mm, default 0.1)
- Required:
sheet-metal.convert: Turn a thin solid into sheet metal: the walls on the fixed face's edges become bends.- Required:
fixed(pick: face);thickness(number in mm, default 1.5);radius(number in mm, default 1) - Optional:
bends(picks: edge)
- Required:
sheet-metal.edge-flange: Add a flange along edges.- Required:
edges(picks: edge);length(number in mm, default 10);angle(number in deg, default 90);position(one ofinside,outside,bend_outside, defaultinside);radius(number in mm, default 1);relief(one ofrectangular,obround,tear, defaultrectangular)
- Required:
sheet-metal.flat-pattern: Show the flat pattern with bend lines, for drawings and DXF.sheet-metal.fold: Fold unfolded bends back.- Optional:
bends(picks: face)
- Optional:
sheet-metal.form-tool: Stamp a form (louver, dimple, bead) into a face.- Required:
tool(one oflouver,dimple,bead, defaultlouver);face(pick: face);position(pick: sketch point or point or vertex);rotation(number in deg, default 0)
- Required:
sheet-metal.hem: Fold an edge back on itself.- Required:
edges(picks: edge);hem(one ofclosed,open,teardrop,rolled, defaultclosed);length(number in mm, default 5);gap(number in mm, default 0.5) whenhemis open
- Required:
sheet-metal.jog: Add two bends that offset a flat.- Required:
line(pick: sketch entity or sketch);offset(number in mm, default 5);angle(number in deg, default 90)
- Required:
sheet-metal.lofted-bend: Bend between two open profiles (transitions, hoppers).- Required:
profile1(pick: sketch);profile2(pick: sketch);thickness(number in mm, default 1.5);bends(whole number, default 8)
- Required:
sheet-metal.miter-flange: Add flanges along a chain of edges with mitered corners.- Required:
profile(pick: sketch);edges(picks: edge);gap(number in mm, default 0.25)
- Required:
sheet-metal.relief: Cut relief at bend corners.- Required:
corners(picks: vertex or edge);relief(one ofrectangular,round,tear, defaultrectangular);size(number in mm, default 1.5)
- Required:
sheet-metal.sketched-bend: Bend along a sketched line.- Required:
line(pick: sketch entity or sketch);angle(number in deg, default 90);radius(number in mm, default 1);fixed(pick: face)
- Required:
sheet-metal.tab-and-slot: Add interlocking tabs and slots between flanges.- Required:
edge(pick: edge);face(pick: face);length(number in mm, default 10);count(whole number, default 2);clearance(number in mm, default 0.1)
- Required:
sheet-metal.unfold: Unfold chosen bends to work on the flat.- Required:
fixed(pick: face) - Optional:
bends(picks: face)
- Required:
simulate. commands (.circuit, .circuit.layout, .part, .assembly)
simulate.ac: Add an AC sweep (gain and phase over frequency) to the simulation section.- Required:
start(number in Hz, default 10);stop(number in Hz, default 1000000);points(whole number, default 20) - Optional:
name(text)
- Required:
simulate.check: Check fit and mass before a study meshes the design: overlapping parts, open contacts and parts without a material.- Required:
gap(number in mm, default 0.1)
- Required:
simulate.dc-sweep: Add a DC sweep of a source to the simulation section.- Required:
source(text);start(number in V, default 0);stop(number in V, default 5);step(number in V, default 0.1) - Optional:
name(text)
- Required:
simulate.monte-carlo: Add a Monte Carlo over the section's tolerances that reruns another analysis of the section.- Required:
kind(one ofmonte_carlo, defaultmonte_carlo);of(text);runs(whole number, default 1000);seed(whole number, default 1) - Optional:
name(text)
- Required:
simulate.noise: Add a noise sweep: the output noise density at a net and the noise referred to an input source.- Required:
output(text);input(text);start(number in Hz, default 10);stop(number in Hz, default 1000000);points(whole number, default 20) - Optional:
name(text)
- Required:
simulate.op-point: Add a DC operating point to the simulation section.- Optional:
name(text)
- Optional:
simulate.probe: Probe a net's voltage or the current into a pin: click it on the schematic, or pick it.- Required:
at(pick: net or pin)
- Required:
simulate.probe-net: Plot the net's voltage when the simulation section runs.- Runs on the
selection:net
- Runs on the
simulate.probe-pin: Plot the current into the pin when the simulation section runs.- Runs on the
selection:pin
- Runs on the
simulate.publish: Publish a region, frame, value or path for assemblies and studies to use.- Required:
name(text);target(one ofregion,frame,value,path, defaultregion);item(pick: region or mate connector or input) whentargetis region or frame or value;edges(picks: edge) whentargetis path
- Required:
simulate.set-tolerance: Set the tolerance a Monte Carlo varies parts by (it replaces the parts' own bands).- Required:
match(text);percent(number, default 1) - Optional:
name(text)
- Required:
simulate.temperature: Add a temperature sweep that reruns another analysis of the section at each temperature.- Required:
of(text);values(text) - Optional:
name(text)
- Required:
simulate.transient: Add a transient (over time) to the simulation section.- Required:
stop(number in s, default 0.001);step(number in s, default 0.000001) - Optional:
name(text)
- Required:
sketch. commands (.part)
sketch.arc: Draw an arc by center, tangent to an end or through three points.- Required:
type(one ofcenter,tangent,three_point, defaultcenter);start(pick: sketch point or vertex or point);end(pick: sketch point or vertex or point);center(pick: sketch point or vertex or point) whentypeis center - Optional:
radius(number in mm, default 10)
- Required:
sketch.auto-constrain: Suggest relations and dimensions; accept them one at a time.- Required:
tolerance(number in mm, default 0.01) - Optional:
entities(picks: sketch entity)
- Required:
sketch.chamfer: Bevel sketch corners.- Required:
corners(picks: sketch point or sketch entity);distance(number in mm, default 1);angle(number in deg, default 45)
- Required:
sketch.circle: Draw a circle by center or through three points.- Required:
type(one ofcenter,three_point, defaultcenter);center(pick: sketch point or vertex or point) whentypeis center;radius(number in mm, default 10) whentypeis center;points(picks: sketch point or vertex) whentypeis three_point
- Required:
sketch.constraint: Add a geometric relation between sketch entities.- Required:
relation(one ofcoincident,horizontal,vertical,parallel,perpendicular,tangent,equal,concentric,midpoint,symmetric,collinear,coradial,fix, defaultcoincident);entities(picks: sketch entity or sketch point or edge) - Runs on the
selection:sketch_entity,sketch_point
- Required:
sketch.construction: Draw new entities as construction geometry, or toggle selected ones.- Runs on the
selection:sketch_entity
- Runs on the
sketch.dimension: Add a driving or driven dimension.- Required:
type(one ofsmart,horizontal,vertical,ordinate,path_length, defaultsmart);entities(picks: sketch entity or sketch point) - Optional:
value(number in mm);driven(true or false, default false)
- Required:
sketch.extend: Extend an entity to the next one it meets.- Required:
entities(picks: sketch entity)
- Required:
sketch.fillet: Round sketch corners.- Required:
corners(picks: sketch point or sketch entity);radius(number in mm, default 2) - Optional:
keep_corner(true or false, default true)
- Required:
sketch.line: Draw lines, centerlines or a line from its midpoint.- Required:
type(one ofline,centerline,midpoint, defaultline);start(pick: sketch point or vertex or point);end(pick: sketch point or vertex or point) - Optional:
length(number in mm, default 0);angle(number in deg, default 0);chain(true or false, default true)
- Required:
sketch.mirror: Mirror entities about a line, with an optional live mirror.- Required:
entities(picks: sketch entity);about(pick: sketch entity) - Optional:
copy(true or false, default true);dynamic(true or false, default false)
- Required:
sketch.offset: Offset entities by a distance.- Required:
entities(picks: sketch entity or edge);distance(number in mm, default 2) - Optional:
both(true or false, default false);cap(true or false, default false);chain(true or false, default true)
- Required:
sketch.pattern: Repeat entities in a line or a circle.- Required:
layout(one oflinear,circular, defaultlinear);entities(picks: sketch entity);spacing(number in mm, default 10) whenlayoutis linear;direction(number in deg, default 0) whenlayoutis linear;center(pick: sketch point or vertex or point) whenlayoutis circular;angle(number in deg, default 360) whenlayoutis circular;instances(whole number, default 4)
- Required:
sketch.point: Place a sketch point.- Required:
at(pick: sketch point or vertex or point)
- Required:
sketch.rectangle: Draw a rectangle by corners, center, three points or as a parallelogram.- Required:
type(one ofcorner,center,three_point,parallelogram, defaultcorner);first(pick: sketch point or vertex or point);second(pick: sketch point or vertex or point);third(pick: sketch point or vertex or point) whentypeis three_point or parallelogram - Optional:
construction_diagonals(true or false, default false)
- Required:
sketch.slot: Draw a straight, center-point or arc slot.- Required:
type(one ofstraight,center,arc, defaultstraight);start(pick: sketch point or vertex or point);end(pick: sketch point or vertex or point);width(number in mm, default 6) - Optional:
dimension(true or false, default true)
- Required:
sketch.split: Split an entity at a point.- Required:
entity(pick: sketch entity);at(pick: sketch point or vertex or point)
- Required:
sketch.transform: Move, copy, rotate or scale entities.- Required:
type(one ofmove,copy,rotate,scale, defaultmove);entities(picks: sketch entity or sketch point);base(pick: sketch point or vertex or point);dx(number in mm, default 0) whentypeis move or copy;dy(number in mm, default 0) whentypeis move or copy;angle(number in deg, default 0) whentypeis rotate;factor(number, default 1) whentypeis scale
- Required:
sketch.trim: Trim entities by power trim, to a corner, inside or outside.- Required:
type(one ofpower,corner,inside,outside, defaultpower);entities(picks: sketch entity);boundaries(picks: sketch entity) whentypeis inside or outside
- Required:
study. commands (.circuit, .circuit.layout)
study.new: Create a .fea study from this design.- Required:
physics(one ofstructural,modal,thermal,ir_drop,warpage,thermal_structural, defaultstructural);name(text)
- Required:
surface. commands (.part)
surface.boundary: Make a surface from curves in two directions.- Required:
direction1(picks: edge);continuity(one ofg0,g1,g2, defaultg0) - Optional:
direction2(picks: edge)
- Required:
surface.cut: Cut a solid with a surface, keeping one side.- Required:
surface(pick: face or body);body(pick: body or face);keep(one ofpositive,negative, defaultpositive)
- Required:
surface.delete-hole: Remove a hole's boundary from a surface.- Required:
edges(picks: edge)
- Required:
surface.extend: Extend a surface past its edges.- Required:
edges(picks: edge);distance(number in mm, default 5)
- Required:
surface.extrude: Extrude a sketch's curves, open or closed, into a surface.- Required:
profile(pick: sketch);depth(number in mm, default 10) - Optional:
symmetric(true or false, default false)
- Required:
surface.fill: Patch a closed boundary with G0, G1 or G2 continuity.- Required:
boundary(picks: edge);continuity(one ofg0,g1,g2, defaultg0)
- Required:
surface.knit: Knit surfaces together, and make a solid when they close.- Required:
bodies(picks: face or body) - Optional:
solid(true or false, default true)
- Required:
surface.loft: Loft a surface through curves.- Required:
profiles(picks: sketch or curve or edge) - Optional:
guides(picks: curve or edge)
- Required:
surface.mid-surface: Make mid-surfaces between pairs of opposite faces for shell studies.- Required:
pairs(picks: face)
- Required:
surface.offset: Offset faces into a new surface.- Required:
faces(picks: face);distance(number in mm, default 1)
- Required:
surface.planar: Fill a closed sketch with a flat surface.- Required:
profile(pick: sketch)
- Required:
surface.revolve: Revolve a sketch's curves into a surface.- Required:
profile(pick: sketch);axis(pick: axis or edge);angle(number in deg, default 360)
- Required:
surface.ruled: Grow strips from edges along their faces' normal, tilted outward by an angle.- Required:
edges(picks: edge);distance(number in mm, default 10);angle(number in deg, default 0)
- Required:
surface.sweep: Sweep a sketch's curves along another sketch's path.- Required:
profile(pick: sketch);path(pick: sketch)
- Required:
surface.thicken: Give a surface thickness to make a solid.- Required:
surface(pick: face or body);thickness(number in mm, default 1);side(one ofone,both,other, defaultone)
- Required:
surface.trim: Trim surfaces with a plane, keeping one side.- Required:
bodies(picks: face or body);tool(pick: plane or face);keep(one ofpositive,negative, defaultpositive)
- Required:
table. commands (.drawing)
table.bend: List bends of a flat pattern.- Required:
view(pick: view)
- Required:
table.bom: Add a bill of materials table.- Required:
view(pick: view);type(one oftop,parts,indented, defaulttop) - Optional:
fasteners(true or false, default true);at(pick: point)
- Required:
table.cut-list: List weldment members by profile and length.- Required:
view(pick: view) - Optional:
at(pick: point)
- Required:
table.hole: List holes with positions from an origin.- Required:
origin(pick: edge) - Optional:
faces(picks: edge);combine(true or false, default true);at(pick: point)
- Required:
table.revision: Add the revision table, or a revision to it.- Required:
rev(text);description(text) - Optional:
date(text);by(text);at(pick: point)
- Required:
view. commands (.part, .assembly)
view.measure: Measure distance, angle, radius or path length; results stay pinned in the view.- Required:
mode(one ofdistance,angle,radius,path, defaultdistance);items(picks: face or edge or vertex or body or component or pad or track or via) - Optional:
pin(true or false, default true) - Runs on the
selection:face,edge,vertex,sketch_entity,sketch_point,plane,feature,sketch,body,occurrence,mate
- Required:
weldment. commands (.part)
weldment.cut-list: Show the cut list: members grouped by profile and length.weldment.end-cap: Close a member's open end with a plate.- Required:
face(pick: face);thickness(number in mm, default 3);inset(number in mm, default 0)
- Required:
weldment.gusset: Add a triangular plate between two members' faces at a corner.- Required:
faces(picks: face);leg(number in mm, default 50);thickness(number in mm, default 5)
- Required:
weldment.structural-member: Place profiles along sketch segments.- Required:
standard(one ofiso,ansi,company, defaultiso);profile(one ofrect_tube,square_tube,pipe,angle,channel,i_beam,flat_bar, defaultrect_tube);size(text, default40x40x3);material(one ofs235,al_6061,stainless_304, defaults235);segments(picks: sketch entity or sketch);corner(one ofmiter,butt1,butt2,none, defaultmiter);rotation(number in deg, default 0) - Optional:
mirror_profile(true or false, default false)
- Required:
weldment.trim-extend: Trim or extend a member to a flat face of another body.- Required:
member(pick: body or face);to(pick: face)
- Required:
weldment.weld-bead: Add a fillet weld along the edges between members.- Required:
edges(picks: edge);leg(number in mm, default 4)
- Required: