SimplifyEdgeSettings

Edge and wire 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 edge options

simplified = project.Contents.Geometry:Simplify(union)
simplified.EdgeSettings.RemoveOnMetalFaces = false
simplified.EdgeSettings.RemoveOnDielectricFaces = false

Inheritance

The SimplifyEdgeSettings object is derived from the CompositeValue object.

Usage locations

The SimplifyEdgeSettings object can be accessed from the following locations:

Property List

KeepWithLocalMeshSizeEnabled
Keep edges/wires with local mesh sizes/wire radii. (Read/Write boolean)
RemoveInDielectricRegions
Remove wires inside dielectric regions. (Read/Write boolean)
RemoveInMetalRegions
Remove wires inside metal regions. (Read/Write boolean)
RemoveOnDielectricFaces
Remove edges on dielectric surfaces. (Read/Write boolean)
RemoveOnMetalFaces
Remove edges on metal surfaces. (Read/Write boolean)

Property Details

KeepWithLocalMeshSizeEnabled
Keep edges/wires with local mesh sizes/wire radii.
Type
boolean
Access
Read/Write
RemoveInDielectricRegions
Remove wires inside dielectric regions.
Type
boolean
Access
Read/Write
RemoveInMetalRegions
Remove wires inside metal regions.
Type
boolean
Access
Read/Write
RemoveOnDielectricFaces
Remove edges on dielectric surfaces.
Type
boolean
Access
Read/Write
RemoveOnMetalFaces
Remove edges on metal surfaces.
Type
boolean
Access
Read/Write