526 Commits

Author SHA1 Message Date
supermerill
00ac854325 add current_position variable for gcode macro
current_position[0] is x and current_position[1] is y
supermerill/SuperSlicer#1898
2021-11-16 19:37:34 +01:00
supermerill
d020d048e9 Add total layer count in the gcode footer.
supermerill/SuperSlicer#1886
2021-11-16 17:21:04 +01:00
supermerill
9393126b4f Custom print, printer & filament variables
supermerill/SuperSlicer#481
2021-11-09 15:04:26 +01:00
supermerill
038bfa59a3 Don't split travel for deceleration if there is no need for.
supermerill/SuperSlicer#1560
2021-11-06 21:19:59 +01:00
supermerill
37a3596b3a travel speed & acceleration update:
* travel can now slow down to avoid going out of the max_gcode_per_second (useful for avoid_crossing_perimeter)
 * travel acceleration is now bound by machine_max_acceleration_travel and not machine_max_acceleration_extruding
supermerill/SuperSlicer#1350
supermerill/SuperSlicer#1210
2021-11-06 21:19:44 +01:00
supermerill
905deba7a7 Enhanced avoid_crossing_perimeter: now try to follow the second perimeter where possible
And also trigger as early as 3 nozzle diameter when retract_before_travel is higher
Can trigger without only_retract_when_crossing_perimeters
supermerill/SuperSlicer#1794
supermerill/SuperSlicer#1793
supermerill/SuperSlicer#1790
supermerill/SuperSlicer#1349
supermerill/SuperSlicer#1061
supermerill/SuperSlicer#810
supermerill/SuperSlicer#173
supermerill/SuperSlicer#20
2021-11-06 21:19:38 +01:00
supermerill
f2a9945435 Add lift_min: minimum height to travel between objects
Also change other behaviors to be compliant:
 * At the first move don't split the travel
 * At the first move, if start_gcode_manual and no layer_gcode, don't lift the nozzle so the printer won't "z-dance", whatever where the nozzle is.
Note:it's a hack, please redo it properly when reworking gcode-writer.
 * retract_lift_first_layer is gone back to the old simple behavior (revert b16ecbfc)
 * removed auto extra lift for first layer, now that lift_min exists.
 * with complete_object, don't unlift at object/first layer change, to avoid Z-dance
 * lift_min will be used between brims, skirts, objects but not between object-skirt, object-brim and their object
