Table of contents

  1. Global Constraints
    1. MIN_PART_DISTANCE
      1. Schema
      2. Properties
      3. Usage Notes
      4. Example Use Cases
    2. VOLUME_BASED_SPACING
      1. Schema
      2. Properties
      3. Usage Notes
      4. Example Use Cases

Global Constraints

MIN_PART_DISTANCE

Defines the minimum required spacing between any two parts.

Schema

{
  "type": "MIN_PART_DISTANCE",
  "value": {
    "distance": 2.0,
    "units": "mm"
  }
}

Properties

Property Type Description
distance number Minimum distance between parts (>0)
units string Must be “mm”, “cm”, “in” or “ft”

Usage Notes

  • Applies to all parts regardless of size
  • Measured from part boundaries
  • Critical for post-processing access

Example Use Cases

  • Ensuring parts can be separated
  • Allowing for thermal expansion
  • Maintaining accessibility for support removal

VOLUME_BASED_SPACING

Defines different spacing requirements based on part size.

Schema

{
  "type": "VOLUME_BASED_SPACING",
  "value": {
    "smallParts": {
      "maxVolume": 125000,
      "minSpacing": 2,
      "units": "mm"
    },
    "largeParts": {
      "minVolume": 1000000,
      "minSpacing": 5,
      "units": "mm"
    }
  }
}

Properties

Property Type Description
smallParts.maxVolume number Maximum volume for small parts (mm³)
smallParts.minSpacing number Minimum spacing for small parts
smallParts.units string Must be “mm”, “cm”, “in” or “ft”
largeParts.minVolume number Minimum volume for large parts (mm³)
largeParts.minSpacing number Minimum spacing for large parts
largeParts.units string Must be “mm”, “cm”, “in” or “ft”

Usage Notes

  • Parts between size ranges use linear interpolation
  • Volumes are calculated after orientation
  • Takes precedence over MIN_PART_DISTANCE

Example Use Cases

  • Thermal management for different part sizes
  • Optimizing packing density
  • Managing part removal complexity