slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.27k stars 1.28k forks source link

Slic3r 0.8.2 and new randomize starting points feature #408

Closed ghost closed 11 years ago

ghost commented 12 years ago

Slic3r 0.8.2 on windows 7 seems to be great so far for me.

One slight thing - the new GUI option to "randomize starting points" in the GUI works in reverse. ie. if it is ticked then it does not randomize but if it is unticked then it does randomize. I think this is backwards.

To replicate the bug, view the generated gcode in a gcode viewer (I use repetier) with and without this option ticked.

repetier commented 12 years ago

An other problem with the same parameter is that it isn't possible to change behaviour from command line. I called it with these two version:

09:42:47.095 : --nozzle-diameter 0.35 -o "C:\Users\littwin\Documents\reprap\work\composition.gcode" --gcode-comments -j 2 --z-offset 0 --filament-diameter 2.95 --extrusion-multiplier 1 --temperature 240 --infill-speed 60 --solid-infill-speed 60 --travel-speed 150 --bridge-speed 60 --perimeter-speed 30 --small-perimeter-speed 30 --bottom-layer-speed-ratio 0.5 --bridge-flow-ratio 1 --layer-height 0.25 --first-layer-height-ratio 0.9 --infill-every-layers 1 --perimeters 3 --solid-layers 3 --fill-density 0.4 --fill-angle 0 --fill-pattern rectilinear --solid-fill-pattern line --retract-length 3 --retract-speed 20 --retract-restart-extra 0 --retract-before-travel 2 --retract-lift 0 --skirts 1 --skirt-distance 6 --skirt-height 1 --extrusion-width-ratio 0 --print-center 112,96 --cooling --bridge-fan-speed 100 --disable-fan-first-layers 1 --fan-below-layer-time 60 --max-fan-speed 100 --min-fan-speed 35 --min-print-speed 10 --slowdown-below-layer-time 15 --support-material --support-material-tool 0 --gcode-flavor reprap --first-layer-temperature 240 --bed-temperature 20 --first-layer-bed-temperature 20 --fan-always-on --start-gcode "Z:\Documents\Projekte\repetier\Repetier-Host\src\RepetierHost\bin\Release\empty.txt" --end-gcode "Z:\Documents\Projekte\repetier\Repetier-Host\src\RepetierHost\bin\Release\empty.txt" "C:\Users\littwin\Documents\reprap\work\composition.stl" 09:44:21.872 : --nozzle-diameter 0.35 -o "C:\Users\littwin\Documents\reprap\work\composition.gcode" --gcode-comments -j 2 --randomize-start --z-offset 0 --filament-diameter 2.95 --extrusion-multiplier 1 --temperature 240 --infill-speed 60 --solid-infill-speed 60 --travel-speed 150 --bridge-speed 60 --perimeter-speed 30 --small-perimeter-speed 30 --bottom-layer-speed-ratio 0.5 --bridge-flow-ratio 1 --layer-height 0.25 --first-layer-height-ratio 0.9 --infill-every-layers 1 --perimeters 3 --solid-layers 3 --fill-density 0.4 --fill-angle 0 --fill-pattern rectilinear --solid-fill-pattern line --retract-length 3 --retract-speed 20 --retract-restart-extra 0 --retract-before-travel 2 --retract-lift 0 --skirts 1 --skirt-distance 6 --skirt-height 1 --extrusion-width-ratio 0 --print-center 112,96 --cooling --bridge-fan-speed 100 --disable-fan-first-layers 1 --fan-below-layer-time 60 --max-fan-speed 100 --min-fan-speed 35 --min-print-speed 10 --slowdown-below-layer-time 15 --support-material --support-material-tool 0 --gcode-flavor reprap --first-layer-temperature 240 --bed-temperature 20 --first-layer-bed-temperature 20 --fan-always-on --start-gcode "Z:\Documents\Projekte\repetier\Repetier-Host\src\RepetierHost\bin\Release\empty.txt" --end-gcode "Z:\Documents\Projekte\repetier\Repetier-Host\src\RepetierHost\bin\Release\empty.txt" "C:\Users\littwin\Documents\reprap\work\composition.stl"

and always got the same result - no randomizing. The only way to get it randomized is with external config files where randomizing is disabled. My guess is, that it is am associated bug with the one above. No option -> off, option --> reverse -> off

alranel commented 11 years ago

The option's logic seems to be working straight for me.

@repetier, yeah, that's a design flaw for options that are negative by default. I'll introduce a --no- prefix to disable them.

repetier commented 11 years ago

The --no prefix is ok, but the problem is I can't enable randomize with the precompiled version. So with this logic --no-randomize-start would then enable randomize. Have you inverted the logic since the 0.8.2 release so that it is working straight for you?

henrikbrixandersen commented 11 years ago

@repetier I can not reproduce the issue you describe, where --no-randomize-start would ENABLE randomized start. Can you please verify if you still have this issue with 0.9.1?

repetier commented 11 years ago

The new version stores the configuration in an ini file, so I don't have this issue any more.