Merge pull request #26422 from Dimitris75/CAM-Fix-Waterline-OCL-Adaptive

CAM: Waterline OCL Adaptive - Fix Linear and Angular Deflection Values
This commit is contained in:
sliptonic
2025-12-27 11:22:21 -06:00
committed by GitHub

View File

@@ -1281,8 +1281,8 @@ def _makeSTL(model, obj, ocl, model_type=None):
# Workaround for tessellate bug
mesh = MeshPart.meshFromShape(
Shape=shape,
LinearDeflection=obj.lin_def,
AngularDeflection=obj.ang_def,
LinearDeflection=lin_def,
AngularDeflection=ang_def,
)
vertices = [point.Vector for point in mesh.Points]
facet_indices = [facet.PointIndices for facet in mesh.Facets]