MshCreator.add_box
- MshCreator.add_box(x=0, y=0, z=0, ax=5, ay=1, az=1)[source]
add a box to the mesh
- Parameters:
x (float) – x position of the first face center
y (float) – y position of the first face center
z (float) – z position of the first face center
ax (float) – Box length along x
ay (float) – Box length along y
az (float) – Box length along z
- Returns:
box – id of the added object
- Return type:
int