{"commands":[
 {"command":"parameters.add","params":{"name":"t","expression":"4 mm","comment":"plate thickness, both legs (1-15 mm)"}},
 {"command":"parameters.add","params":{"name":"hole_d","expression":"6 mm","comment":"through-hole diameter (2-12 mm)"}},
 {"command":"parameters.add","params":{"name":"L","expression":"60 mm","comment":"base leg length (X)"}},
 {"command":"parameters.add","params":{"name":"W","expression":"40 mm","comment":"bracket width (Y)"}},
 {"command":"parameters.add","params":{"name":"H","expression":"40 mm","comment":"upright height (Z)"}},
 {"command":"solid.box","params":{"length":"L","width":"W","height":"t","corner":[0,0,0],"operation":"new","body_name":"Bracket","name":"BaseLeg"}},
 {"command":"solid.box","params":{"length":"t","width":"W","height":"H","corner":[0,0,0],"operation":"join","name":"UprightLeg"}},
 {"command":"solid.cylinder","params":{"diameter":"hole_d","height":"t + 2","base":["40 mm","10 mm","-1 mm"],"axis":"Z","operation":"cut","name":"BaseHole1"}},
 {"command":"solid.cylinder","params":{"diameter":"hole_d","height":"t + 2","base":["40 mm","30 mm","-1 mm"],"axis":"Z","operation":"cut","name":"BaseHole2"}},
 {"command":"solid.cylinder","params":{"diameter":"hole_d","height":"t + 2","base":["-1 mm","10 mm","25 mm"],"axis":"X","operation":"cut","name":"UprightHole1"}},
 {"command":"solid.cylinder","params":{"diameter":"hole_d","height":"t + 2","base":["-1 mm","30 mm","25 mm"],"axis":"X","operation":"cut","name":"UprightHole2"}}
]}
