MshCreator.add_from_cshape
- MshCreator.add_from_cshape(shape: CShape, n_pts_trace: int = 100, x: float = 0, dx: float = 10, res: None | float = None)[source]
genertate a volume by extruding a
utils.geom._cshape.CShapealongWarining
Not fully implemented
- param shape:
shape to set as initial
- type shape:
CShape
- param n_pts_trace:
z position of the x-min face center
- type n_pts_trace:
float
- param x:
x position of the x-min face center
- type x:
float
- param dx:
Cylinder length along x
- type dx:
float
- returns:
cyl – id of the added object
- rtype:
int