Vojtech Bubnik
fb29325b14
Fix of G-code Viewer not loading .gco files #5536
...
".gcode", ".gco", ".g" and ".ngc" were considered to be G-code file
extensions by the G-code import / export file dialogs, but not by
various other functions. Now the G-code extension is tested by
a single function is_gcode_file(string).
2021-01-05 12:26:11 +01:00
Vojtech Bubnik
1076e077ce
Fix of Adaptive cubic infill weird behavior #5633
...
Enabling reordering of infill paths for Support Cubic and Adaptive Cubic
infill types.
2021-01-04 15:42:23 +01:00
Lukas Matena
30c8592b10
Do not use ironing extrusions for autospeed calculations ( #5082 )
2021-01-04 14:21:24 +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
016042db10
Disabled tech ENABLE_RENDER_STATISTICS
2021-01-04 14:21:24 +01:00
Lukas Matena
837070a246
Hotfix of a crash with raft and one-layer object ( #5652 )
...
The problem is that PrintObject support generator is only run when m_layers.size() > 1, so one-layer object will skip it.
It apparently never worked, after recent refactoring (probably 8bfc986
) it started to crash in GCode generator.
This commit fixes the crash, but not the problem. The raft is still not generated (like in all versions since 2.0.0 at least).
2021-01-04 14:21:24 +01:00
Lukas Matena
6c2ce4b6b6
Escape special xml characters when writing metadata into the model file
...
This should fix #5577
2021-01-04 14:21:24 +01:00
Vojtech Bubnik
2d428198b1
Fix of 2.3 rc1 can't load its own 3mf files (if they contain custom gcode) #5550
...
The issue was handling of the special "default_filament_profile" vector,
which is not being normalized in length to the number of extruders,
as this vector is being shown to the user at the Printer dependencies page,
and we don't want to present empty fields there, if the default filament
profile was not defined in the system preset.
2021-01-04 11:13:44 +01:00
Vojtech Bubnik
b002c1485d
Fix of PrusaSlicer hangs on Linux when run with non standard task affinity #5661
2021-01-04 09:03:49 +01:00
Lukáš Hejl
dc2e7aeb4e
Fixed wrong generation of Adaptive Cubic and Support Cubic infill when infill extrusion width is set in percent.
2020-12-21 14:14:06 +01:00
Lukáš Hejl
181642b85b
Fix of #5528 - Request re-slicing when bottom_solid_layers changes and spiral_vase is enabled.
2020-12-21 09:15:33 +01:00
Lukas Matena
1cbe2bd87e
Added a missing translation macro
2020-12-18 13:04:28 +01:00
Lukas Matena
8f3baeb1c9
Fix of #5410 (Ironing untick/tick bug)
...
This is a follow-up of commit b1b7a5a
which fixed several similar bugs
2020-12-18 12:44:24 +01:00
Lukas Matena
6e3b4b6fd8
Random seam: optimization and fix of a possible infinite loop
2020-12-17 15:48:25 +01:00
enricoturri1966
ce32d68368
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-17 11:41:54 +01:00
enricoturri1966
b8fc1d3173
GCodeViewer - Fixed visualization of time estimates for silent mode
2020-12-17 11:41:41 +01:00
Vojtech Bubnik
ba9a9b4e7a
Fixed buffer overflow in the OBJ parser.
...
Improved error reporting on OBJ parser.
2020-12-17 09:53:21 +01:00
Vojtech Bubnik
7df9f3e422
Improvements of OBJ parser robustness.
2020-12-17 09:17:07 +01:00
Vojtech Bubnik
4d459f37de
Merge branch 'lm_230beta3_fixes'
2020-12-16 13:51:09 +01:00
Lukáš Hejl
80251e0cf9
Fixed of unintentional disabling of wipe even in cases when avoid crossing perimeters weren't applied due to exceeding the maximum detour length.
2020-12-16 13:17:09 +01:00
Vojtech Bubnik
2f71af1ee4
Saving "converted from inches" to 3MF and AMF even if the file source
...
information is empty.
2020-12-16 12:05:29 +01:00
YuSanka
f37b9c4d51
Set limits to the "extrusion_multiplier" value and show warning message, if out of range value was inputted
2020-12-15 21:21:09 +01:00
enricoturri1966
9704eb6ece
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-12-15 15:57:32 +01:00
enricoturri1966
dcd69b4ef8
#5415 - Fixed preview when volumetric extrusion is turned on
2020-12-15 15:57:22 +01:00
Lukáš Hejl
d59f345fbb
Fix of #5443 - Assigned input file path for ModelVolume also for AMF archives
2020-12-15 14:18:11 +01:00
Lukáš Hejl
e62f014049
Corrected side text for avoid crossing perimeters max detour
2020-12-15 14:03:52 +01:00
Lukáš Hejl
161fb86c43
Fixed percentages in avoid crossing perimeters max detour
2020-12-15 13:49:35 +01:00
YuSanka
43581059ff
Fix of #5450 - Wrong printer preset after loading 3mf project file when having multiple presets for one physical printer
2020-12-15 12:11:20 +01:00
Lukáš Hejl
0ca337ac7a
Apply avoid crossing perimeters also for supports.
2020-12-15 06:46:44 +01:00
Lukas Matena
5553762d9c
Do not remove custom supports/seams when converting units to imperial
2020-12-14 20:27:19 +01:00
Lukas Matena
a5d363a9f4
Do not emit M1 gcode for firmwares other than Marlin (after MM priming)
...
The M1 gcode is apparently only supported on Marlin, others do not support it or use it for something else
This should fix #5441
2020-12-14 20:27:19 +01:00
Vojtěch Bubník
cbb306c86a
Merge pull request #5466 from wavexx/include_atomic
...
Include <atomic> for std::atomic where needed
2020-12-14 18:29:13 +01:00
Vojtech Bubnik
7b9f2093bb
Configuration layer: Support for vectors of FloatsOrPercents and
...
FloatsOrPercentsNullable, to support further filament overrides
of Print preset values, namely Avoid Crossing Perimeters.
2020-12-14 15:58:47 +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
Vojtech Bubnik
12303d93d5
Fixed previous merge
2020-12-14 12:49:16 +01:00
Vojtech Bubnik
e90120994e
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-12-14 12:47:59 +01:00
Vojtech Bubnik
b5f95dd4b4
Avoid crossing perimeters max detour could newly be specified
...
in percentage of the direct path.
2020-12-14 12:45:49 +01:00
Vojtech Bubnik
530148575b
Avoid crossing perimeters max detour could newly be specified
...
in percentage of the direct path.
2020-12-14 12:36:55 +01:00
Yuri D'Elia
44f71f0ed1
Include <atomic> for std::atomic where needed
...
Fixes build on linux using clang 11
2020-12-13 19:41:47 +01:00
Vojtech Bubnik
9fdf8c8b8d
Fixed retrieving of the "saved in inches" flag from 3MF.
...
Fixed "import STL from Inches" - it should always scale up even if the
object is bigger than 3x3x3mm.
2020-12-12 18:54:34 +01:00
Vojtech Bubnik
5605088aad
Follow-up on aaaa85c1f8
...
Fix of #5007 - "Reload from disk" causes objects converted to inches to revert to mm
1) Storing and reloading the "source_in_inches" source flag from AMF and 3MF
2) When converting objects with mixed "inches" volumes, do the right thing
and do not convert those that do not need conversion.
2020-12-12 12:06:15 +01:00
Lukas Matena
d267a9a105
Fixed a typo in a tooltip
2020-12-12 09:15:01 +01:00
Vojtech Bubnik
621610da75
Follow up on 569200eb99
...
Improved formatting of the vector of dimensions, improved wordings
of error messages and tooltips.
2020-12-12 08:34:43 +01:00
Vojtech Bubnik
7de0f46db4
Merge of Fix support doesn't ignore overhangs bridge anymore #5164
2020-12-11 15:14:16 +01:00
enricoturri1966
5a7e4ff47c
Faster toolpaths refresh when changing options selection in preview
2020-12-11 14:59:58 +01:00
YuSanka
aaaa85c1f8
Fix of #5007 - "Reload from disk" causes objects converted to inches to revert to mm
2020-12-11 13:57:58 +01:00
Vojtech Bubnik
a2959ec944
Fix of re-slicing with multiple regions.
...
This is a fix of a bug, which was in Slic3r forever, where raw slices
were not cached, but recalculated from classified regions, where
merging the regions did not produce the original contour reliably.
Fixes [2.3.0-beta2] Odd bad slicing related to infill (?) percentage #5407
2020-12-11 12:21:07 +01:00
Vojtech Bubnik
bd79036d13
Replaced all "long long" types with int64_t
...
Replaced all "unsigned long long" types with uint64_t.
These "new" types better communicate their meaning and they are
guaranteed to behave the same on all platforms & compilers.
2020-12-10 08:40:15 +01:00
Vojtech Bubnik
06df87da35
Fix of 298b730589
...
(linear tapering of extrusion rate for the 1st spiral vase layer)
Linear tapering could only be implemented for relative extruder distances.
For absolute extruder distances, all the G1 Exxx in all spiral vase layers
would have to be adjusted, which is much more complex and risky to do now
before release.
2020-12-09 16:52:41 +01:00