mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
TreeSupport: Fix UTF-8 errors
Let's just translate the comments into English while we are at it.
This commit is contained in:
@@ -2057,16 +2057,16 @@ void TreeSupport::draw_circles(const std::vector<std::vector<Node*>>& contact_no
|
|||||||
|
|
||||||
const Node& node = *p_node;
|
const Node& node = *p_node;
|
||||||
ExPolygon area;
|
ExPolygon area;
|
||||||
// 直接从overhang多边形生æˆ<EFBFBD>,如果ï¼?
|
// Generate directly from overhang polygon if one of the following is true:
|
||||||
// 1) 是混å<EFBFBD>ˆæ”¯æ’‘里的普通部分,
|
// 1) node is a normal part of hybrid support
|
||||||
// 2) å<EFBFBD>¯ç”¨äº†é¡¶éƒ¨æŽ¥è§¦å±‚ï¼?
|
// 2) top interface layers are enabled
|
||||||
// 3) 是顶部空�
|
// 3) node is virtual
|
||||||
if (node.type == ePolygon || (top_interface_layers>0 &&node.support_roof_layers_below > 0) || node.distance_to_top<0) {
|
if (node.type == ePolygon || (top_interface_layers>0 &&node.support_roof_layers_below > 0) || node.distance_to_top<0) {
|
||||||
if (node.overhang->contour.size() > 100 || node.overhang->holes.size()>1)
|
if (node.overhang->contour.size() > 100 || node.overhang->holes.size()>1)
|
||||||
area = *node.overhang;
|
area = *node.overhang;
|
||||||
else {
|
else {
|
||||||
auto tmp = offset_ex({ *node.overhang }, scale_(m_ts_data->m_xy_distance));
|
auto tmp = offset_ex({ *node.overhang }, scale_(m_ts_data->m_xy_distance));
|
||||||
if(!tmp.empty()) // 对于有缺陷的模型,overhang膨胀以å<EFBFBD>Žå<EFBFBD>¯èƒ½æ˜¯ç©ºçš„ï¼<EFBFBD>
|
if(!tmp.empty()) // can be empty for non-manifold models
|
||||||
area = tmp[0];
|
area = tmp[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user