Hello,
I am trying to use shaper for the creation of my geometry and would like to add a fillet to the resulting edges between several intersecting spheres that are fused together.
my issue is that I don’t understand how the selection function works.
when I do it for two spheres in GUI and dump it in a python script. for the fillet creation I am getting the following line:
Fillet_1 = model.addFillet(Part_1_doc, [model.selection("EDGE", "Fuse_1_1/Generated_Edge&Sphere_2_1/Face_1&Sphere_1_1/Face_1&new_weak_name_1")], 2, keepSubResults = True)
what I get from it, is that model.addFillet has 4 arguments, the document, the edges where it should add the fillet, the radius, and if it keeps the sub results. my problem is with the second argument,
model.selection("EDGE", "Fuse_1_1/Generated_Edge&Sphere_2_1/Face_1&Sphere_1_1/Face_1&new_weak_name_1")
is used for the selection of the edges, and I get that model.selection has two arguments, the first one the type, but the second one I do not understand at all how it is created/ how to do it (the logic behind it)
for the selection of a complete feature I use the .result() (for example for the creation of the sphere with its center in Point_1, I use:
Sphere_1 = model.addSphere(Part_1_doc, Point_1.result(), 10)
but originally from the dump study I get:
Sphere_1 = model.addSphere(Part_1_doc, model.selection("VERTEX", "all-in-Point_1"), 10)
as in the previous case, I don’t understand the “all-in-Point_1” (I know it is shown as the text entry in the GUI if the Sphere_1 was created using GUI)
any help would be appreciated as I am completely blocked as there is no info about this in the TUI example.
best regards.