1 from salome.shaper import model
4 partSet = model.moduleDocument()
7 Part_1 = model.addPart(partSet)
8 Part_1_doc = Part_1.document()
11 Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
14 Wire_1_objects = [model.selection("EDGE", "[Box_1_1/Left][Box_1_1/Bottom]"),
15 model.selection("EDGE", "[Box_1_1/Front][Box_1_1/Left]"),
16 model.selection("EDGE", "[Box_1_1/Front][Box_1_1/Top]"),
17 model.selection("EDGE", "[Box_1_1/Front][Box_1_1/Right]")]
18 Wire_1 = model.addWire(Part_1_doc, Wire_1_objects, False)
21 Fillet1D_1_objects = [model.selection("VERTEX", "[Wire_1_1/Edge_2]e[Wire_1_1/Edge_3]e"),
22 model.selection("VERTEX", "[Wire_1_1/Edge_3]e[Wire_1_1/Edge_4]e")]
23 Fillet1D_1 = model.addFillet(Part_1_doc, Fillet1D_1_objects, 3)