skin_solid_elements Module

defines:
  • get_solid_skin_faces(model)

pyNastran.bdf.mesh_utils.skin_solid_elements.get_solid_skin_faces(model)[source]

Gets the elements and faces that are skinned from solid elements. This doesn’t include internal faces or existing shells.

Parameters:
modelBDF()

the BDF object

Returns:
eid_setdict[sorted_face] = eids
sorted_facetuple(int, int, …)

the face nids in sorted order

eidslist[int]

list of element ids with that face

face_mapdict[sorted_face] = face
sorted_facetuple(int, int, …)

the face nids in sorted order

facelist(int, int, …)

the face nids

pyNastran.bdf.mesh_utils.skin_solid_elements.write_skin_solid_faces(model, skin_filename, write_solids=False, write_shells=True, size=8, is_double=False, encoding=None)[source]

Writes the skinned elements

Parameters:
modelBDF()

the BDF object

skin_filenamestr

the file to write

write_solidsbool; default=False

write solid elements that have skinned faces

write_shellsbool; default=False

write newly created shell elements if there are shells in the model, doesn’t write these

sizeint; default=8

the field width

is_doublebool; default=False

double precision flag

encodingstr; default=None -> system default

the string encoding