@bvaisman this does not answer your question directly but just to be clear there are two extrusions available ExtrudeShape and ExtrudePolygon and there are differences
ExtrudePolygon needs the polygon (to be extruded) to be in the (x, z) plane, the extrusion is along y only the ends of the extrusion will be a filled polygon which will be drawn correctly even if the polygon is convex, the polygon can contain holes.
ExtrudeShape needs the shape (to be extruded) to be in the (x, y) plane, the extrusion can be along any path, the ends can be filled (capped) or not. When the shape is convex capped ends will not be filled correctly, the shape cannot contain holes. This extrusion allows scaling and rotation of the shape along the extrusion.
Unfortunately neither extrude from shapes in other planes.
You could use Creating Ribbons | Babylon.js Documentation (a ribbon underlays ExtrudeShape) as a ribbon will allow you to determine the start and end points of the multiple paths needed to create a ribbon.