An improved version of the Intersector tool is now integrated into LDPartEditor.
While the original Intersector tool outputs sometimes a warning like "*** problem during retriangulation ***", my Intersector implementation does not have this behaviour. Additionally, I changed the algorithm for the detection if a surface is inside or outside the model. The algorithm uses now a raytracing approach to detect the surface colour. The "LPE Intersector" can also be configured to keep the original colours. It outputs lesser triangles than Philo's implementation, does not have the option for "triangle condensation" and runs on all of your CPU cores to maximise the performance.
Basically, you will have to do the following steps to use this tool:
Here is a screenshot, which demonstrates two different results (the grey quad was selected, then "Intersector" was run):
https://lh6.googleusercontent.com/-BPe41...sector.png
While the original Intersector tool outputs sometimes a warning like "*** problem during retriangulation ***", my Intersector implementation does not have this behaviour. Additionally, I changed the algorithm for the detection if a surface is inside or outside the model. The algorithm uses now a raytracing approach to detect the surface colour. The "LPE Intersector" can also be configured to keep the original colours. It outputs lesser triangles than Philo's implementation, does not have the option for "triangle condensation" and runs on all of your CPU cores to maximise the performance.
Basically, you will have to do the following steps to use this tool:
- (optional) Hide everything which do not intersect with the target surface (a surface which do not intersect will not be modified)
- Select your target surface and the target lines (linetypes 2 to 5)
- Open the Intersector dialog
- Decide, if you want to change the colours according the location ("inside" [colour 11], "outside" [colour 14], "undefined" [colour 7]) or to keep the original colour
- Hit the OK button
Here is a screenshot, which demonstrates two different results (the grey quad was selected, then "Intersector" was run):
https://lh6.googleusercontent.com/-BPe41...sector.png