mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Generate GCODE
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user