Find Intersections
-
Hi!
I'm thinking about a script to generate lots of edges for my gcode exporter:
I have some ideas how this can be done.For one idea I want an efficient way to find the positions where faces intersect with my lines: One of the problems: The faces might be in groups or components.
So one idea is to use the "intersect face with model" thing: With that I would get a polygon on a face, then I could intersect that with my line to and find the intersection points there.
First problem is that I did't found how to create these polygons with the API.
The second problem is the question: Is this efficient? It might, because I plan to "shoot" a lot of these edges through my model and I could use the polygon on that face for several edges. But I don't need all the points on that polygon that might be created by the model.So any tipps how to do this?
Thanks!
Uli
Advertisement