Lukas Matena
05e6dbbe4b
Wipe tower - refactoring (removed the abstract WipeTower class)
...
- abstract class WipeTower and its descendant WipeTowerPrusaMM were merged into a single (non-abstract) WipeTower class
- all uses of WipeTower::xy struct were replaced by Eigen Vec2f (it is no longer necessary to be independent on libraries that PrusaSlicer uses)
- the WipeTowerPrusaMM.hpp/.cpp will be renamed in the next commit (hopefully it will retain its git history that way)
2019-06-17 10:16:07 +02:00
tamasmeszaros
ce22251707
Warning hunt session followup
2019-06-17 10:05:46 +02:00
Enrico Turri
ddb4c1ff3f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-17 09:34:25 +02:00
Enrico Turri
9ffd294f07
Fixed functions declaration template<class Tf> inline constexpr coord_t scaled(Tf val) and template<class Tf> inline constexpr Tf unscaled(coord_t val) to use constexpr on versions of Visual Studio which support it
2019-06-17 09:28:41 +02:00
tamasmeszaros
c5037540e9
Warning hunt session.
2019-06-14 18:17:17 +02:00
bubnikv
f8c5570155
Removed unnecessary copy / move constructors / assignment operators.
2019-06-14 15:47:40 +02:00
Enrico Turri
ac8de0bcaf
Follow-up of 1a91add2e6
-> Improvements to tighter camera frustrum to reduce z-fighting
2019-06-14 15:37:29 +02:00
Lukas Matena
7b07a8da83
Reset buttons: synchronization of instances/volumes
2019-06-14 15:28:09 +02:00
Lukas Matena
980c6673d4
Reset buttons - fixed rotation of instances with multiple volumes
...
Mirroring buttons now hide where appropriate
2019-06-14 15:28:09 +02:00
Lukas Matena
a3c1644ead
Added mirroring buttons into object manipulation panel
2019-06-14 15:03:42 +02:00
Lukas Matena
9f236bc603
Added transformation reset buttons in object manipulation panel
2019-06-14 15:03:42 +02:00
Lukas Matena
0eecfc6604
Wipe tower - removed the obsolete material_type enum
...
no longer necessary because the speed overrides that the enum controlled were recently removed
the comment in gcode is now just about appending the config string
2019-06-14 14:44:22 +02:00
Lukas Matena
678d0e18a7
WipeTowerIntegration class: print_z is not passed around, ToolChangeResult objects are aware of it
2019-06-14 14:43:40 +02:00
Lukas Matena
aee376762e
Changed handling of priming extrusions to allow injection of filament and toolchange custom gcodes
...
The priming extrusions were handled separately from the rest of the wipe tower toolchanges. In order to be able to use the logic from previous commit for them (custom toolchange gcodes etc), some unpleasant code shuffling was needed
2019-06-14 14:42:07 +02:00
Lukas Matena
41164a9cb3
Multimaterial printing: Changed the way how custom gcodes are inserted
...
Each toolchange now emits:
- end filament custom gcode
- toolchange custom gcode; if not provided, a standard Tn command is inserted
- start filament gcode
Hopefully it is now consistent for SE/ME printers with/without the wipe tower
The priming line does not work - will be fixed in the next commit
2019-06-14 14:38:58 +02:00
Lukas Matena
9df93c0125
Mostly refactoring of the wipe tower improvements
...
- setting of the wipe tower parameters based od whether SE MM printer is selected is done in the WipeTowerPrusaMM constructor, so it does not distract in Print.cpp
- WipeTowerPrusaMM.cpp conditions checking for SE MM printer are now using a more descriptive const member variable, not the loading/unloading speeds (hopefully the functionality is the same)
2019-06-14 14:35:50 +02:00
Thomas Moore
da1aea889f
Enable wipe tower for all multi-extruder configurations
2019-06-14 12:28:52 +02:00
Lukas Matena
079e63e190
The wipe tower now respects filament max volumetric flow
...
The odd commands that lowered the speed override values for PVA, FLEX etc. were removed
Now the wipe tower backups user speed override, sets it to 100%, does what is needed
and restores the old value when finished. There are no special cases - lowering
the speed for certain materials can be achieved by lowering the volumetric flow.
2019-06-14 12:28:52 +02:00
Lukas Matena
6f7051c3b1
GCode preview shows correct volumetric flow for the wipe tower
...
The neccessary annotations for the GCodeAnalyzer were missing
2019-06-14 12:28:52 +02:00
bubnikv
77954a13b9
Fix of admesh import due to boost::pool::destroy taking O(n).
...
Why on earth?!
2019-06-14 11:07:07 +02:00
Enrico Turri
541f58c656
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-14 10:57:29 +02:00
Enrico Turri
ed4b71eb15
Layers editing overlay rendering modified to use a texture drawn on a quad lying in a plane parallel to the camera viewport
2019-06-14 10:55:56 +02:00
Enrico Turri
1a91add2e6
Tighter camera frustrum to reduce z-fighting
2019-06-14 10:38:09 +02:00
bubnikv
d750d4f925
Re-enable high power graphics card on Windows.
...
This is a regression issue against 1.41.3
2019-06-13 17:42:55 +02:00
bubnikv
9b7bb41db5
ModelObject::add_volume(const ModelVolume &other)
...
shall not re-center the volume as it will share meshes
(object mesh, convex hull mesh) of the source,
which may be in use by the background processing.
2019-06-13 17:24:37 +02:00
bubnikv
dbfa4e6c83
Fix of a smart pointer gymnastics from previous commit
2019-06-13 16:55:12 +02:00
bubnikv
9379fedd43
Further C++isation of the admesh library & TriangleMesh
...
(copy & move constructors / operators)
2019-06-13 16:33:50 +02:00
YuSanka
7da9d2f66d
Merge remote-tracking branch 'origin/master' into ys_new_features
2019-06-13 16:18:39 +02:00
YuSanka
86e7a07dd8
Fixed selection
2019-06-13 16:17:54 +02:00
YuSanka
4712c5bbdf
DoubleSlider manipulation from preview scene
2019-06-13 16:10:33 +02:00
YuSanka
a9ee4ff4b5
Fixed object selection in right panel form the Scene by context menu
2019-06-13 15:35:10 +02:00
tamasmeszaros
821ca0e36a
Build fix when boost is not in prefix/boost
2019-06-13 14:19:24 +02:00
YuSanka
e00774d2e2
Workarounds for selection under OSX and GTK
2019-06-13 13:00:46 +02:00
YuSanka
c9dd5f8786
Fixed updating of data for LayerEditors selection
2019-06-13 11:37:03 +02:00
Enrico Turri
a99466ef1d
Method Camera::apply_projection() called at every rendered frame
2019-06-13 10:24:19 +02:00
Enrico Turri
f0b228c4d2
Added support for distance between camera position and camera target
2019-06-13 09:12:44 +02:00
Enrico Turri
26d48b7f52
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-13 08:48:19 +02:00
Enrico Turri
9805417028
Fixed method Camera::get_position()
2019-06-13 08:47:38 +02:00
Enrico Turri
7bfb0aaac0
Fixed method Camera::get_dir_forward()
2019-06-13 08:38:49 +02:00
tamasmeszaros
e4cb75edde
Fix build on Mac
2019-06-12 17:33:04 +02:00
tamasmeszaros
d1ed3d40c1
Fix build on windows.
...
This issue is annoying.
2019-06-12 17:23:12 +02:00
tamasmeszaros
4ffe3278be
Hotfix for pad shape deduction.
2019-06-12 17:09:40 +02:00
YuSanka
1694204687
Added some logic to layers editor selection
2019-06-12 16:28:25 +02:00
tamasmeszaros
10897524df
Fixes for gap detection and case with no pad, but zero elevation.
2019-06-12 15:29:24 +02:00
tamasmeszaros
12396c3051
Fine tuning parameters and fixing pad wings when greater gaps are used.
2019-06-12 13:15:42 +02:00
Enrico Turri
428cc4e7c9
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera
2019-06-12 11:45:57 +02:00
Enrico Turri
abdb5c5d74
Fixed conflicts after git cherry-picking 39cfe819daeb7dd71bae5ff20edfbe6396dffbe8
2019-06-12 10:57:20 +02:00
Enrico Turri
d07b3fb08b
Bed shape dialog refactoring
2019-06-12 10:00:51 +02:00
tamasmeszaros
c80aae1bdb
Fixes for the parameter layer
...
- Elevation value satisfied with no supports as well
- Removed debug svg writing
- Gap and sticks made optional in zero elevation pad.
2019-06-11 18:19:58 +02:00
tamasmeszaros
6877c075dc
SPE-742: Parameter layer for zero elevation feature.
2019-06-11 18:17:20 +02:00