Create 1D-fillet for special vertices on a wire

 1from salome.shaper import model
 2
 3model.begin()
 4partSet = model.moduleDocument()
 5
 6### Create Part
 7Part_1 = model.addPart(partSet)
 8Part_1_doc = Part_1.document()
 9
10### Create Box
11Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
12
13### Create Wire
14Wire_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]")]
18Wire_1 = model.addWire(Part_1_doc, Wire_1_objects, False)
19
20### Create Fillet1D
21Fillet1D_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")]
23Fillet1D_1 = model.addFillet(Part_1_doc, Fillet1D_1_objects, 3)
24
25model.end()

Download this script