Measuring




Every object provides its area, length, center and bounding box directly, and Measure() returns them all as a dict together with the second moments and principal axes. Distances, closest points and inside tests take a point or an array of points. In a sketch, Measure(id) measures elements by their ids, so a drawing can be checked against its intent.
A measurement can also be a function of your own, stored on a sketch and evaluated again after every change, such as the thinnest wall, the largest end mill that fits, or the point farthest from a cooling channel. planex.measurements provides thickness maps, clearances, Hausdorff distances and torsion constants. See Field solvers as measurements for measurements that need a field solver.
In this section
Measurements





Analysis
Everything at a glance
Size |
|
Mass properties |
|
Distances |
|
Inside |
|
Edges |
|
Sketches |
|
Analysis |
Selectors by id, name, kind and position; |
See Field solvers as measurements for measurements that need a field solver, NGSolve or FEniCSx, such as a peak temperature or a stress concentration.
