MeshSettings
The model mesher.
Example
application = cf.Application.getInstance() project = application:NewProject() -- Set the frequency project.Contents.SolutionConfigurations.GlobalFrequency.Start = "1e08" -- Create geometry project.Contents.Geometry:AddHelix(cf.Point(0,0,0), 0.1, 0.1, 1.0, 5.0, false) -- Set the wire radius on the 'MeshSettings' project.Mesher.Settings.WireRadius = "0.01" -- Mesh project.Mesher:Mesh()
Inheritance
The MeshSettings object is derived from the Object object.
The following objects are derived (specialisations) from the MeshSettings object:
Usage locations
The MeshSettings object can be accessed from the following locations:
- Properties
- Mesh object has property MeshSettings.
- Geometry object has property MeshSettings.
- AnalyticalCurve object has property MeshSettings.
- BezierCurve object has property MeshSettings.
- Cone object has property MeshSettings.
- ConstrainedSurface object has property MeshSettings.
- Cuboid object has property MeshSettings.
- Cylinder object has property MeshSettings.
- Ellipse object has property MeshSettings.
- EllipticArc object has property MeshSettings.
- FittedSpline object has property MeshSettings.
- Flare object has property MeshSettings.
- Helix object has property MeshSettings.
- HyperbolicArc object has property MeshSettings.
- ImprintPoints object has property MeshSettings.
- Intersect object has property MeshSettings.
- Loft object has property MeshSettings.
- PathSweep object has property MeshSettings.
- ProjectGeometry object has property MeshSettings.
- RepairAndSewFaces object has property MeshSettings.
- RepairPart object has property MeshSettings.
- Spin object has property MeshSettings.
- Split object has property MeshSettings.
- Stitch object has property MeshSettings.
- Subtract object has property MeshSettings.
- Sweep object has property MeshSettings.
- Union object has property MeshSettings.
- Simplify object has property MeshSettings.
- Line object has property MeshSettings.
- NurbsSurface object has property MeshSettings.
- ParabolicArc object has property MeshSettings.
- Paraboloid object has property MeshSettings.
- Polygon object has property MeshSettings.
- Polyline object has property MeshSettings.
- Primitive object has property MeshSettings.
- Rectangle object has property MeshSettings.
- Sphere object has property MeshSettings.
- AbstractSurfaceCurve object has property MeshSettings.
- SurfaceBezierCurve object has property MeshSettings.
- SurfaceLine object has property MeshSettings.
- SurfaceRegularLines object has property MeshSettings.
Property List
- Advanced
- Advanced meshing settings. (Read/Write MeshAdvancedSettings)
- Label
- The object label. (Read/Write string)
- MeshSizeOption
- Mesh size option. (Read/Write MeshSizeOptionEnum)
- TetrahedronEdgeLength
- Mesh tetrahedron edge length. Only applied if MeshSizeOption is Custom and there is at least one volume in the model. (Read/Write ParametricExpression)
- TriangleEdgeLength
- Mesh triangle edge length. Only applied if MeshSizeOption is Custom and there is at least one surface in the model. (Read/Write ParametricExpression)
- Type
- The object type string. (Read only string)
- WireRadius
- Mesh wire segment radius. Only applied if there is at least one wire in the model. (Read/Write ParametricExpression)
- WireSegmentLength
- Mesh wire segment length. Only applied if MeshSizeOption is Custom and there is at least one wire in the model. (Read/Write ParametricExpression)
Method List
- Delete ()
- Deletes the entity.
- Duplicate ()
- Duplicates the entity. (Returns a Object object.)
- GetProperties ()
- Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step. (Returns a table object.)
- SetProperties (properties Object)
- Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
Static Function List
- GetDefaultProperties ()
- Creates a table containing the default settings to create an object. (Returns a table object.)
Property Details
- Advanced
- Advanced meshing settings.
- Type
- MeshAdvancedSettings
- Access
- Read/Write
- Label
- The object label.
- Type
- string
- Access
- Read/Write
- MeshSizeOption
- Mesh size option.
- Type
- MeshSizeOptionEnum
- Access
- Read/Write
- TetrahedronEdgeLength
- Mesh tetrahedron edge length. Only applied if MeshSizeOption is Custom and there is at least one volume in the model.
- Type
- ParametricExpression
- Access
- Read/Write
- TriangleEdgeLength
- Mesh triangle edge length. Only applied if MeshSizeOption is Custom and there is at least one surface in the model.
- Type
- ParametricExpression
- Access
- Read/Write
- Type
- The object type string.
- Type
- string
- Access
- Read only
- WireRadius
- Mesh wire segment radius. Only applied if there is at least one wire in the model.
- Type
- ParametricExpression
- Access
- Read/Write
- WireSegmentLength
- Mesh wire segment length. Only applied if MeshSizeOption is Custom and there is at least one wire in the model.
- Type
- ParametricExpression
- Access
- Read/Write
Method Details
- Delete ()
- Deletes the entity.
- Duplicate ()
- Duplicates the entity.
- Return
- Object
- The new (duplicated) entity.
- GetProperties ()
- Returns a table of properties representing the state of the object. The properties table can be used with the SetProperties method to change multiple properties of the object in one step.
- Return
- table
- A table defining the properties.
- SetProperties (properties Object)
- Modifies the state of the object using the provided table of properties. This method is used to modify multiple properties of the object in a single step.
- Input Parameters
- properties(Object)
- A table of properties defining the new state of the object.
Static Function Details
- GetDefaultProperties ()
- Creates a table containing the default settings to create an object.
- Return
- table
- A table containing the default properties.