Meshing

Remesher

class vSCAD.Meshing.remesh.Remesh(stl_path)[source]

Bases: object

remesh_stl()[source]

Remesh the STL file using PyMeshLab.

set_final_smoothing_iterations(final_smoothing_iterations)[source]

Sets the number of iterations for final smoothing. :param final_smoothing_iterations: The number of iterations for final smoothing. :type final_smoothing_iterations: int

set_final_target_length_percentage(target_length_percentage)[source]

Sets the final target length percentage for remeshing. :param target_length_percentage: The final target length percentage for remeshing. :type target_length_percentage: float

set_initial_target_length_percentage(target_length_percentage)[source]

Sets the initial target length percentage for remeshing. :param target_length_percentage: The initial target length percentage for remeshing. :type target_length_percentage: float

set_isotropic_remeshing_iterations(isotropic_remeshing_iterations)[source]

Sets the number of iterations for isotropic remeshing. :param isotropic_remeshing_iterations: The number of iterations for isotropic remeshing. :type isotropic_remeshing_iterations: int

set_recursive_smoothing_iterations(recursive_smoothing_iterations)[source]

Sets the number of iterations for recursive smoothing. :param recursive_smoothing_iterations: The number of iterations for recursive smoothing. :type recursive_smoothing_iterations: int

set_saveout_period(saveout_period)[source]

Sets the period for saving intermediate meshes during remeshing. :param saveout_period: The period for saving intermediate meshes during remeshing. :type saveout_period: int

set_target_length_reduction_step_size(target_length_reduction_step_size)[source]

Sets the step size for reducing the target length percentage during remeshing. :param target_length_reduction_step_size: The step size for reducing the target length percentage. :type target_length_reduction_step_size: float