Skip to content

Commit

Permalink
Do compute normals in toString
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-urbanczyk authored Oct 5, 2022
1 parent 8c7ef47 commit 13c1d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cadquery/occ_impl/exporters/vtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def toString(

writer = vtkXMLPolyDataWriter()
writer.SetWriteToOutputString(True)
writer.SetInputData(shape.toVtkPolyData(tolerance, angularTolerance))
writer.SetInputData(shape.toVtkPolyData(tolerance, angularTolerance, True))
writer.Write()

return writer.GetOutputString()

0 comments on commit 13c1d09

Please sign in to comment.