mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
Removing offset2 from Perl bindings and other minor cleanup.
This commit is contained in:
parent
1c6333e557
commit
f16d4953be
6 changed files with 4 additions and 32 deletions
|
@ -15,22 +15,6 @@ using namespace Slic3r;
|
|||
|
||||
namespace Slic3r {
|
||||
ClipperLib::Path mittered_offset_path_scaled(const Points& contour, const std::vector<float>& deltas, double miter_limit);
|
||||
|
||||
#if 0
|
||||
static Points mittered_offset_path_scaled_points(const Points& contour, const std::vector<float>& deltas, double miter_limit)
|
||||
{
|
||||
Points out;
|
||||
ClipperLib::Path scaled = mittered_offset_path_scaled(contour, deltas, miter_limit);
|
||||
for (ClipperLib::IntPoint& pt : scaled) {
|
||||
pt.X += CLIPPER_OFFSET_SCALE_ROUNDING_DELTA;
|
||||
pt.Y += CLIPPER_OFFSET_SCALE_ROUNDING_DELTA;
|
||||
pt.X >>= CLIPPER_OFFSET_POWER_OF_2;
|
||||
pt.Y >>= CLIPPER_OFFSET_POWER_OF_2;
|
||||
out.emplace_back(coord_t(pt.x()), coord_t(pt.y()));
|
||||
}
|
||||
return out;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static ExPolygon spirograph_gear_1mm()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue