make_half_model Module

This file defines:
  • model = make_half_model(

    bdf_filename, plane=’xz’, zero_tol=1e-12, log=None, debug=True)

pyNastran.bdf.mesh_utils.make_half_model.make_half_model(bdf_filename, plane: str = 'xz', zero_tol: float = 1e-12, log=None, debug: bool = True)[source]

Makes a half/symmetric model from a full model

Parameters
bdf_filenamestr / BDF()

str : the bdf filename BDF : the BDF model object

planestr; {‘xy’, ‘yz’, ‘xz’}; default=’xz’

the plane to mirror about xz : +y/-y yz : +x/-x xy : +z/-z

zaero_tolfloat; default=1e-12

the symmetry plane tolerance

Returns
modelBDF()

BDF : the BDF model object

## TODO: doesn’t handle elements straddling the centerline
pyNastran.bdf.mesh_utils.make_half_model.make_symmetric_model(bdf_filename, plane: str = 'xz', zero_tol: float = 1e-12, log=None, debug: bool = True)[source]