cadquery
cadquery copied to clipboard
Keeping objects after workplane creation
Keep selected objects after workplane creation, it breaks quite a lof of tests, we need to investigate if the failing test can be rewritten or if it's really a breaking change Aims to solve #149
Thanks, it might be trickier in terms of backward-compatibility than I expected.
I think it'd be better to add a kwarg to work plane (say reset:bool = False
) to not mess with breaking changes.
Yeah that's probably easier to deal with. Do we want to reset the selection totally calling findSolid
or we just put the last selection state on the stack?
Yeah that's probably easier to deal with. Do we want to reset the selection totally calling
findSolid
or we just put the last selection state on the stack?
Why not something like this:
if not reset:
s.objects = self.objects[:]