Ported Slic3r::GCode::OozePrevention storage to XS

This commit is contained in:
Alessandro Ranellucci 2015-07-01 21:01:42 +02:00
parent b43dd92766
commit 280f3f38d7
8 changed files with 42 additions and 6 deletions

View file

@ -212,8 +212,8 @@ sub export {
}
my $convex_hull = convex_hull([ map @$_, @skirts ]);
$gcodegen->ooze_prevention->enable(1);
$gcodegen->ooze_prevention->standby_points(
$gcodegen->ooze_prevention->set_enable(1);
$gcodegen->ooze_prevention->set_standby_points(
[ map @{$_->equally_spaced_points(scale 10)}, @{offset([$convex_hull], scale 3)} ]
);