Skip to content

Commit

Permalink
FIX: rotate model before cut, the rotation of connectors is incorrect
Browse files Browse the repository at this point in the history
github issue #1646 & #1647

Change-Id: Iab1d6984685a532011f425e704ccae039a6ef65d
  • Loading branch information
zhimin-zeng-bambulab authored and lanewei120 committed Jul 7, 2023
1 parent 7a988c1 commit d5017bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libslic3r/Model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<float>());
Expand Down

0 comments on commit d5017bd

Please sign in to comment.