Sha256: 4fef13cc3c7bf6a789d8dc503f4cb21fdceba43e450ab8c293fd5d5babd270da

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

package Slic3r::Fill::Flowsnake;
use Moo;

extends 'Slic3r::Fill::PlanePath';

use Math::PlanePath::Flowsnake;
use Slic3r::Geometry qw(X);

# Sorry, this fill is currently broken.

sub process_polyline {
    my $self = shift;
    my ($polyline, $bounding_box) = @_;
    
    $_->[X] += $bounding_box->center->[X] for @$polyline;
}

1;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
STLExtract-1.0.1 Slic3r/Linux/lib/std/Slic3r/Fill/Flowsnake.pm
STLExtract-1.0.0 Slic3r/Linux/lib/std/Slic3r/Fill/Flowsnake.pm