Path: Adaptive - added stock to leave option
This commit is contained in:
@@ -854,7 +854,12 @@ namespace AdaptivePath {
|
||||
inputPaths.push_back(cpth);
|
||||
}
|
||||
SimplifyPolygons(inputPaths);
|
||||
if(fabs(stockToLeave)>NTOL) {
|
||||
clipof.Clear();
|
||||
clipof.AddPaths(inputPaths,JoinType::jtRound,EndType::etClosedPolygon);
|
||||
clipof.Execute(inputPaths,-stockToLeave*scaleFactor);
|
||||
|
||||
}
|
||||
// *******************************
|
||||
// Resolve hierarchy and run processing
|
||||
// ********************************
|
||||
|
||||
Reference in New Issue
Block a user