You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing a Catia CATPart containing surfaces, meshing a specific surface and export that mesh to a CDB file, the exported file has a lot of unconnected nodes (seemingly from the other unmeshed surfaces in the model). That creates unnecessarily large cdb files. I would like to be able to only export the nodes connected to the mesh.
🔍 Before submitting the issue
🐞 Description of the bug
When importing a Catia CATPart containing surfaces, meshing a specific surface and export that mesh to a CDB file, the exported file has a lot of unconnected nodes (seemingly from the other unmeshed surfaces in the model). That creates unnecessarily large cdb files. I would like to be able to only export the nodes connected to the mesh.
📝 Steps to reproduce
I am using the following:
import_params = prime.ImportCadParams(
model=model,
cad_reader_route=prime.CadReaderRoute.SPACECLAIM,
length_unit=prime.LengthUnit.MM,
part_creation_type=prime.PartCreationType.BODY,
)
file_io.import_cad(file_name=str(filepath), params=import_params)
surfer = prime.Surfer(model)
surfer_params = prime.SurferParams(model=model, constant_size=20.0, generate_quads=True)
export_params = prime.ExportMapdlCdbParams(model=model)
part = model.get_part_by_name(part_name)
surfer.mesh_topo_faces(part.id, topo_faces=part.get_topo_faces(), params=surfer_params)
file_io.export_mapdl_cdb(str(export_path), export_params)
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
241
🐍 Which Python version are you using?
3.10
📦 Installed packages
The text was updated successfully, but these errors were encountered: