SimplifyRegionSettings

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

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

Inheritance

The SimplifyRegionSettings object is derived from the CompositeValue object.

Usage locations

The SimplifyRegionSettings object can be accessed from the following locations:

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