For the line:
extrudio=internalcut.faces(">Z[1]").extrude(1)
I actually get the following error:
IndexError: list index out of range
Not sure if that has something to do with my setup. Tested both with cq-editor 2.0 and plain ipython console, running cadquery 2.1
In any case the .toPending() method you mentioned pretty much solves this issue for me.
I did have a look at "An Introspective Example", but not being a programmer, I can't say I really understood that 100%.
The general gist I got was that it has to do with the stack and how operations use the PendingWires/PendingEdges attributes.
So when we simply select a face or wires/edges from a face, these are not stored in the PendingWires/Edges attribute; so we must move them there with the .toPending() metod in order to continue operating on them.
When we create a rectangle/polygon/polyline etc however these are stored already in the PendingWires/Edges attribute and are thus available to extrude and loft commands.?? Something like that?
In any case, thanks for the solution Lorenz and I'll try to come back to that Introspective Example as I use and learn more of CadQuery to see if it sinks in.