118 Commits

Author SHA1 Message Date
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
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
da8cb11408 G2 & G3 gcode-viewer support
supermerill/SuperSlicer#1456
also better handling of variable un-commented height change
default bed grid can scale up to big printers.
2021-09-06 13:46:46 +02:00
remi durand
f34a3b1a6f Merge branch 'dev' into merill-merge 2021-08-08 01:06:02 +02:00
remi durand
f87b5fccde Merge remote-tracking branch 'remotes/prusa/stable' into dev
need to merge profiles
need to test & iron out the PresetConfigSubstitutions thingy
2021-07-10 15:31:19 +02:00
supermerill
34b8d0634a Ignore G1 'R' and 'H' from reprap
supermerill/SuperSlicer#1391
2021-07-05 19:41:40 +02:00
Vojtech Bubnik
84b28a25e8 Support for forward compatibility of configurations, user and system
config bundles, project files (3MFs, AMFs). When loading these files,
the caller may decide whether to substitute some of the configuration
values the current PrusaSlicer version does not understand with
some reasonable default value, and whether to report it. If substitution
is disabled, an exception is being thrown as before this commit.
If substitution is enabled, list of substitutions is returned by the
API to be presented to the user. This allows us to introduce for example
new firmware flavor key in PrusaSlicer 2.4 while letting PrusaSlicer
2.3.2 to fall back to some default and to report it to the user.

As a preparation for PrusaSlicer 2.4.0, the new firmware_flavor
"marlinfirmware" (signifying Marlin 2.0 and newer) that is not
supported by 2.3.2 yet will default to "marlin" (signifying legacy
Marlin).

When slicing from command line, substutions are performed by default
and reported into the console, however substitutions may be either
disabled or made silent with the new "config-compatibility" command
line option.

Substitute enums and bools only.  Allow booleans to be parsed as
    true: "1", "enabled", "on" case insensitive
    false: "0", "disabled", "off" case insensitive
This will allow us in the future for example to switch the draft_shield
boolean to an enum with the following values: "disabled" / "enabled" / "limited".

Added "enum_bitmask.hpp" - support for type safe sets of options.
See for example PresetBundle::load_configbundle(...
LoadConfigBundleAttributes flags) for an example of intended usage.

