@abdulellah.alattab hi,
finally i got it 😀
This version complies with all your request (case-1 through case-5) although i can not be 100% sure that all cases works, you will have check.
running instructions:
after loading reinforce.vlx invoke BAR1 command.
Main field 1
Specify Axes < let you specifies the main axes lines, you start with the left line and angle (-90 to first) to the second (system will copy that line automatically) the angle of the first axis can be any angle but the axes lines must be parallels with exact lengths.
Select Main Axes < let you select existing axes lines. the selected lines should grow from bottom to top and the first should be on the left side. otherwise you might get upside bar.
Length1 + Bar Angle are always grey and they shows the Main Axis lines distance and angle.
Retreat Ratio L-1 + Retreat R-1 works inside Main Axes Field.
Left/Right fields L2 / L3
Additional S-L + Additional R-L extend length
Left/Right Hook you already know
Length 2 / Length 3 is specified only by length only.
Retreat Ratio 2 / Retreat Ratio 3 you already know
Bend Depth / Bend Angle you already know
set bend Depth to a negative value in order to get upside bar 😀
in properties a new switch Add dimensions for adding texts to bar segments
at the left bottom a new switch delete axes line turn this on if you want to delete axes lines.
switches \ toggles
each option has a toggle on its left side, enable it to activate the option
if switches Length2 / Length3 is enables, Retreat Ratio 2 / Retreat Ratio 3 are disabled and vice versa (meaning you can not have hook and extended length together but you can use Additional S-L / S-R.
enjoy
Moshe
