Windows

Default Panel

../../../Modules/ML/MLCSOMiscModulesStable/mhelp/Images/Screenshots/CSOReduce._default.png

Input Fields

inCSOList

name: inCSOList, type: MLBase

Output Fields

outCSOList

name: outCSOList, type: MLBase

Parameter Fields

Visible Fields

Mode (updateMode)

name: updateMode, type: Enum, default: AutoClear

Values:

Title Name
Off Off
Auto Update AutoUpdate
Auto Clear AutoClear

Auto apply

name: autoApply, type: Bool, default: FALSE

Update

name: apply, type: Trigger

Style

name: pathPointStyle, type: Enum, default: LineStyleSolid, deprecated name: pathPointLineStyle

Values:

Title Name
None LineStyleNone
Solid LineStyleSolid
Dashed LineStyleDashed
Dotted LineStyleDotted
Short Dashed LineStyleShortDashed

Width

name: pathPointWidth, type: Float, default: 1, deprecated name: pathPointLineWidth

Color (pathPointColor)

name: pathPointColor, type: Color, default: 1 1 0

Path Point Alpha

name: pathPointAlpha, type: Float, default: 1, minimum: 0, maximum: 1

Mode (seedPointStyle)

name: seedPointStyle, type: Enum, default: MarkerModeRect, deprecated name: markerMode

Values:

Title Name
None MarkerModeNone
Rect MarkerModeRect
Circle MarkerModeCircle
Fixed Cirlce MarkerModeFixedCirlce

Size

name: seedPointSize, type: Float, default: 2, deprecated name: markerSize

Color (seedPointColor)

name: seedPointColor, type: Color, default: 0 1 0, deprecated name: markerColor

Seed Point Alpha

name: seedPointAlpha, type: Float, default: 1, minimum: 0, maximum: 1, deprecated name: markerAlpha

Write Mode

name: voxelWriteMode, type: Enum, default: VoxelWriteModeModule

Values:

Title Name
Id VoxelWriteModeId
Const VoxelWriteModeConst
Const Plus Id VoxelWriteModeConstPlusId
Module VoxelWriteModeModule

Value

name: voxelWriteValue, type: Float, default: 1024

CSO Ids

name: csoIdList, type: String

Work directly on input CSOList

name: workDirectlyOnInputList, type: Bool, default: TRUE

Enable Undo/Redo

name: useUndoRedo, type: Bool, default: TRUE

Change settings of modified CSOs

name: changeSettingsForModifiedCSOs, type: Bool, default: FALSE

Finishing

name: listenToFinishingNotifications, type: Bool, default: TRUE

Selection

name: listenToSelectionNotifications, type: Bool, default: TRUE

Quality

name: quality, type: Float, default: 0.5, minimum: 0, maximum: 1

Reduction Mode

name: reductionMode, type: Enum, default: AngleAndLength

Values:

Title Name
Angle Angle
Length Length
Angle And Length AngleAndLength

Reduction Target

name: reductionTarget, type: Enum, default: PathPoints

In both cases, the thinning algorithm is applied to the path points. In the PathPoints case, the resulting CSOs have a single seed point and thinned out path points. In the SeedPoints case, the thinned out path points become the seed points and path points are interpolated between them. In the latter case, the number of seed points can actually increase. The geometry of the CSO is the same in both cases, just the distribution of seed and path points is different.

Values:

Title Name Description
Seed Points SeedPoints The resulting CSOs will have seed points where they would have path points in PathPoints mode and additionally interpolating path points.
Path Points PathPoints The resulting CSOs will have a single seed point and thinned out path points.

Use Min Num Points

name: useMinNumPoints, type: Bool, default: FALSE

Min Num Points

name: minNumPoints, type: Integer, default: 3, minimum: 3

Hidden Fields

isProcessing

name: isProcessing, type: Bool, default: FALSE

done

name: done, type: Trigger

emptyGroupBeforeGeneration

name: emptyGroupBeforeGeneration, type: Bool, default: FALSE

addCSOToGroupMode

name: addCSOToGroupMode, type: Enum, default: AddToGroupByLabel

Values:

Title Name
None AddToGroupNone
By Label AddToGroupByLabel
By Id AddToGroupById

addCSOToGroupWithLabel

name: addCSOToGroupWithLabel, type: String

addCSOToGroupWithId

name: addCSOToGroupWithId, type: Integer, default: -1

id

name: id, type: Integer, default: 0