SimplifyEdgeSettings
Edge and wire 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 edge options simplified = project.Geometry:Simplify(union) simplified.EdgeSettings.RemoveOnMetalFaces = false simplified.EdgeSettings.RemoveOnDielectricFaces = false
Usage locations (object properties)
The following objects have properties using the SimplifyEdgeSettings object:
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