Can you add the "matrix" menu to the "rotation_align to shape mesh (oriented boundari
#2
Well the oriented bounds are determined by constructing a principle component analysis on the shape's vertices, which naturally results in flipping because there's no clear 'correct' direction of a point cloud. In many cases where shapes are oriented in random directions, being able to specify a target direction wouldn't make sense...you happen to have a use case where it would make sense because all of your shapes are flat. So...it wouldn't make sense to add that kind of 'forward vector' specification in the same way, but it could make sense to be able to specify some kind of directional preference, where the TM will be flipped if the dot product between the two is less than 0 (vectors point away from each other). It could also be interesting to add a setting that will bias the PCA matrix towards the world XYZ matrix, flipping any axis that diverges more than its mirror axis....that may even cover more use cases than just specifying a favored up axis. I will consider adding that.
  Reply


Messages In This Thread
RE: Can you add the "matrix" menu to the "rotation_align to shape mesh (oriented boundari - by tyFlow - 08-07-2022, 06:37 PM

Forum Jump: