3D mesh with pyramid shape - extrude a triangle

9 days ago by
My question is somehow related to this one https://www.allanswered.com/post/pojqg/trianglemesh/

I would like to construct a cube, draw a right triangle on one side of the cube (the triangle edges are shorter than the cube's edge) and extrude it to the other side (see attached sketch). Then the mesh would be the cube minus the pyramid.

Does anyone know how to do it with Fenics?

I've found this https://fenicsproject.org/olddocs/dolfin/1.4.0/python/demo/documented/mesh-generation/python/documentation.html but it doesn't give many information on how to create the .off file.

Community: FEniCS Project

for such geometry i would recommend you to do it using




written 9 days ago by lhdamiani  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »