MeshGenerator#
- Usage:
MeshGenerator Class API Wrapper
- class MeshGenerator[source]#
Bases:
object
Wrapper for MeshGenerator class of Moldflow Synergy.
- property automatic_tetra_optimization: bool#
Specifies whether optimizing tetras automatically.
- Getter:
Get the automatic tetra optimization option
- Setter:
Set the automatic tetra optimization option
- Type:
bool
- property cad_auto_size_scale: float#
Scale factor for edge length determined by auto sizing.
- Getter:
Get the CAD auto size scale option
- Setter:
Set the CAD auto size scale option
- Type:
float
- property cad_contact_mesh_type: str#
Specifies CAD contact mesh type.
- Getter:
Get the CAD contact mesh type option
- Setter:
Set the CAD contact mesh type option
- Type:
str
- property cad_mesh_grading_factor: float#
Specifies CAD mesh grading factor from slow(0) to fast(1) mesh transition. Applicable when mesh with chord angle and/or local density defined on face/edge
- Getter:
Get the CAD mesh grading factor option
- Setter:
Set the CAD mesh grading factor option
- Type:
float
- property cad_mesh_minimum_curvature_percentage: float#
Specifies minimum mesh size in percentage with respect to global mesh size due to curvature refinement.
- Getter:
Get the CAD mesh minimum curvature percentage option
- Setter:
Set the CAD mesh minimum curvature percentage option
- Type:
float
- property cad_sliver_remove: bool#
Specifies whether removing CAD sliver.
- Getter:
Get the CAD sliver remove option
- Setter:
Set the CAD sliver remove option
- Type:
bool
- property chord_angle: float#
Chord angle value.
- Getter:
Get the chord angle value
- Setter:
Set the chord angle value
- Type:
float
- property chord_angle_select: bool#
Specifies whether using chord angle.
- Getter:
Get the chord angle select option
- Setter:
Set the chord angle select option
- Type:
bool
- property chord_height: float#
Chord height value.
- Getter:
Get the chord height value
- Setter:
Set the chord height value
- Type:
float
- property chord_height_control: bool#
Specifies whether using chord height.
- Getter:
Get the chord height control option
- Setter:
Set the chord height control option
- Type:
bool
- property chord_ht_aspect_ratio: bool#
Specifies whether optimize aspect ratio by surface curvature control.
- Getter:
Get the chord height aspect ratio option
- Setter:
Set the chord height aspect ratio option
- Type:
bool
- property chord_ht_proximity: bool#
Specifies whether optimize aspect ratio by proximity control.
- Getter:
Get the chord height proximity option
- Setter:
Set the chord height proximity option
- Type:
bool
- property cool_type: int#
FEM)
- Getter:
Get the cool type option
- Setter:
Set the cool type option
- Type:
int
- Type:
Specifies cool type (1
- Type:
BEM, 2
- property edge_length: float#
Edge Length of Mesh Generator
- Getter:
Get length of the edge in the mesh generator.
- Setter:
Set length of the edge in the mesh generator.
- Type:
float
- property edge_length_ratio_circuits: float#
8].
- Getter:
Get the edge length ratio circuits option
- Setter:
Set the edge length ratio circuits option
- Type:
float
- Type:
Specifies edge length vs diameter for circuits [0.5
- property edge_length_ratio_runner: float#
4]. Disabled when mesh curves by global edge length is enabled.
- Getter:
Get the edge length ratio runner option
- Setter:
Set the edge length ratio runner option
- Type:
float
- Type:
Specifies edge length vs diameter for feed system [0.1
- property element_reduction: bool#
Enables/disables automatic element size determination for fusion meshes from faceted geometry.
- Getter:
Get the element reduction option
- Setter:
Set the element reduction option
- Type:
bool
- property eltt_ratio: float#
1.5]
- Getter:
Get the ELTT ratio option
- Setter:
Set the ELTT ratio option
- Type:
float
- Type:
Specifies edge length through thickness vs. global surface edge length. [0.4
- property eltt_ratio_al: float#
ELTTRatioAL
- Getter:
Get the ELTTRatioAL option
- Setter:
Set the ELTTRatioAL option
- Type:
float
- property gate_el_factor: float#
50].
- Getter:
Get the gate edge length factor option
- Setter:
Set the gate edge length factor option
- Type:
float
- Type:
Edge length factor for gate refinement [10
- property inc_thk_dd: bool#
Specifies whether to include thickness calculation.
- Getter:
Get the inc thickness calculation option
- Setter:
Set the inc thickness calculation option
- Type:
bool
- property match: bool#
Enables/disables matched meshing for fusion models.
- Getter:
Get the matched meshing option
- Setter:
Set the matched meshing option
- Type:
bool
- property max_chord_height_ratio_curve: float#
3].
- Getter:
Get the max chord height ratio curve option
- Setter:
Set the max chord height ratio curve option
- Type:
float
- Type:
Specifies chord height vs chord length for curves [0.02
- property max_edge_length_in_thickness_direction: float#
Specifies maximum edge length in thickness direction.
- Getter:
Get the max edge length in thickness direction option
- Setter:
Set the max edge length in thickness direction option
- Type:
float
- property maximum_match_distance: float#
Limit on match distance for wedges.
- Getter:
Get the maximum match distance option
- Setter:
Set the maximum match distance option
- Type:
float
- property maximum_match_distance_option: int#
Specifies the option to determine the limit on max match dist.
- Getter:
Get the maximum match distance option
- Setter:
Set the maximum match distance option
- Type:
int
- property merge_cavity_runner: bool#
Specifies whether merging cavity runner.
- Getter:
Get the merge cavity runner option
- Setter:
Set the merge cavity runner option
- Type:
bool
- property merge_tolerance: float#
Merge Tolerance of Mesh Generator Nodes within this tolerance will be merged after meshing.
- Getter:
Get the merge tolerance
- Setter:
Set the merge tolerance
- Type:
float
- property mesh_component_type: int#
Specifies mesh component type.
- Getter:
Get the mesh component type option
- Setter:
Set the mesh component type option
- Type:
int
- property mesh_curves_by_gel: bool#
Specifies whether to mesh curves by global edge length. Default is False and curve edge length will be related to diameters.
- Getter:
Get the mesh curves by global edge length option
- Setter:
Set the mesh curves by global edge length option
- Type:
bool
- property mesher_3d: str#
Specifies 3D mesher type.
- Getter:
Get the mesher 3D option
- Setter:
Set the mesher 3D option
- Type:
str
- property min_num_elm_baffle_bubblers: int#
50].
- Getter:
Get the min number of elements baffle bubblers option
- Setter:
Set the min number of elements baffle bubblers option
- Type:
int
- Type:
Specifies minimum number of beams on each curve for baffles and bubblers [3
- property min_num_elm_gates: int#
8].
- Getter:
Get the min number of elements gates option
- Setter:
Set the min number of elements gates option
- Type:
int
- Type:
Specifies min beams on gates [1
- property nurbs_mesher: int#
Specifies nurbs mesher algorithm using default(0) or Advancing Front(1).
- Getter:
Get the nurbs mesher option
- Setter:
Set the nurbs mesher option
- Type:
int
- property post_mesh_actions: bool#
Specifies whether post-meshing actions such as smoothing are enabled.
- Getter:
Get the post mesh actions option
- Setter:
Set the post mesh actions option
- Type:
bool
- property remesh_all: bool#
Specifies whether previously meshed portions of the model will be re-meshed.
- Getter:
Get the remesh all option
- Setter:
Set the remesh all option
- Type:
bool
- property smoothing: bool#
Specifies whether node positions will be smoothed.
- Getter:
Get the smoothing option
- Setter:
Set the smoothing option
- Type:
bool
- property source_geom_type: str#
Specifies Source Geometry Type.
- Getter:
Get the source geometry type option
- Setter:
Set the source geometry type option
- Type:
str
- property surface_edge_length_scale_factor: float#
5]. Real edge length = DefaultEdgeLength * scale.
- Getter:
Get the surface edge length scale factor option
- Setter:
Set the surface edge length scale factor option
- Type:
float
- Type:
Edge length scale factor, [0.4
- property surface_optimization: bool#
Specifies whether using surface optimization.
- Getter:
Get the surface optimization option
- Setter:
Set the surface optimization option
- Type:
bool
- property tetra_layers: int#
40].
- Getter:
Get the tetra layers option
- Setter:
Set the tetra layers option
- Type:
int
- Type:
Number of tetra layers through thickness for plastic parts [4
- property tetra_layers_for_cores: int#
20].
- Getter:
Get the tetra layers for cores option
- Setter:
Set the tetra layers for cores option
- Type:
int
- Type:
Number of tetra layers through thickness for cores/inserts [4
- property tetra_max_ar: float#
Limit on aspect ratio for tetrahedral meshes.
- Getter:
Get the tetra max aspect ratio option
- Setter:
Set the tetra max aspect ratio option
- Type:
float
- property tetra_refine: bool#
Enables/disables tetrahedral refinement for 3D meshes.
- Getter:
Get the tetra refine option
- Setter:
Set the tetra refine option
- Type:
bool
- property tri_classification_opt: int#
Specifies triangle classification option for CAD models Options: 0:ignore soft edges and merge slivers 1:preserve CAD edges except for slivers 2: preserve all CAD edges
- Getter:
Get the triangle classification option
- Setter:
Set the triangle classification option
- Type:
int
- property use_active_layer: bool#
Specifies whether the newly generated mesh will be pushed into the active layer.
- Getter:
Get the use active layer option
- Setter:
Set the use active layer option
- Type:
bool
- property use_auto_size: bool#
Specifies whether to use auto sizing for CAD.
- Getter:
Get the use auto size option
- Setter:
Set the use auto size option
- Type:
bool
- property use_fallbacks: bool#
Specifies whether fallback is to be used when CAD meshing fails.
- Getter:
Get the use fallbacks option
- Setter:
Set the use fallbacks option
- Type:
bool
- property use_gate_ref: bool#
Specifies whether to use gate refinement.
- Getter:
Get the use gate refinement option
- Setter:
Set the use gate refinement option
- Type:
bool
- property use_tetras_on_edge: bool#
Specifies whether tetras are to be created on model edges.
- Getter:
Get the use tetras on edge option
- Setter:
Set the use tetras on edge option
- Type:
bool