SimplifyRegionSettings

Region 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 a region option

simplified = project.Geometry:Simplify(union)
simplified.RegionSettings.KeepWithLocalMeshSizeEnabled = true

Usage locations (object properties)

The following objects have properties using the SimplifyRegionSettings object:

Property List

KeepWithLocalMeshSizeEnabled
Keep regions with local mesh sizes. (Read/Write boolean)

Property Details

KeepWithLocalMeshSizeEnabled
Keep regions with local mesh sizes.
Type
boolean
Access
Read/Write