Commit Graph

4493 Commits

Author SHA1 Message Date
a31f00cd7a Refactoring fix: making sure that mark_wiping_extrusions doesn't report it wiped something it didn't 2020-01-14 15:43:43 +01:00
836cd78885 Another bugfixes of GCode export after refactoring. 2020-01-14 15:12:45 +01:00
af24a0e1c3 Fixing GCode Skirt generator after refactoring. 2020-01-14 14:24:38 +01:00
5272a97a6a gcc & clang do not like taking reference of const temporaries. 2020-01-14 12:10:01 +01:00
6ed818a5e7 Custom G-code references are now being assigned to ToolOrdering::LayerTools()
and the superfluous M600 (color change) events are filtered out there.

Fixed a handful of compiler warnings.
2020-01-14 11:54:09 +01:00
7c0cdc3134 Refactoring of GCode::process_layer().
Refactoring of GCode export of color changes, extruder switches etc,
so that the "color change" like extruder switches are applied first
at the Wipe Tower / G-code export, so that adding / removing
an extruder switch at the G-code preview slider does not invalidate
slicing.
2020-01-14 10:31:18 +01:00
760c884e0a Fixing some missing throw statements.
Adding noexcept to move constructors / operators.
2020-01-13 17:41:40 +01:00
103ffdf04e Support for new "default_materials" property at PrinterModel
of system profiles. The "default_materials" key accepts
"default_filaments" as well.
2020-01-13 16:01:20 +01:00
16782b488c Fixed GCodeAnalyzer and GCodeTimeEstimator to avoid artifacts while rendering toolpaths due to numerical issues on extruder coordinate 2020-01-13 15:27:37 +01:00
750c552c10 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-13 08:54:56 +01:00
d5099f23e4 Follow - up of abd432e7a8f91bba876a29c857844c93dab4b762->Set default as non fullpath export 2020-01-13 08:47:11 +01:00
77a9baa2eb Merge remote-tracking branch 'origin/ys_dark_mode_fixes' 2020-01-13 08:44:51 +01:00
2f5a50705a Fixing regression issue after G-code export refactoring. 2020-01-10 15:51:35 +01:00
a6d7fa198b Fixing compilation isue on non-MS compilers. 2020-01-10 11:53:39 +01:00
8406b2dafa Refactoring of ToolOrdering (wipe into infill / object)
Refactoring of GCode::_do_export()
Helper lower_bound and search functions similar to std, but without
needing the value object explicitely.
2020-01-10 11:27:04 +01:00
a5f0a98788 ToolOrdering: Removed unused parameter. 2020-01-10 11:27:04 +01:00
2c22366d8c force creating static library for libnest2d 2020-01-09 17:12:40 +01:00
1b6e01a722 Merge branch 'tm_bug_SPE-1067' 2020-01-09 14:22:30 +01:00
cc02675984 Fix wrong bounding box calculation for initial arrange item. 2020-01-09 14:21:01 +01:00
1cee0d1f5b #3492 - Fix of export of toolpaths to obj 2020-01-09 12:23:17 +01:00
cc45356826 Fix of previous commit 2020-01-09 10:14:50 +01:00
a2402630b8 Optimization of G-code export: Don't make copies of ExtrusionEntities
when sorting them into Extruders / Islands / Regions.
2020-01-09 10:00:48 +01:00
7ecfa0b8c7 Small fix for 3e0690b37b 2020-01-08 15:44:39 +01:00
5a8ce18b5b Fixed update of "Cost" field in "Sliced Info" box after a change of any material's options
("bottle_cost", "bottle_volume", "bottle_weight", "material_density")
2020-01-08 15:27:09 +01:00
6cfe21e254 Further optimizations of G-Code generator when Wipe into object / infill:
Don't do unnecessary tests if it is known that there is
no Wipe into object or infill active.
2020-01-08 15:16:31 +01:00
823100f3d9 Optimization of G-code export:
1) Don't allocate ExtruderOverrides if not necessary
2) Use boost::container::small_vector<int32, 3) for ExtruderOverrides
   (usually less than 4 instances are printed))
2020-01-08 14:58:24 +01:00
9f6c7ef88d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-08 12:30:52 +01:00
71dcc792c6 Attempt to fix #3479 2020-01-08 12:30:42 +01:00
0fe7a3efa8 Configurable paths export (fullpath or not) to 3mf and amf 2020-01-08 11:11:38 +01:00
d3e057bf60 Follow-up of 5b2e2fe7b3 -> Fixed uv mapping on gizmobar 2020-01-08 10:04:39 +01:00
d88371dfd5 Code cleaning and refactoring for 6a8c34dad9 2020-01-07 16:17:20 +01:00
59259b2c66 Added check for a preset visibility in a first_compatible_idx() function
(related to #3470)
2020-01-07 15:22:47 +01:00
9f822b0ee4 Some refactoring and const correctness fixes. 2020-01-07 14:35:43 +01:00
cc14838291 Support for Vendor / Printer Model specific print bed texture and model. 2020-01-07 14:08:35 +01:00
6b7323e5e9 #3385 - Further extended min/max sensitivity for 3Dconnexion devices 2020-01-07 13:17:39 +01:00
55549220eb Fixed artifacts on toolbar and gizmobar icons showing up when changing screen or toolbar scale factors 2020-01-07 12:40:03 +01:00
509e4a8d62 Fixed density calculation is wrong for resin cost calculation (#3460) 2020-01-07 08:46:11 +01:00
e4ca98cca6 Fix of #3371 2020-01-06 12:41:27 +01:00
5a0b072413 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-06 12:11:07 +01:00
ea908b5b6c Added unit test for checking geometry after save+load to 3mf cycle 2020-01-06 12:10:57 +01:00
c7f8d8e396 Corrected description of --loglevel parameter on command line output 2020-01-06 12:07:23 +01:00
9d1865753b Trying to fix Linux compilation 2020-01-06 11:59:24 +01:00
cbd19ad9c0 Replaced unix basename() with boost::filesystem::basename(),
as various unices define basename() differently.
2020-01-06 11:32:17 +01:00
eacf1b8334 Clean-up of the "Upload to" code (AstroBox, Duet, FlashAir, OctoPrint) 2020-01-06 10:59:57 +01:00
7fc03a0b10 Add Astrobox to Print Host options 2020-01-06 03:37:35 -05:00
f9752f1d75 Some minor polishing of Color print back end. 2020-01-06 09:32:13 +01:00
8ebf970934 Const correctness improvements:
removed some unnecessary const_casts that remove const.
2020-01-03 16:33:04 +01:00
cc7bd586e4 Fix of #3382 2020-01-03 16:09:16 +01:00
9954300ee1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-03 14:43:02 +01:00
0e0fdcf697 3DConnexion devices' Y axis used for zoom in/zoom out 2020-01-03 14:42:52 +01:00