bsModelFeatures

Module: bsModelFeatures

Interface for the declaration of needed features for exposure calculation.

Integer nFeatureHullAndCore

Option “hull and core” - Hull and Core areas. Calculation of hull- and core-areas of the build part. Option has to be enabled to be able to use bsHullAndCoreGenerator.

Integer nFeatureMaterialThickness

Option “material thickness”. Counting solidified layers below a certain position on actual layer.

Integer nFeatureShadowBox

Option “shadow box” - box shaped part shadows. Providing a simplified box shaped shadow polygon of the build part.

Integer nFeatureShadowPolygon

Option “shadow polygon” - polygon part shadows. Providing an exact shadow polygon of the build part.

bsModelFeatures.declareSingleHullCore(sParamSetName, paramSet)

Declare a parameter set object to be used with bsSingleHullAndCoreGenerator for single hull and core calculation. The paramSet object has to contain the “hull and core” parameters as shown here:

let single_hull_core_1 =
  {
    coreSkip : 2,
    minThickness : 0.5
  };

Arguments:

bsModelFeatures.enableFeature(nType, bEnable)

Enables or disables an additional calculation feature.

Arguments: