I designed a Klopfenstein microstrip line taper using Lua script and came up with points that I would then input into 2 fitted splines which I would loft to make a geometry.
This approach generates the geometry, but when I change a variable in CADFEKO, it does not change the geometry automatically, and to see the change, I have to go to the Lua script hard code it there, and repeat the code that generates the points, creates the fitted splines and loft the two over again. I am afraid if I run an optimisation it would change say the length value but it won't change the geometry accordingly to calculate its responses
Is there a better way I could approach this problem or, is there something I should have in my Lua script that would help in modifying the geometry each time a variable is modified in CADFEKO by running the script with updated variables