Hello all, I’ve written a script that puts a line grid on a given face. The issue I am having is that even though the lines/edges are on the face, not all of them are being combined with the face.
If I select everything(grid lines and face), right click>Intersect Faces>With Model, I get the desired result of all the lines that are on the face, becoming part of the face.
I haven’t however had any luck duplicating this result programmatically. I’ve tried grouping the lines and exploding them, which got me close but had some very strange effects, such as erasing sections of the existing face.
It is NOT a simple method !
There are many permutations of the arguments - entities, transformations and so on.
BUT what you want is probably the simplest…
John, I did try that, it had a similar effect, though not as severe. Also, after I solve this problem, I was intending to remove all the edges that are not part of a face. So that would be an issue.
When I did this from the UI as originally described, the result was perfect. When I group and explode(programmatically or through the UI), the results are ‘flaky’.[quote=“TIG, post:6, topic:21799”]
You could perhaps scale everything by x10, then intersect, then scale by x1/10 ?
[/quote]
I just tried, the grid being 150 units, unfortunately this didn’t fix it.