supermerill/SuperSlicer#1783
supermerill/SuperSlicer#1775
supermerill/SuperSlicer#1575
supermerill/SuperSlicer#599
supermerill/SuperSlicer#429
supermerill/SuperSlicer#395
supermerill/SuperSlicer#241
2021-11-06 21:19:15 +01:00
supermerill
b8e173aa30 Add ironing to "lift only on top surfaces"
it's now "lift only on top & ironing surfaces"
supermerill/SuperSlicer#1773
2021-11-06 21:19:10 +01:00
supermerill
3d07c03a37 When using fan_speedup, don't move fan from custom_gcode
also don't enter the start_gcode if start_gcode_manual (only custom start gcode)
Fix only for overhangs
Update to tooltips
supermerill/SuperSlicer#1742
2021-11-06 13:46:59 +01:00
supermerill
41c0fb19d7 max_layer_height & min_layer_height now can be percent.
Also some fixes on crash that may happens when using them.
2021-11-06 13:43:09 +01:00
supermerill
0a61223a53 Update to some default values, and various fixes
typos
custom gcode panel size
min first layer speed now a float.
2021-11-06 13:43:03 +01:00
supermerill
08cd7ebe26 Setting to put thumbnails at the end of the gcode file
Note that no firmware/printer support that right now.
2021-10-31 20:54:50 +01:00
supermerill
da3e64c1c9 Fix layer_z for feature_gcode 2021-10-23 00:00:22 +02:00
supermerill
54ad2a8611 Change retract_restart_extra_toolchange behavior to trigger at each first tool unretraction (but the very first)
supermerill/SuperSlicer#1052
2021-10-07 22:19:07 +02:00
supermerill
de554d577b Fix wrong boundingbox (don't rotate the boudingbox, rotate the object!)
supermerill/SuperSlicer#1612
2021-10-07 18:34:06 +02:00
supermerill
1e7bd53668 add seam_gap for hiding seam on loops
also finish coFloatsOrPercents, as it's the first setting to use this.
supermerill/SuperSlicer#1534
supermerill/SuperSlicer#1606
2021-10-04 13:42:10 +02:00
supermerill
b16ecbfcb1 allow retract_lift_first_layer even when 0 lift to activate extra lift for first move before each object on first layer
supermerill/SuperSlicer#1575
2021-09-27 13:06:21 +02:00
supermerill
18504bff9c Fix Disabled acceleration control still applies to print
supermerill/SuperSlicer#1537
2021-09-26 16:41:39 +02:00
supermerill
c08429cb78 fix lack of refresh after gcode generation
(fix ca995447fbaebbd7185b19f53e435781c4653983)
using the slicing state callback to transmit when to refresh things.
supermerill/SuperSlicer#1533
supermerill/SuperSlicer#1532
supermerill/SuperSlicer#1591
2021-09-26 16:17:47 +02:00
supermerill
86bcc1a015 New first layer height compute
- now use the thinnest extruder used by the object if %
 - more consistent over the software
supermerill/SuperSlicer#1035
2021-09-06 19:59:26 +02:00
supermerill
e1e4f34f0a remove some warnings change some scale/unscale for better types. 2021-09-06 19:58:53 +02:00
supermerill
d0459d60ce wipe speed
supermerill/SuperSlicer#1471
2021-09-06 19:58:42 +02:00
supermerill
6741b9ba25 Improved progress message 2021-09-06 16:39:03 +02:00
supermerill
2dc9bcc419 reprap jerk unit fixed
also gcode-viewer now read them even if not marlin
supermerill/SuperSlicer#1500
2021-09-06 13:49:20 +02:00
supermerill
55fdc665ca max_gcode_per_second added
allow a better control than min_length
2021-09-06 13:47:43 +02:00
supermerill
688121b104 first_layer_min_speed added
supermerill/SuperSlicer#1422
2021-09-06 13:47:35 +02:00
supermerill
e106dd555c add infill/internal bridge fan speed
supermerill/SuperSlicer#1414
2021-09-06 13:47:04 +02:00
supermerill
1c3ad9de01 skirt brim
supermerill/SuperSlicer#795

also little fix: now preview shows object skirt & brim.
2021-08-21 23:21:52 +02:00
supermerill
a510c3039c fix filament_max_volumetric_speed (from 8e4e8023c091e870b2079bcde996cfa7e6a69411)
supermerill/SuperSlicer#1470
also better translation strings
2021-08-21 02:49:13 +02:00
remi durand
f34a3b1a6f Merge branch 'dev' into merill-merge 2021-08-08 01:06:02 +02:00
remi durand
b12cfb8d46 Don't use toolchange_gcode if only one extruder
supermerill/SuperSlicer#1377
2021-07-05 20:56:08 +02:00
Vojtech Bubnik
f1ef8a013f After issuing the color change custom G-code, which is most likely
just M600, reset the internal retract counter, so that a retract
will happen after the firmware returns from M600 to the initial position.

Fixes "Blobs on print after manual color change #6362"
2021-06-24 21:36:08 +02:00
remi durand
bb6c3a2d79 fix Z offset:
fix crash (comes from commit 0a65e1b0d6a234bb9c9d58047940bed85260d700)
fix slicing preview
also fix a toolchange missing (just notifying the writer)
supermerill/SuperSlicer#1347
2021-06-24 18:50:59 +02:00
supermerill
7ae60b6c82 travel acceleration changes
- add travel acceleration
 - now deceleration for the travel done with the accel value of the next extrusion
 - reprap M204 now use P & T
2021-06-24 17:57:47 +02:00
supermerill
c8f25eabed safeproofing int types in gcode writer 2021-06-24 17:57:40 +02:00
supermerill
8e4e8023c0 reworked autospeed & ironing role:
- now only extrusions with a "0" are taken into account for autospeed computation
 - removed min_mm3_per_mm from extrusionentity as it's now computed by a visitor.
 - ironing pattern now use ironing role like ironing PP
 - ironing_speed is now a float or percent, over top_solid_infill_speed
 - added some missing ratio_over
 - updated to_prusa to convert %  accel & speed to flat value from config, instead of 0.
2021-06-24 17:57:33 +02:00
remi durand
2b9bda07d6 toolchange_gcode now erase the built-in change gcode if set: now for real
supermerill/SuperSlicer#1195
milling PP : now doesn't trigger a toolchange. use mill custom gcode to change tool.
supermerill/SuperSlicer#1329
2021-06-23 15:40:24 +02:00
remi durand
467b1feaa7 print the first filament start gocde even with start_gcode_manual
supermerill/SuperSlicer#1317
2021-06-16 21:24:19 +02:00
remi durand
e67181d2d4 allow Z-Hop retract_lift_top for Gap Fill
supermerill/SuperSlicer#1285
2021-06-11 20:35:13 +02:00
remi durand
487ca84cb7 fix no Bed on thumbnail
supermerill/SuperSlicer#1245
2021-06-04 23:52:59 +02:00
remi durand
f4ae8c869d add preamble to gcode processor if using start_gcode_manual
https://github.com/supermerill/SuperSlicer#1172
2021-06-03 21:54:19 +02:00
Vojtech Bubnik
34299c9332 Implemented generic mechanism for executing tasks on UI thread synchronously
from the background slicing thread, that supports cancellation.
The generic mechanism is used for generating thumbnails into G-code and
Fixes Fix deadlock when canceling the slicing while gcode is creating thumbnails #6476
Thanks @supermerill for pointing out the issue.
2021-06-03 20:31:32 +02:00
supermerill
4c803b5880 add M486 to reprapfirmware 2021-06-03 20:07:28 +02:00
supermerill
8de7e353c0 change 'Perimeter' to 'Internal perimeter'
fixed some typo in description output
2021-06-03 19:38:15 +02:00
remi durand
1b5bea5ec9 fix crash when no extrusions 2021-06-02 21:13:11 +02:00
remi durand
4eb7fdce58 little update on extrusion width
* first_layer_extrusion_width moved from print to object supermerill/SuperSlicer#1225
* now unset skirt width will only use the first layer width if it's one layer high
2021-06-02 13:18:29 +02:00
remi durand
dfc2689cb3 toolchange_gcode now erase the built-in change gcode if set.
supermerill/SuperSlicer#1195
2021-05-29 00:30:21 +02:00
supermerill
95535e68f6 overhangs are now overhangs again and not bridged infill supermerill/SuperSlicer#1186
instead of excluding overhang from "bridged" tag and making exceptions to use overhangs alongside bridges,
now revert back to when overhangs are bridge and make a unique exception to not apply bridge acceleration to them.
2021-05-27 19:21:45 +02:00
supermerill
106b7ffa68 lerdge fix for units 2021-05-26 22:47:31 +02:00
remi durand
99b3121425 add start_gcode_manual to disable automatic 'start gcode' output
supermerill/SuperSlicer#875
2021-05-02 17:48:47 +02:00