Is it not enough to make that the pivot/origin of the mesh and use the Place Pivot frame operator? i.e. the piece would be rotated around a bit to make the XY match the grid, and translated with the centre-point at the origin. (I know this doesn’t help with more complicated situations, so socket information would be useful, yes)
Right, I see, that’s the ‘outer end’ I misunderstood.
I think this could be rolled nicely into the ‘Additional Resource Types’ feature area on the roadmap. I’ve added it as another item on the list (metadata).