SimplifyFaceSettings
Face simplification settings.
Example
app = cf.GetApplication() project = app:NewProject() -- Create some geometry to simplify cube1 = project.Geometry:AddCuboid(cf.Point(0, 0, 0), 1, 1, 1) cube2 = project.Geometry:AddCuboid(cf.Point(0, 0, 1), 1, 1, 1) union = project.Geometry:Union({cube1, cube2}) -- Now simplify the geometry and adjust some face options simplified = project.Geometry:Simplify(union) simplified.FaceSettings.RemoveBetweenEqualMetalRegions = false simplified.FaceSettings.KeepWithLocalMeshSizeEnabled = true
Usage locations (object properties)
The following objects have properties using the SimplifyFaceSettings object:
Property List
- KeepWithLocalMeshSizeEnabled
- Keep faces with local mesh sizes. (Read/Write boolean)
- RemoveBetweenEqualDielectricRegions
- Remove faces between equal dielectric regions. (Read/Write boolean)
- RemoveBetweenEqualMetalRegions
- Remove faces between equal metal regions. (Read/Write boolean)
- RemoveBetweenShellRegions
- Remove faces between shell regions. (Read/Write boolean)
Property Details
- KeepWithLocalMeshSizeEnabled
- Keep faces with local mesh sizes.
- Type
- boolean
- Access
- Read/Write
- RemoveBetweenEqualDielectricRegions
- Remove faces between equal dielectric regions.
- Type
- boolean
- Access
- Read/Write
- RemoveBetweenEqualMetalRegions
- Remove faces between equal metal regions.
- Type
- boolean
- Access
- Read/Write
- RemoveBetweenShellRegions
- Remove faces between shell regions.
- Type
- boolean
- Access
- Read/Write