Commit Graph

13712 Commits

Author SHA1 Message Date
bubnikv
a9e9d0a629 Fix of recent refactoring of color print. 2020-01-14 16:11:03 +01:00
Lukas Matena
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
bubnikv
836cd78885 Another bugfixes of GCode export after refactoring. 2020-01-14 15:12:45 +01:00
bubnikv
af24a0e1c3 Fixing GCode Skirt generator after refactoring. 2020-01-14 14:24:38 +01:00
bubnikv
5272a97a6a gcc & clang do not like taking reference of const temporaries. 2020-01-14 12:10:01 +01:00
bubnikv
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
tamasmeszaros
3cf258a381 Merge branch 'tm_hollowing' into lm_tm_hollowing 2020-01-14 10:50:15 +01:00
tamasmeszaros
5b87763619 Eliminate use of uninitialized variable. 2020-01-14 10:48:22 +01:00
tamasmeszaros
4183f9b29a Test sla support point generation determinism with seed parameter 2020-01-14 10:48:22 +01:00
tamasmeszaros
87511f1b6f Remove test restriction for on-model supports pierce test 2020-01-14 10:48:22 +01:00
tamasmeszaros
ab0eb41720 Make sla support pierce tests repeatable 2020-01-14 10:48:22 +01:00
tamasmeszaros
a8e31290a5 Make support point generator deterministic. 2020-01-14 10:48:22 +01:00
tamasmeszaros
a16549f1eb Refactor model facing support generation.
Fix for touching junction when adding aux pillars.


Fix issue with overly long support bridges.
2020-01-14 10:48:22 +01:00
tamasmeszaros
f2dc0abcb6 Fix zero elevation support maneuvers and comment to clarify the alg. 2020-01-14 10:48:22 +01:00
Lukas Matena
2b53358bc3 Hollowing config values contain min/max values, these are respected when setting through the gizmo
Rendering and hole transformation fixes (still WIP, though)
2020-01-14 10:33:10 +01:00
bubnikv
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
bubnikv
760c884e0a Fixing some missing throw statements.
Adding noexcept to move constructors / operators.
2020-01-13 17:41:40 +01:00
YuSanka
e67b1e9ca3 Code refactoring for context menus and current extruder color selection for tick 2020-01-13 17:03:10 +01:00
bubnikv
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
bubnikv
2d9fff3018 MSVC specific: Disable STL4007: Many result_type typedefs and
all argument_type, first_argument_type, and second_argument_type
typedefs are deprecated in C++17.

Remove this warning disable after eigen library adapts to the new C++17 adaptor rules.
2020-01-13 16:01:20 +01:00
Enrico Turri
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
YuSanka
750c552c10 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-13 08:54:56 +01:00
Enrico Turri
d5099f23e4 Follow - up of abd432e7a8f91bba876a29c857844c93dab4b762->Set default as non fullpath export 2020-01-13 08:47:11 +01:00
YuSanka
77a9baa2eb Merge remote-tracking branch 'origin/ys_dark_mode_fixes' 2020-01-13 08:44:51 +01:00
YuSanka
fbe9a6aa9a Context menus improvements. Disabling unused extruders for color_change 2020-01-10 16:49:07 +01:00
bubnikv
2f5a50705a Fixing regression issue after G-code export refactoring. 2020-01-10 15:51:35 +01:00
bubnikv
a6d7fa198b Fixing compilation isue on non-MS compilers. 2020-01-10 11:53:39 +01:00
bubnikv
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
bubnikv
a5f0a98788 ToolOrdering: Removed unused parameter. 2020-01-10 11:27:04 +01:00
tamasmeszaros
2c22366d8c force creating static library for libnest2d 2020-01-09 17:12:40 +01:00
tamasmeszaros
0cd7c71baa more raycaster tests, without repeating the hollowing every time 2020-01-09 16:57:11 +01:00
YuSanka
ea397386b3 Updated tooltips and context menus for 3 manipulation mode of DoubleSlider
+ Some code refactoring
2020-01-09 16:38:59 +01:00
tamasmeszaros
1b6e01a722 Merge branch 'tm_bug_SPE-1067' 2020-01-09 14:22:30 +01:00
tamasmeszaros
cc02675984 Fix wrong bounding box calculation for initial arrange item. 2020-01-09 14:21:01 +01:00
Lukas Matena
6bf63f0097 Fixed a raycaster problem with handling duplicate hits from igl
The duplicate hits confused winding number calculations in the raycaster, which in turn returned incorrect hit.
2020-01-09 14:09:26 +01:00
Lukas Matena
4a2cb22435 Fixed transformations of the hollowed GLVolume 2020-01-09 14:09:26 +01:00
Enrico Turri
1cee0d1f5b #3492 - Fix of export of toolpaths to obj 2020-01-09 12:23:17 +01:00
tamasmeszaros
d8ef3f3611 Merge branch 'tm_opencsg' into lm_tm_hollowing 2020-01-09 11:23:21 +01:00
tamasmeszaros
f1fb2d26af further fixes for X window crashes. 2020-01-09 11:22:24 +01:00
Enrico Turri
2c95a1f0d7 Configurable system printers bed textures and models 2020-01-09 10:27:42 +01:00
bubnikv
cc45356826 Fix of previous commit 2020-01-09 10:14:50 +01:00
Lukas Matena
e0a6dbf7f5 Switched order of hollowing and support points gizmos 2020-01-09 10:01:21 +01:00
bubnikv
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
tamasmeszaros
e053d57756 Performance improvements in raycaster 2020-01-08 17:12:06 +01:00
tamasmeszaros
d2c1dbd785 Add tests for EigenMesh3D raycaster with hole support.
Tests fail! Supports are intersecting the object when holes are added.
2020-01-08 17:11:22 +01:00
YuSanka
07d73dac01 DoubleSlider modes(states) are extended and implemented mode detection from model
+ Some code refactoring
2020-01-08 16:29:37 +01:00
YuSanka
7ecfa0b8c7 Small fix for 3e0690b37b 2020-01-08 15:44:39 +01:00
YuSanka
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
YuSanka
7fb983d2c1 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:23:46 +01:00
bubnikv
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