From ae0a470f4c4a0707637c166227b8fea299ca9a5c Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Fri, 21 Apr 2023 11:02:36 +0800 Subject: [PATCH] FIX: rotate model before cut, the rotation of connectors is incorrect github issue #1646 & #1647 Change-Id: Iab1d6984685a532011f425e704ccae039a6ef65d (cherry picked from commit 1219045039de4ac0ed677b264e6e8469e6bc72dd) --- src/libslic3r/Model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Model.cpp b/src/libslic3r/Model.cpp index 5dac9b6d73..9d2c664d26 100644 --- a/src/libslic3r/Model.cpp +++ b/src/libslic3r/Model.cpp @@ -1846,7 +1846,7 @@ void ModelObject::process_connector_cut( // Perform cut TriangleMesh upper_mesh, lower_mesh; - process_volume_cut(volume, instance_matrix, cut_matrix, attributes, upper_mesh, lower_mesh); + process_volume_cut(volume, Transform3d::Identity(), cut_matrix, attributes, upper_mesh, lower_mesh); // add small Z offset to better preview upper_mesh.translate((-0.05 * Vec3d::UnitZ()).cast());