~ubuntu-branches/ubuntu/utopic/slic3r/utopic

« back to all changes in this revision

Viewing changes to lib/Slic3r/Print/State.pm

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2014-06-17 01:27:26 UTC
  • Revision ID: package-import@ubuntu.com-20140617012726-2wrs4zdo251nr4vg
Tags: upstream-1.1.4+dfsg
ImportĀ upstreamĀ versionĀ 1.1.4+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package Slic3r::Print::State;
 
2
use strict;
 
3
use warnings;
 
4
 
 
5
require Exporter;
 
6
our @ISA = qw(Exporter);
 
7
our @EXPORT_OK   = qw(STEP_INIT_EXTRUDERS STEP_SLICE STEP_PERIMETERS STEP_PREPARE_INFILL 
 
8
                    STEP_INFILL STEP_SUPPORTMATERIAL STEP_SKIRT STEP_BRIM);
 
9
our %EXPORT_TAGS = (steps => \@EXPORT_OK);
 
10
 
 
11
our %print_steps = map { $_ => 1 } (
 
12
    STEP_INIT_EXTRUDERS,
 
13
    STEP_SKIRT,
 
14
    STEP_BRIM,
 
15
);
 
16
 
 
17
our %prereqs = (
 
18
    STEP_INIT_EXTRUDERS     => [],
 
19
    STEP_SLICE              => [],
 
20
    STEP_PERIMETERS         => [STEP_SLICE, STEP_INIT_EXTRUDERS],
 
21
    STEP_PREPARE_INFILL     => [STEP_PERIMETERS],
 
22
    STEP_INFILL             => [STEP_INFILL],
 
23
    STEP_SUPPORTMATERIAL    => [STEP_SLICE, STEP_INIT_EXTRUDERS],
 
24
    STEP_SKIRT              => [STEP_PERIMETERS, STEP_INFILL],
 
25
    STEP_BRIM               => [STEP_PERIMETERS, STEP_INFILL, STEP_SKIRT],
 
26
);
 
27
 
 
28
1;