mesh Module

pyNastran.bdf.mesh_utils.mesh.create_structured_3d(x: ndarray, y: ndarray, z: ndarray, nx: int, ny: int, nz: int)[source]
pyNastran.bdf.mesh_utils.mesh.create_structured_chexas(model: BDF, pid: int, x: np.ndarray, y: np.ndarray, z: np.ndarray, nx: int, ny: int, nz: int, eid: int = 1, nid: int = 1) tuple[int, int][source]
Parameters:
p1 / p2 / p3 / p4(3, ) float ndarray

points defining the quad

nxint

points in the p1-p2 direction

nyint

points in the p1-p4 direction

nid / eidint

node / element id offset

Returns:
nidint

???

eidint

???

pyNastran.bdf.mesh_utils.mesh.create_structured_cquad4s(model: BDF, pid: int, p1: np.ndarray, p2: np.ndarray, p3: np.ndarray, p4: np.ndarray, nx: int, ny: int, nid: int = 1, eid: int = 1, theta_mcid: float = 0.0)[source]
Parameters:
p1 / p2 / p3 / p4(3, ) float ndarray

points defining the quad

nxint

points in the p1-p2 direction

nyint

points in the p1-p4 direction

nid / eidint

node / element id offset

Returns:
nidint

???

eidint

???