bsMachineConfig

Module: bsMachineConfig

Interface for the configuration of the supported machines and materials.

bsMachineConfig.addLayerThickness(nThickness)

Defines a layer thickness which is supported by all materials of the post-processor. Any number of different layer thicknesses can be defined.

Arguments:

bsMachineConfig.addLayerThicknessToMaterial(sMatName, nThickness)

Defines a layer thickness which is supported by the specified material of the post-processor. Any number of different layer thicknesses can be defined.

Arguments:

bsMachineConfig.setBuildstyleName(sName)

Sets the name of the post-processor. The name of the post-processor should be expected to be shown to the user for selection.

Arguments:

bsMachineConfig.setSchema(sSchema)

Sets the schema string of the post-processor (optional). This is the schema for which toolpathes and additional attributes are generated by the script.

Arguments:

bsMachineConfig.setMachineName(sName)

Defines the machine for which the post-processor is allowed to be used with.

Arguments:

bsMachineConfig.addMaterialName(sName)

Defines a material which is supported by the post-processor. Any number of different materials can be defined.

Arguments:

bsMachineConfig.addKeyValueString(sKey, sValue)

Adds a key-value pair to all materials of the post-processor. If a key-value pair with the same key already exists then the value of the existing pair will be replaced with the new value. Adding key-value pairs to materials allows to provide additional information to the main application. E.g. the key ‘SelfSupportingAngle’ is used to let the main application know about the self-supporting angle (degree as value string).

Arguments:

bsMachineConfig.addKeyValueStringToMaterial(sMatName, sKey, sValue)

Adds a key-value pair to a material of the post-processor. If a key-value pair with the same key already exists then the value of the existing pair will be replaced with the new value. Adding key-value pairs to a material allows to provide additional information to the main application. E.g. the key ‘SelfSupportingAngle’ is used to let the main application know about the self-supporting angle (degree as value string).

Arguments: