Units, settings and warnings

See Units and Tolerances for the guides.

m
cm
mm
um
inch
mil

Length factors in meters: 1, 0.01, 0.001, 10⁻⁶, 0.0254 and 2.54 · 10⁻⁵.

class config

The defaults of planex: the absolute tolerance k * eps * S (S the largest coordinate magnitude involved), and the fit and cleanup values the OCC exports take by default.

default_sketch_type

alias of QuickSketch

class PlanexWarning

A warning of the planex kernel.

ResetIdCounters() → None

Starts every kind of auto id at 1 again (Sketch.1, Shape.1, …), so a script run from the top gets the same ids.

Examples

px.ResetIdCounters()