Evening Jon,
It would a be 3D model. Assuming the direction from the start point of the element towards the end point defines a local X-axis to the element, the cell is to be rotated 90 degrees CCW (around the Z-axis) to be perpendicular from the element and no rotation around the X-axis. To clarify, if the element is flat (i.e. all vertices have the same .Z value) the only rotation is to be around the Z axis. If the Element is sloped then the angle of the XY-plane/Z-axis changes but the ZX plane is always upright (viewed from a standard Top view or relative to a default Coordinate System). I hope that explains everything clear enough but if not then I can draw a few sketches.
Thanks
It would a be 3D model. Assuming the direction from the start point of the element towards the end point defines a local X-axis to the element, the cell is to be rotated 90 degrees CCW (around the Z-axis) to be perpendicular from the element and no rotation around the X-axis. To clarify, if the element is flat (i.e. all vertices have the same .Z value) the only rotation is to be around the Z axis. If the Element is sloped then the angle of the XY-plane/Z-axis changes but the ZX plane is always upright (viewed from a standard Top view or relative to a default Coordinate System). I hope that explains everything clear enough but if not then I can draw a few sketches.
Thanks