SimplifyFaceSettings

Face simplification settings.

Example

application = cf.Application.GetInstance()
project = application:NewProject()

    -- Create some geometry to simplify

cube1 = project.Contents.Geometry:AddCuboid(cf.Point(0, 0, 0), 1, 1, 1)
cube2 = project.Contents.Geometry:AddCuboid(cf.Point(0, 0, 1), 1, 1, 1)
union = project.Contents.Geometry:Union({cube1, cube2})

    -- Now simplify the geometry and adjust some face options

simplified = project.Contents.Geometry:Simplify(union)
simplified.FaceSettings.RemoveBetweenEqualMetalRegions = false
simplified.FaceSettings.KeepWithLocalMeshSizeEnabled = true

Inheritance

The SimplifyFaceSettings object is derived from the CompositeValue object.

Usage locations

The SimplifyFaceSettings object can be accessed from the following locations:

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