Analysis

class pyvcad.SupportAnalyzer

Analyzes a model to determine support structures needed

__init__(self: pyvcad.pyvcad.SupportAnalyzer, input_model: pyvcad.pyvcad.Node, voxel_size: pyvcad.pyvcad.Vec3, material_id: SupportsInt = 1) None

Constructor for SupportAnalyzer.

Parameters:
  • input_model (Node) – The input 3D model to analyze.

  • voxel_size (glm.vec3) – The size of each voxel in mm.

  • material_id (int, optional) – The material ID to use for support structures. Default is 1.

analyze(self: pyvcad.pyvcad.SupportAnalyzer) pyvcad.pyvcad.Node

Analyze the input model and return the support analysis as a Node

class pyvcad.SupportAnalyzerParallel

Analyzes a model to determine support structures needed

__init__(self: pyvcad.pyvcad.SupportAnalyzerParallel, input_model: pyvcad.pyvcad.Node, voxel_size: pyvcad.pyvcad.Vec3, material_id: SupportsInt = 1) None

Constructor for SupportAnalyzer.

Parameters:
  • input_model (Node) – The input 3D model to analyze.

  • voxel_size (glm.vec3) – The size of each voxel in mm.

  • material_id (int, optional) – The material ID to use for support structures. Default is 1.

analyze(self: pyvcad.pyvcad.SupportAnalyzerParallel) pyvcad.pyvcad.Node

Analyze the input model and return the support analysis as a Node