I am using python to form the union of two cylinders through the use of boolean modifiers as shown in the image. How can I obtain a list of the vertices at the intersection of the two objects that are created when the modifier is applied?
1 Answer
Just a possible way to do this (there might be a better method to do this):
First set up materials on both objects (as in my answer in the link) and apply the boolean modifier: How to colour an indent that's been produced by a Boolean modifyer in 2.8
Then select by each individual materials, loop through them and save those vertices that are in common for both material selections. These should be the vertices you are looking for!
Happy blending!
-
$\begingroup$ I think he is looking for a way to access these vertices by python $\endgroup$– vkliduCommented Feb 1, 2020 at 20:37