cadquery errors

Canonical explanations and fixes for cadquery toolchain error signatures.

CadQuery Solid object has no attribute extrude

Workplane.val returns the selected shape. A Solid is not the Workplane modelling chain and does not provide Workplane.extrude.

CadQuery No pending wires present before extrusion or revolution

A profile-based operation requested pending wires from an empty context. Draw the intended closed profile before creating the solid.

CadQuery Nothing to loft: provide section profiles

CadQuery 2.8.0 loft found no pending section wires, faces or vertices to build through.

CadQuery fillets requires that edges be selected

Workplane.fillet needs a nonempty edge selection. Selecting circular edges from a plain box leaves nothing to fillet.

CadQuery chamfer requires that edges be selected

The chamfer edge selection is empty. A selector for circular edges on a box finds no edges, so CadQuery refuses to chamfer.

CadQuery BRep_API: command not done when a slot collapses to a circle

A slot whose end-to-end length equals its diameter has zero-length straight edges. CadQuery 2.8.0 can raise this OpenCascade diagnostic while constructing those edges.

cadquery.cqgi.InvalidParameterError

An error raised by the CadQuery Gateway Interface (CQGI) when an execution environment provides a parameter override value that cannot be coerced to the expected type or violates defined parameter constraints.

CadQuery cqgi.NoOutputError: Script did not call show_object

cadquery.cqgi.NoOutputError is raised when a CadQuery script executed via the CadQuery Gateway Interface (CQGI) completes its execution without invoking show_object() to pass geometry to the environment.

ScriptExecutionError

An exception class defined in CadQuery's CQGI (CadQuery Gateway Interface) subsystem that represents syntax or execution failures in CadQuery scripts, providing line and error message metadata for interactive host environments.