Skip to content

Parts

Leaf parts: geometry, materials, ports and manufacturing facts.

class in machinewright.objects.base

class PartDefinition

A reusable leaf-part definition in a hardware graph.

def geometry() -> cadquery.Workplane

Return this leaf part’s resolved CadQuery geometry.

def describe() -> dict[str, Any]

Return the canonical semantic description used by graph resolution.