iLogic rule. Create intersection paths for group bodies and one base body
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello community members!
I study the rules with great interest. And today I have one question.
I have multiple solids (group 1) that intersect another solid (base body) at a 90 degree angle. All solids in group 1 are flat. The base body is flat too.
I use a 3D sketch (the path of intersection of two planes): I select the vertical face of one of the solid bodies of group 1 and the horizontal face of the base body. Then I select the parallel vertical edge and do the same.
As you can imagine, it takes a long time if there are a lot of parts from group 1.
Therefore, I decomposed the task for the rule.
1) We combine vertical solids into group 1 by name (for example, group1_body1, group1_body2, ...);
2) Create a name for each vertical face of each solid from group 1 (for example, group1_body1_face1, group1_body1_face2, ...);
3) Create a name for the horizontal face of the base body (for example, base body_face1);
3) Automatically add all bodies with the name "group1 .." to the list;
4) In a loop, select each body from the list. For each vertical face of the selected body, draw a 3D sketch (face intersection and base body_face1). In this case, the sketch must be construction geometry.
All intersections are constructed with respect to baseface_body1.
I will be very happy if you can help create a rule to automate the construction of all such intersections!