WIP: GUI for reporting the list of config substitutions needs to be
implemented by @YuSanka.
2021-06-27 16:14:16 +02:00
supermerill
e96f51bfee fix compile errors 2021-06-07 23:53:49 +02:00
remi durand
0206f41389 increase precision of gcode viewer, to not create fake artifacts.
supermerill/SuperSlicer#1246
2021-06-05 11:36:57 +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
remi durand
f6c663cc70 allow >1mm width extrusions in gcode viewer
supermerill/SuperSlicer#840
there is now a width limit at 10*height if guessed width-height gcode
2021-06-02 21:16:37 +02:00
supermerill
106b7ffa68 lerdge fix for units 2021-05-26 22:47:31 +02:00
remi durand
b6d2acfd76 Merge branch 'move-libslic3r-tests' into merill-merge 2021-04-06 23:14:18 +02:00
Joseph Lenox
2d27451cb6 test merge 2021-04-05 00:54:48 -05:00
remi durand
5279d2b697 fix crash on slice if no extruder names 2021-04-04 16:50:17 +02:00
Joseph Lenox
194fb73249 Update branding. 2021-04-02 21:44:31 -05:00
remi durand
519bcaf1a2 #922 Infill bridge issues 2021-03-19 12:36:38 +01:00
remi durand
ca3d8239c4 Merge remote-tracking branch 'remotes/prusa/master' 2021-01-09 17:11:12 +01:00
enricoturri1966
4d3cb19423 5677 - GCodeProcessor accepts gcode line T-1 as valid for RepRapFirmware and RepRapSprinter 2021-01-04 14:21:24 +01:00
enricoturri1966
b8fc1d3173 GCodeViewer - Fixed visualization of time estimates for silent mode 2020-12-17 11:41:41 +01:00
enricoturri1966
dcd69b4ef8 #5415 - Fixed preview when volumetric extrusion is turned on 2020-12-15 15:57:22 +01:00
enricoturri1966
cdb05d103a Tweaked clamping of max toolpaths width 2020-12-14 15:11:38 +01:00
enricoturri1966
9605e235b8 #5378 - Do not apply machine limits for non-Marlin firmwares 2020-12-14 14:02:50 +01:00
enricoturri1966
5bd443cd1f #4936 - Take toolpaths width and height from gcode decorations, if available 2020-12-08 15:55:53 +01:00
supermerill
2b339763b0 Merge remote-tracking branch 'remotes/prusa/master' 2020-12-07 20:29:11 +01:00
enricoturri1966
f77475e501 Tech ENABLE_SHOW_WIPE_MOVES set as default 2020-12-07 10:29:50 +01:00
supermerill
8d5688a751 Merge remote-tracking branch 'remotes/prusa/master' : Opengl crash 2020-11-28 18:18:32 +01:00
enricoturri1966
00a67ba004 GCode Viewer -> Parse gcode produced by KISSSlicer 2020-11-26 16:07:07 +01:00
enricoturri1966
4d483f323f GCode Viewer -> Show extimated layer time on the vertical slider for gcode produced by PrusaSlicer 2.3.0, Cura, Simplify3D, CraftWare, ideaMaker 2020-11-26 08:43:04 +01:00
enricoturri1966
92953acc57 #5236 - Fixed color not correctly shown after slice
The bug was introduced with 148f4fe766cb7cf63972686af600d83804a2e8d3 which is now replaced by this commit
2020-11-23 17:15:22 +01:00
enricoturri1966
f68cf49f3d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_wipe_moves 2020-11-23 10:11:04 +01:00
supermerill
1a19b023f0 Merge remote-tracking branch 'remotes/prusa/master'
note: new infill connect, maybe a good idea to get the previous one in case it's better (no useless lines)
note2: fillline overextrude, tofix
2020-11-23 00:28:47 +01:00
supermerill
1ebdb2c040 fix arch linux build 2020-11-22 18:34:49 +01:00
Vojtech Bubnik
25ca1fcf77 Some minor refactoring / polishing. 2020-11-21 13:16:03 +01:00
enricoturri1966
0e6acbc0e2 Preview - Visualization of wipe mones 2020-11-21 10:36:10 +01:00
Enrico Turri
148f4fe766 GCode Viewer - Fixed crash when switching to tool view with gcode generated by slicers other than PrusaSlicer 2020-11-20 11:50:25 +01:00
YuSanka
feffb66085 Ruler for DoubleSlider: Added estimated print time 2020-11-18 05:02:51 -08:00
supermerill
cae61c82ad klipper change: now can name extruders
also fix #673, now TURN_OFF_HEATERS is equivalent to M104 S0
2020-11-16 19:50:30 +01:00
supermerill
ec6a7a4576 fix layer_time 2020-11-15 02:09:33 +01:00
enricoturri1966
f1d10f3c90 ENABLE_GCODE_VIEWER set as default in libslic3r 2020-11-12 14:03:58 +01:00
supermerill
027bf9f132 fix settings printing & failsafe for gcode viewer 2020-11-11 19:42:38 +01:00
enricoturri1966
bf12c7cb8c GCode Viewer - Fixed color print visualization for gcode containing multiple extruders 2020-11-09 13:06:20 +01:00
enricoturri1966
479d4b70f2 GCode Viewer - Show print/printer/filament settings names in legend 2020-11-09 08:41:14 +01:00
supermerill
e831cb07ab fix compilation 2020-11-09 02:25:42 +01:00
supermerill
a9675a3f0b fix compile 2020-11-08 23:49:02 +01:00
supermerill
835ffc6564 fix merge 2020-11-06 03:41:30 +01:00
enricoturri1966
8491872fb7 #5079 - Fixed GCode Viewer changing files modified date on Windows 2020-11-05 14:02:43 +01:00
supermerill
488e4d83e4 Merge remote-tracking branch 'remotes/prusa/master' into dev
optionsgroup is wonky with sizers.
2020-11-05 00:21:16 +01:00
enricoturri1966
8af25f7771 Fixed post-processing of placeholders in gcode when not exporting remaining times 2020-11-03 12:26:48 +01:00