Invert SVG colors for DLP printing. #380
This commit is contained in:
parent
ce6b4aeaee
commit
181f750618
@ -310,7 +310,7 @@ EOF
|
|||||||
my ($polygon, $type) = @_;
|
my ($polygon, $type) = @_;
|
||||||
printf $fh qq{ <polygon slic3r:type="%s" points="%s" style="fill: %s" />\n},
|
printf $fh qq{ <polygon slic3r:type="%s" points="%s" style="fill: %s" />\n},
|
||||||
$type, (join ' ', map { join ',', map unscale $_, @$_ } @$polygon),
|
$type, (join ' ', map { join ',', map unscale $_, @$_ } @$polygon),
|
||||||
($type eq 'contour' ? 'black' : 'white');
|
($type eq 'contour' ? 'white' : 'black');
|
||||||
};
|
};
|
||||||
|
|
||||||
for my $layer_id (0..$self->layer_count-1) {
|
for my $layer_id (0..$self->layer_count-1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user