I am developing an addon for Shaper (with the help of AI).
The objective is to split a cylinder using a square, in order to be able to mesh it using hexahedric elements.
I have to select a solid cylinder, then one of its flat faces and enter a dimension, wich can be an absolute value or a percentage of diameter.
So far it works, but with one problem. If I make the selection of cylinder and face, and then change the value, it splits (or at least tries to) the cylinder using all the values I entered before pressing Apply.
Any ideas how to solve it?
I attached the addon files. To the xml I added a .py extension to be able to upload it.
feature.py (9,8 KB)
widget.xml.py (1,1 KB)

