No pending wires present
A profile-based operation requested pending wires from an empty context. Draw the intended closed profile before creating the solid.
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.
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.
import cadquery as cad
result = cad.Workplane("XY").extrude(4)
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)
```