CadQuery No pending wires present before extrusion or revolution

Diagnostic signature

No pending wires present

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

What it means

CadQuery attempted to consume pending wires and found none. This is an input precondition failure, not proof that the extrusion distance or revolution angle is wrong.

Why it happens

An empty Workplane provides a coordinate frame but no pending profile. Wires may also have been consumed by an earlier operation. Calling extrude or revolve on that chain without another suitable profile cannot construct the intended solid.

Minimal reproduction

import cadquery as cad
result = cad.Workplane("XY").extrude(4)

How to fix it

Create the intended closed 10 by 6 mm rectangle, then extrude it by the intended 4 mm depth. For revolution, create a suitable profile and define the intended revolution axis instead of reusing an empty context.

```python
import cadquery as cad
result = cad.Workplane("XY").rect(10,6).extrude(4)
```

Step 1

Step 2

Step 3

Upstream references

CadQuery 2.8.0 CQContext pending-wire source

CadQuery Workplane.extrude reference