ImportedSolidModel#

class ansys.acp.core.ImportedSolidModel(*, name='ImportedSolidModel', active=True, format='ansys:cdb', unit_system='from_file', external_path='', delete_bad_elements=True, warping_limit=0.4, minimum_volume=0.0, cut_off_material=None, export_settings=<ansys.acp.core._tree_objects.imported_solid_model.ImportedSolidModelExportSettings object>)#

Instantiate an imported solid model.

Parameters:
  • name (str) – Name of the imported solid model.

  • active (bool) – Inactive imported solid models are ignored in the analysis.

  • format (SolidModelImportFormat) – Specifies the format of the file to be imported.

  • unit_system (UnitSystemType) – Specifies the unit system of the external solid mesh.

  • external_path (str | PathLike[str]) – Path of the file to be imported.

  • delete_bad_elements (bool) – If True, run an element check and delete erroneous elements. Bad elements can falsify the mapping.

  • warping_limit (float) – Maximum allowable warping. Elements with a warping above this limit are deleted. Only used if delete_bad_elements is True.

  • minimum_volume (float) – Solid elements with a volume smaller or equal to this value are deleted. Only used if delete_bad_elements is True.

  • cut_off_material (Material | None) – This material is assigned to the degenerated solid cut-off elements if cut_off_material_handling is set to GLOBAL in the fabric definition.

  • export_settings (ImportedSolidModelExportSettings) – Defines the settings for exporting the imported solid model.

Added in ACP server version 25.1.

Methods

ImportedSolidModel.clone(*[, unlink])

Create a new unstored object with the same properties.

ImportedSolidModel.create_cut_off_geometry(*)

Instantiate a cut-off geometry.

ImportedSolidModel.create_layup_mapping_object(*)

Instantiate a layup mapping object.

ImportedSolidModel.delete()

Delete the object.

ImportedSolidModel.export(path, *, format)

Export the solid model to a file.

ImportedSolidModel.export_skin(path, *, format)

Export the skin of the solid model to a file.

ImportedSolidModel.import_initial_mesh()

Import the solid mesh and its element sets.

ImportedSolidModel.refresh()

Re-import the solid model from the external file.

ImportedSolidModel.store(parent)

Store the object on the server.

Attributes