I’m trying to figure out how to create a skew or shear transformation since there is not a specific method for doing this within the API.
I’ve actually never encountered this problem before so it will be a topological learning experience.
Does anyone have any examples they might be willing to share?
My intent is to have a specific group (solid) and specify a point on this solid which is the zero point then every other point will be sheared parallel to the Z axis relative to this point. The shearing will only be one dimensional with four possibilities with the directional control: (X, -X, Y or -Y).
I suppose I could write an algorithm that examines each vertex of the group and then translates it to its new Z position, but it would be better if I can simply construct the appropriate transformation and method and approach the problem from that angle.
I’m assuming that this will shear the geometric body relative to the origin (0,0,0), however is there way to arbitrarily set the X and Y reference point of the shearing to a value other than the origin, if this makes sense?