*FE_geometry_clonefromCAD
Creates FE geometry identical to the selected CAD geometry.
Syntax
*FE_geometry_clonefromCAD entity_type mark_id ?<option1>=<value1>? ?<option2>=<value2>? ... ?<optionN>=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Creates FE geometry identical to the selected CAD geometry entities. Optionally, existing CAD geometry entities are converted to use geometry of mesh elements and corresponding CAD geometry is deleted.
Inputs
- entity_type
- The type of input geometry. Valid value are surfs, solids, and comps.
- mark_id
- The ID of the mark containing the input geometry. Valid values are 1 and 2.
- clone_mode=<value>
- 0 – Replacement mode. CAD geometry on existing entities is replaced by FE geometry. (default)
- current_component=<value>
- 0 – FE geometry entities are created in components of original entities. (default)
- break_connectivity=<value>
- 0 – If elements associated to input surfaces are found to be connected to existing FE geometry, then the elements are added to those bodies with corresponding connectivity between old and new FE geometry entities. (default)
- stl_remesh=<value>
- Specifies if selected surfaces that have an associated mesh are remeshed with STL or kept as-is.
- stl_order=<value>
- Specifies the STL order.
- stl_resolution=<value>
- The STL resolution when generating STL.
- stl_trias_only=<value>
- Specifies if only trias are used for STL.
- stl_unmeshed=<value>
- Specifies if selected surfaces that are unmeshed are meshed with STL or discarded.
- stl_angle=<value>
- The maximum angle between created STL mesh elements. Mandatory if stl_resolution is set to user.
- stl_deviation=<value>
- The maximum deviation of created STL mesh elements from the original surface geometry. Optional if stl_resolution is set to user. If specified, stl_min_size must be also defined.
- stl_max_size=<value>
- The maximum size for created STL mesh elements. Mandatory if stl_resolution is set to user.
- stl_min_size=<value>
- The minimum size for created STL mesh elements. Optional if stl_resolution is set to user, mandatory if stl_resolution is specified.
Examples
To replace CAD geometry by FE geometry for all displayed surfaces using default
values:
*createmark surfs 1 displayed
*FE_geometry_clonefromCAD surfs 1
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022