How can I make an arc here? I have gathered user input for theorem but do not know how to fit the arc into this code. I am making crown molding with this face, and am extruding along a path width follow me.
Here’s my code so far. I have not yet edited the Y axis part, and have started on the x-axis code.
#Input for trim
prompts = ["Rise: ", "Run:", "Cornice:", "R:", "G:", "B:"]
defaults = [5.0, 5, 0.5, 255.0, 255.0, 255.0]
list = ["", "", "", "", "", ""]
input = UI.inputbox(prompts, defaults, list, "Crown Molding")
return unless input
riset,run,cornice,red,green,blue=input
case axis
when X_AXIS
[ [0,0,0], [run,0,0], [0,0,rise, [run,0,rise-cornice], [run-cornice,0,rise-cornice], ]
when Y_AXIS
[ [0,0,0], [0,width,0], [thickness,0,0], [thickness,width,0] ]
end
end