Is there a way to create extruded 3d solid from planar figure?

Sep 12, 2013 at 10:10 AM
I need to create a solid 3d figure starting from a planar path (that represent the section on 3d figure)

How can i do? I'm trying to use meshBuilder.AddExtrudedGeometry but i don't understand how it works and if this is the right way.

See this image for understand what i need... I have the geometry of the 2D figure (A) and i want to obtain the 3D figure B...
Image

thanks

Alessio
Sep 16, 2013 at 10:31 AM
There's an example "Mesh Visuals Demo" in the example browser. In that example there's a tab "Extruded". The example shows a triangular section extruded over some path.
Sep 16, 2013 at 3:07 PM
I see such example, but there is no example for "generic geomerty", there only pre-programmed type, i.e RectangleVisual3D, or PieSliceVisual3D ecc, no generic 2D geometry, extrudede in 3D.
Sep 16, 2013 at 3:41 PM
Locate in the xaml file the helix:ExtrudedVisual3D and see that Section is set to "0 0 0.45 0 0.45 0.45 0 0.45". Now change it to whatever you like.
Sep 16, 2013 at 4:05 PM
But in such sample, the path is composed by 3d point, and in my case the "known path" is a 2d path... may be i don't understand something...!?
Coordinator
Sep 16, 2013 at 11:17 PM
Yes, the Path is a Point3DCollection and the Section is a PointCollection. The 2D section is extruded along the 3D path. Use the SectionXAxis property to define the initial orientation of the section.