tamasmeszaros
ca7668d858
Change precision units to mm
...
Add some perf optimization for svg output writing
2022-02-03 16:10:03 +01:00
tamasmeszaros
5e97778528
Added new param sla_output_precision in nanometers
...
Adopted a fast and easy integer to string conversion
2022-02-03 16:10:03 +01:00
tamasmeszaros
72da90d28f
WIP
...
wip
2022-02-03 16:10:03 +01:00
tamasmeszaros
b45c6ef173
Export scaled integer coordinates into svg
...
This is faster and lossless
2022-02-03 16:09:57 +01:00
tamasmeszaros
00764ceade
Fix ignoring of changed sla printer params
2022-02-03 16:09:57 +01:00
tamasmeszaros
7f153a55b3
SLA archiver implemented for svg output, switchable in config.
...
new config is sla_archive_format as a string.
WIP
Get rid of SVG class, use manual svg creation
Revert changes in SVG.hpp and SVG.cpp
2022-02-03 16:09:57 +01:00
enricoturri1966
030f460114
Follow-up of 87cff55856
- Implementation of compress_thumbnail_jpg()
2022-02-03 13:24:30 +01:00
Lukáš Hejl
bd65eb55b0
Added a missing include (GCC11.1 without PCH).
2022-02-03 08:36:24 +01:00
Vojtech Bubnik
086662b6a1
Fixed typo in thumbnail_QOI tag.
2022-02-02 17:43:39 +01:00
Vojtech Bubnik
87cff55856
WIP: Implemented support for QOI G-code thumbnail format as requested
...
by the RepRapFirmware team due to their low RAM budget for decompression.
Bundled the QOI image compression library.
2022-02-02 17:37:46 +01:00
enricoturri1966
7d87490777
Tech ENABLE_RELOAD_FROM_DISK_REWORK - A bunch of bug fixes in Reload from disk command:
...
1) Lost orientation after reload from disk (SPE-1182)
2) Wrong objects replacement from reload from disk command (SPE-1183)
3) Reload from disk not disabled for built-in models (SPE-1184)
2022-02-02 14:25:36 +01:00
Lukas Matena
cb5ff10a88
Merge branch 'master' into dev
2022-02-01 14:17:34 +01:00
enricoturri1966
1fa20aaaa4
Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into dev
2022-02-01 08:08:01 +01:00
enricoturri1966
0c0250750b
#7843 - Added processing of gcode lines G60 and G61 for Marlin firmwares
2022-02-01 08:07:53 +01:00
Vojtech Bubnik
be60775077
get_wraped_wxString(): Adapted to work with UTF8
2022-01-31 16:25:20 +01:00
enricoturri1966
383f6509a9
Added tech DISABLE_GCODEVIEWER_INSTANCED_MODELS to easily turn on/off instanced models to render options in gcode preview
2022-01-31 15:36:40 +01:00
enricoturri1966
7bd8b3b892
#7791 - Fixed reload from disk command for plain (non zipped) amf files
2022-01-31 14:26:31 +01:00
Vojtech Bubnik
56e189943f
Follow-up to 3e7a4d4648
...
Allowed for localization of error messages.
2022-01-31 11:27:32 +01:00
Vojtech Bubnik
58d64bae77
Fix of #6336 #5073 : Throw an error if G92 E0 is missing in layer change
...
G-code with relative extruder addressing. Also thrown an error,
if G92 E0 is used with absolute extruder addressing.
2022-01-31 10:19:01 +01:00
enricoturri1966
8d94841fa3
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev
2022-01-29 09:17:30 +01:00
Lukáš Hejl
5f0fea4d58
Added option to enable UndefinedBehaviorSanitizer on Clang and GCC.
2022-01-28 14:52:22 +01:00
Lukáš Hejl
46c827c7fc
Fixed Clang 12 compiler warnings.
2022-01-28 14:52:22 +01:00
Lukáš Hejl
dcecd96b39
Fixed duplicate cloning of entities in ExtrusionEntityCollection::clone() that also fixed the memory leak.
2022-01-28 14:43:10 +01:00
Lukáš Hejl
e711cb50d0
Added deallocation of Layers (PrintObject::m_layers) into the PrintObject destructor.
2022-01-28 14:43:10 +01:00
Lukáš Hejl
26b28699f1
Fixed memory leak in Semver::set_metadata() and Semver::set_prerelease().
2022-01-28 14:43:10 +01:00
Lukáš Hejl
82a3f1c965
Fixed memory leak in PlaceholderParser::compare_op().
2022-01-28 14:43:10 +01:00
Vojtech Bubnik
7da4bebe7a
WIP GCode substitutions: Changed the format of gcode_substitutions by
...
adding an empty comment as a fourth parameter to each substitution.
In the future, we will provide a UI to show / edit the comment.
2022-01-27 17:02:16 +01:00
enricoturri1966
703aefa75c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into dev
2022-01-27 12:04:47 +01:00
enricoturri1966
afcac6e2ea
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Refactoring of GLModel to:
...
1) allow for custom vertex data layout
2) allow for custom index data format
3) allow for any OpenGL primitive type
2022-01-27 12:00:51 +01:00
Vojtech Bubnik
9828abb443
GCode find/replace: Another try to make a sensible "default" behavior
...
with the boost::regex implementation:
With no "single line", don't accept new lines with a dot '.'.
2022-01-26 13:57:30 +01:00
Vojtech Bubnik
e83d89dee7
Fix of escape_strings_cstyle(), which did not enclose a single word
...
string containing semicolon ';' character into quotes.
2022-01-26 13:18:52 +01:00
Vojtech Bubnik
a7520f47a6
GCodeFindReplace: Implemented perl's "match single line" option
...
to the back-end.
2022-01-25 16:28:18 +01:00
Lukas Matena
ed508d49d6
Changed the inner seam replacement threshold to 3*nozzle_diameter
2022-01-25 15:40:28 +01:00
Lukas Matena
b86effada0
Fixed one possible crash and a warning
2022-01-25 15:40:28 +01:00
Lukas Matena
9e23795137
Trying to make the inner seam placement a bit more intelligent:
...
place external seams first, then place inner seam using the normal seam placement
function, only limited to vicinity of the closest external seam.
2022-01-25 15:40:27 +01:00
Lukas Matena
3cc907b361
Seams: changed the overhang penalty calculation, it might have been too much compared to the rest
...
Also reduced penalty for flat surfaces a bit, based on some testing (hopefully it is not overfitting on the test models)
2022-01-25 15:40:27 +01:00
Lukas Matena
689f923aaf
Seam fixes:
...
- turned off staggering
- fixed a bug in one of the heuristics (distance between indices measured instead of actual distance)
2022-01-25 15:40:27 +01:00
Vojtech Bubnik
79a0345201
Further GCodeFindReplace adjustmnets of regular expressions:
...
match_single_line: ^$ will NOT match \n
2022-01-25 10:36:30 +01:00
Vojtech Bubnik
6817120932
GCodeFindReplace: Removed boost::match_not_dot_newline | boost::match_not_dot_null
2022-01-25 09:40:24 +01:00
Lukas Matena
cb99d491af
Fix of a possible locales mismatch during GCode export
...
There is a mysterious issue with GCode annotations printed with decimal
commas instead of points. tbb threads should be set to "C" locales when started,
either another thread is spawned by tbb, or someone switches the thread locales
and leaves it in the pool.
2022-01-24 16:21:21 +01:00
YuSanka
7111da2dbf
Merge remote-tracking branch 'origin/master' into dev
2022-01-24 08:37:51 +01:00
enricoturri1966
bcaa0d38bd
Fixed uninitialized variables reported by MemorySanitizer in Geometry::Transformation
2022-01-21 11:26:44 +01:00
Lukas Matena
d2664ea295
Fixed crashes with specific configuration of draft shield:
...
the crashing cases were:
- skirts=0 + dsEnabled
- skirt_height=0 + dsLimited
Also, when ooze_prevention is enabled with multiple extruders and skirt is disabled, 2.4.0 does not generate infinite skirt.
Version 2.3.3 does, ooze prevention overrides the disabled skirt. This commit reinstates the old behaviour.
The issues were introduced in b466f18
.
2022-01-21 11:07:18 +01:00
YuSanka
94b8c4f096
Merge remote-tracking branch 'origin/master' into dev
2022-01-20 15:22:24 +01:00
enricoturri1966
803d797bd7
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_z_offset
2022-01-20 13:46:03 +01:00
enricoturri1966
18e2cc2298
Tech ENABLE_SHOW_NON_MANIFOLD_EDGES - 1st installment - Calculate and show in 3D view non-manifold edges as lines
2022-01-20 13:32:24 +01:00
YuSanka
ded855d0c2
Fix for #7781 - Entering value in Thumbnail setting causes PrusaSlicer to crash
...
Follow-up 106e520a
- During code refactoring "thumbnails" option wasn't correctly processed
2022-01-20 10:07:26 +01:00
Lukáš Hejl
e0883910dd
Added a missing include (Clang 12 without PCH).
2022-01-19 20:39:28 +01:00
Lukas Matena
06cca525d0
Added a missing include for gcc
2022-01-19 15:16:46 +01:00
enricoturri1966
ab171441aa
Follow-up of 4b4d1c2f2a
- Restored line deleted by mistake
2022-01-19 13:26:58 +01:00