Commit Graph

8562 Commits

Author SHA1 Message Date
55616340e7 Wipe tower - renaming files (to conclude work from previous commit and not lose history of those files) 2019-06-17 10:26:33 +02:00
426fda26f7 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
ab7a9503aa Warning hunt session followup 2019-06-17 10:05:46 +02:00
7a98976276 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera 2019-06-17 09:34:25 +02:00
48ed42644e 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
bd85970adf Warning hunt session. 2019-06-14 18:17:17 +02:00
c75d35190f Removed unnecessary copy / move constructors / assignment operators. 2019-06-14 15:47:40 +02:00
d5a17b11c8 Follow-up of 1a91add2e6 -> Improvements to tighter camera frustrum to reduce z-fighting 2019-06-14 15:37:29 +02:00
4b8ab92630 Reset buttons: synchronization of instances/volumes 2019-06-14 15:28:09 +02:00
0610d209ed Reset buttons - fixed rotation of instances with multiple volumes
Mirroring buttons now hide where appropriate
2019-06-14 15:28:09 +02:00
e9b7479a7b Added mirroring buttons into object manipulation panel 2019-06-14 15:03:42 +02:00
a4d0632a05 Added transformation reset buttons in object manipulation panel 2019-06-14 15:03:42 +02:00
73615df334 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
cd1c2e6b91 WipeTowerIntegration class: print_z is not passed around, ToolChangeResult objects are aware of it 2019-06-14 14:43:40 +02:00
cc5a47d96c 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
3d39707b8c 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
5bd2c66a3e 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
0e31498f43 Enable wipe tower for all multi-extruder configurations 2019-06-14 12:28:52 +02:00
7e530a7859 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
6637574e8a 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
93505406b3 Fix of admesh import due to boost::pool::destroy taking O(n).
Why on earth?!
2019-06-14 11:07:07 +02:00
4a177fe64f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera 2019-06-14 10:57:29 +02:00
d642517843 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
9877945e2a Tighter camera frustrum to reduce z-fighting 2019-06-14 10:38:09 +02:00
04b31c12d8 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
de7ef87987 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
7e98df4acc Fix of a smart pointer gymnastics from previous commit 2019-06-13 16:55:12 +02:00
f1965f46dd Further C++isation of the admesh library & TriangleMesh
(copy & move constructors / operators)
2019-06-13 16:33:50 +02:00
cb2051e25c Merge remote-tracking branch 'origin/master' into ys_new_features 2019-06-13 16:18:39 +02:00
2b78e4c678 Fixed selection 2019-06-13 16:17:54 +02:00
b5126a4cf4 DoubleSlider manipulation from preview scene 2019-06-13 16:10:33 +02:00
6e4025bb0c Fixed object selection in right panel form the Scene by context menu 2019-06-13 15:35:10 +02:00
ecff6b721d Build fix when boost is not in prefix/boost 2019-06-13 14:19:24 +02:00
902254e59d Workarounds for selection under OSX and GTK 2019-06-13 13:00:46 +02:00
e00c759126 Fixed updating of data for LayerEditors selection 2019-06-13 11:37:03 +02:00
2c1f888652 Method Camera::apply_projection() called at every rendered frame 2019-06-13 10:24:19 +02:00
f4a72f19a2 Added support for distance between camera position and camera target 2019-06-13 09:12:44 +02:00
9240dcb206 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera 2019-06-13 08:48:19 +02:00
75ecf5792f Fixed method Camera::get_position() 2019-06-13 08:47:38 +02:00
bd19f9591d Fixed method Camera::get_dir_forward() 2019-06-13 08:38:49 +02:00
2dab468a6a Fix build on Mac 2019-06-12 17:33:04 +02:00
7ea5782a35 Fix build on windows.
This issue is annoying.
2019-06-12 17:23:12 +02:00
503b278d69 Hotfix for pad shape deduction. 2019-06-12 17:09:40 +02:00
5128f35e69 Added some logic to layers editor selection 2019-06-12 16:28:25 +02:00
bf951671de Fixes for gap detection and case with no pad, but zero elevation. 2019-06-12 15:29:24 +02:00
4c456bb6a6 Fine tuning parameters and fixing pad wings when greater gaps are used. 2019-06-12 13:15:42 +02:00
403b048a2f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_perspective_camera 2019-06-12 11:45:57 +02:00
37714a78cb Fixed conflicts after git cherry-picking 39cfe819daeb7dd71bae5ff20edfbe6396dffbe8 2019-06-12 10:57:20 +02:00
c37a733b3d Bed shape dialog refactoring 2019-06-12 10:00:51 +02:00
6706e672d1 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