I have two mesh objects (simplified here to be a square and a Z-shaped mesh):
I would like to sweep Mesh #1 (the square) along the profile of Mesh #2 (the Z-shape), using Geometry Nodes. I do this by converting both to curve objects, and using the first one as a Profile Curve input, but it looks like this:
Apparently the solution is to make the curve "2D" instead, and this should remove the distortion. However I don't have access to this option (as far as I'm aware), because it is a mesh object in the object list. Is it possible to make the curve 2D in Geometry Nodes?
Note: A similar question exists here, but I do not have the same requirement that the solution must work in 3D. I am only needing a solution in which the curve can be confined to a 2D plane.

