mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-02-02 01:48:42 +03:00
Optimized and fixed some bugs
This commit is contained in:
@@ -66,6 +66,20 @@ void ExtrusionPath::polygons_covered_by_spacing(Polygons &out, const float scale
|
||||
polygons_append(out, offset(this->polyline, 0.5f * float(flow.scaled_spacing()) + scaled_epsilon));
|
||||
}
|
||||
|
||||
//1.9.7.52
|
||||
bool ExtrusionPath::can_merge(const ExtrusionPath& other)
|
||||
{
|
||||
return overhang_degree == other.overhang_degree &&
|
||||
curve_degree==other.curve_degree &&
|
||||
mm3_per_mm == other.mm3_per_mm &&
|
||||
width == other.width &&
|
||||
height == other.height &&
|
||||
m_can_reverse == other.m_can_reverse &&
|
||||
m_role == other.m_role &&
|
||||
m_no_extrusion == other.m_no_extrusion &&
|
||||
smooth_speed == other.smooth_speed;
|
||||
}
|
||||
|
||||
void ExtrusionMultiPath::reverse()
|
||||
{
|
||||
for (ExtrusionPath &path : this->paths)
|
||||
|
||||
Reference in New Issue
Block a user