Cheat Sheet

Selectors
Selector Operators

Operator

Operand

Method

>

SortBy, Axis

sort_by()

<

SortBy, Axis

sort_by()

>>

SortBy, Axis

group_by()[-1]

<<

SortBy, Axis

group_by()[0]

|

Axis, Plane, GeomType

filter_by()

[]

python indexing / slicing

Axis

filter_by_position()

Edge and Wire Operators

Operator

Operand

Method

Description

@

0.0 <= float <= 1.0

position_at()

Position as Vector along object

%

0.0 <= float <= 1.0

tangent_at()

Tangent as Vector along object

^

0.0 <= float <= 1.0

location_at()

Location along object

Shape Operators

Operator

Operand

Method

Description

==

Any

is_same()

Compare CAD objects not including meta data

Plane Operators

Operator

Operand

Description

==

Plane

Check for equality

!=

Plane

Check for inequality

-

Plane

Reverse direction of normal

*

Plane

Relocate by Location

Vector Operators

Operator

Operand

Method

Description

+

Vector

add()

add

-

Vector

sub()

subtract

*

float

multiply()

multiply by scalar

/

float

multiply()

divide by scalar

Vertex Operators

Operator

Operand

Method

+

Vertex

add()

-

Vertex

sub()

Enums

Align

MIN, CENTER, MAX

ApproxOption

ARC, NONE, SPLINE

AngularDirection

CLOCKWISE, COUNTER_CLOCKWISE

CenterOf

GEOMETRY, MASS, BOUNDING_BOX

FontStyle

REGULAR, BOLD, ITALIC

FrameMethod

CORRECTED, FRENET

GeomType

BEZIER, BSPLINE, CIRCLE, CONE, CYLINDER, ELLIPSE, EXTRUSION, HYPERBOLA, LINE, OFFSET, OTHER, PARABOLA, PLANE, REVOLUTION, SPHERE, TORUS

HeadType

CURVED, FILLETED, STRAIGHT

Keep

TOP, BOTTOM, BOTH

Kind

ARC, INTERSECTION, TANGENT

LengthMode

DIAGONAL, HORIZONTAL, VERTICAL

MeshType

OTHER, MODEL, SUPPORT, SOLIDSUPPORT

Mode

ADD, SUBTRACT, INTERSECT, REPLACE, PRIVATE

NumberDisplay

DECIMAL, FRACTION

PageSize

A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, LEDGER, LEGAL, LETTER

PositionMode

LENGTH, PARAMETER

PrecisionMode

LEAST, AVERAGE, GREATEST, SESSION

Select

ALL, LAST

Side

BOTH, LEFT, RIGHT

SortBy

LENGTH, RADIUS, AREA, VOLUME, DISTANCE

Transition

RIGHT, ROUND, TRANSFORMED

Unit

MC, MM, CM, M, IN, FT

Until

FIRST, LAST, NEXT, PREVIOUS