Hello, friend
I’d add a call plane->SetOrigin(sliceOrigin);
to your setFrame()
slot, after changing the values in sliceOrigin
to suit your need. All these followed by a cutter->Update();
. Of course that would require promoting plane
, sliceOrigin
and cutter
to member, global or static variables.
all the best,
Paulo