1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-25 10:15:50 +00:00

Generate GCODE

This commit is contained in:
Alessandro Ranellucci
2011-09-03 20:47:38 +02:00
parent 74b4d8d612
commit a5ba0af7ef
6 changed files with 139 additions and 4 deletions
+3 -1
View File
@@ -1,9 +1,11 @@
package Slic3r::Line;
use Moose;
use Moose::Util::TypeConstraints;
use Scalar::Util qw(weaken);
subtype 'Slic3r::Line::Length', as 'Int';
coerce 'Slic3r::Line::Length', from 'Num', via { sprintf '%.0f', $_ };
has 'a' => (
is => 'ro',
isa => 'Slic3r::Point',