The good thing about the “Mating” option is that it could also align the tangent of two cylinders. This is a very valuable option for engineering projects. Is there a way to be able to pick a specific point on both (with Osnap turned on), the reference surface and target surface?
Example: If I want to orient cylinder A next to cylinder B so that they share the picked points? Also, an option to pick the tangent seams of cylinders, in order to orient two cylinders with their seams touching together?
PS: I figured out that the orient will not work 100% of the time as expected. For example, if one cylinder is higher than another one and they both share the same orientation (like parallel top and bottom faces), the script can’t align them along their concentric body by picking their flat faces in a similar fashion like in Solidworks (1:30 minute of my video below). Of course, I don’t expect from a script to be as advanced as the mating engine of SW, though it’s good enough for many applications even in its current WIP state.
Carrot orient.3dm (71.7 KB)
I recorded a short video showing what I mean: