majroy / d3dslic3r

Slic3s and dic3s!
Other
0 stars 1 forks source link

Reorientation of base polydata denies the ability to re-slice due to it being connected to a VTK filter #2

Closed majroy closed 3 months ago

majroy commented 3 months ago

Reorientation of the base geometry as loaded from an STL file works fine until it is sliced. Once sliced, the polydata is associated with a connectivity filter that does not update with modification to the underlying polydata. Current remedy is to 'export' the result of any geometry modifcation and re-load to clear the filter. Perhaps a VTK deep copy is required?

majroy commented 3 months ago

Doesn't happen with Python 3.11.

majroy commented 3 months ago

May be fixed with v0.3post1 - @leoxiaoyuan I've removed the 'stripper' so that it only operates on the points that get returned from the cutter in get_slice_data. This is tied to issue 1, so it's important to test out remedies for issue 1 with Python 3.12.

majroy commented 3 months ago

Fixed with 0.3post2 using a DeepCopy in get_slice_data to break any connections with the polydata object in the GUI.