Commit Graph

2688 Commits

Author SHA1 Message Date
Lukas Matena
0ea5a60f93 Wipe tower - fixed a long existent bug that sometimes resulted in inexact feedrate on the loading moves 2019-06-17 12:59:30 +02:00
Lukas Matena
9e68f19ee8 Fixup of 41164a9
The WipeTowerWriter did not now which tool is being used, so it limited the volumetric flow based on different filament settings
2019-06-17 11:22:17 +02:00
Lukas Matena
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
Lukas Matena
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
Lukas Matena
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
Lukas Matena
cd1c2e6b91 WipeTowerIntegration class: print_z is not passed around, ToolChangeResult objects are aware of it 2019-06-14 14:43:40 +02:00
Lukas Matena
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
Lukas Matena
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
Lukas Matena
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
Thomas Moore
0e31498f43 Enable wipe tower for all multi-extruder configurations 2019-06-14 12:28:52 +02:00
Lukas Matena
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
Lukas Matena
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
Enrico Turri
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
tamasmeszaros
ecff6b721d Build fix when boost is not in prefix/boost 2019-06-13 14:19:24 +02:00
Enrico Turri
75ecf5792f Fixed method Camera::get_position() 2019-06-13 08:47:38 +02:00
Enrico Turri
bd19f9591d Fixed method Camera::get_dir_forward() 2019-06-13 08:38:49 +02:00
Enrico Turri
37714a78cb Fixed conflicts after git cherry-picking 39cfe819daeb7dd71bae5ff20edfbe6396dffbe8 2019-06-12 10:57:20 +02:00
Enrico Turri
c37a733b3d Bed shape dialog refactoring 2019-06-12 10:00:51 +02:00
Enrico Turri
daa269b40f Fixed conflicts after cherry-picking 932e54383d28acbc96f0af6c38c838f2bb23f21d 2019-06-10 11:57:42 +02:00
bubnikv
f517506fa3 WIP: Fixing serial for Boost 1.70.0 and newer 2019-06-06 18:51:49 +02:00
tamasmeszaros
fc6150041c Fix static linking to Qhull 2019-06-06 16:24:00 +02:00
tamasmeszaros
c63a497344 Small addition to qhull dep handling. 2019-06-06 12:57:05 +02:00
tamasmeszaros
bab4611ee7 Future-proof qhull dependency handling 2019-06-05 19:19:49 +02:00
tamasmeszaros
53ada19bc9 Move cstdint to Zipper header.
The declarations already contain specific integers.
2019-06-04 09:26:33 +02:00
Vojtech Kral
cdacd38d2d BonjourDialog: Fix dialog flags 2019-06-03 17:41:02 +02:00
Vojtech Kral
c10ba1d870 Add missing header 2019-06-03 17:41:02 +02:00
tamasmeszaros
97e04326a1 Fix for opening issues with archive files. 2019-06-03 15:27:46 +02:00
YuSanka
e765007ca1 Fixed a bug with a "gear" button near the filament preset (part of #2440) 2019-06-03 14:59:16 +02:00
Bryan Smith
e598a81dc7 Add new [total_layer_count] placeholder everywhere [layer_num] is avalible.
Missed adding [total_layer_count] to layer_gcode


Revert "Add new [total_layer_count] placeholder everywhere [layer_num] is avalible."

This reverts commit e29e766224a14e1f237908c3e5507ac5586ca5b7.

Revert "Missed adding [total_layer_count] to layer_gcode"

This reverts commit f07907a8acc450e9ae1220c6a9fe4f7c7e6d896c.

Better way to add [total_layer_count]
2019-06-03 14:47:18 +02:00
tamasmeszaros
b4cf356198 Adjust miniz usage to use nowide FILE streams everywhere. 2019-06-02 22:27:35 +02:00
tamasmeszaros
3eea0949a6 Fix unclosed file after export. 2019-06-02 20:02:27 +02:00
tamasmeszaros
4554cf2063 Use nowide fopen in Zipper instead of patching miniz. 2019-06-02 19:10:13 +02:00
tamasmeszaros
f242c7cfcd Revert "Patch miniz bundled version to support unicode on Windows."
This reverts commit 8fc1eba652.
2019-06-02 19:06:29 +02:00
tamasmeszaros
a907798534 Merge branch 'tm_minz_update' 2019-05-31 18:34:59 +02:00
tamasmeszaros
8b10e0072e Patch miniz bundled version to support unicode on Windows. 2019-05-31 16:54:42 +02:00
tamasmeszaros
14beafb4be Using system miniz in Linuxes.
Also enabling miniz large file support on gnu compilers.
2019-05-31 12:33:35 +02:00
tamasmeszaros
6815ca85b7 Build system tweaks to get rid of cmake and boost warnings. 2019-05-30 17:48:32 +02:00
Lukas Matena
05a7d1b26b SLA dialog: Prevented the slider to have zero width, even in case the text width is calculated incorrectly 2019-05-27 15:36:51 +02:00
tamasmeszaros
836e37b0ca Update miniz cmake 2019-05-27 14:46:04 +02:00
Enrico Turri
8c3d0a5d28 Updated shortcut dialog with new scale to fit print volume command 2019-05-24 15:53:15 +02:00
Enrico Turri
7f98277577 Code cleanup 2019-05-24 15:22:27 +02:00
Enrico Turri
b56d65c1d5 1) Added Scale to print volume menu item to objects list context menu
2) Disable [F] key when scale sizmo is dragging
2019-05-24 14:42:59 +02:00
Enrico Turri
88d3813997 Fixed conflicts after cherry-picking 844e99f84e 2019-05-24 14:42:46 +02:00
Enrico Turri
17d944747e Fixed false detection of out of print volume for sla supports 2019-05-24 14:38:05 +02:00
YuSanka
1903bd82a8 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-24 12:46:36 +02:00
YuSanka
4f96307e71 Workaround for #2331 2019-05-24 12:37:26 +02:00
bubnikv
e15ab5a0cc Fix of loading the variable layer height profile and the SLA support
points for projects with instances.

3mf does not support a concept of instances, therefore all the instances
of all objects are indexed in a linear fashion. However, the 3mf files
index the layer height profiles and the SLA support points with
the object ID. The loading was fixed to take the different indexing
into account.
2019-05-24 12:17:54 +02:00
bubnikv
40d409e2e3 Fixed version info of the Win32 builds. 2019-05-23 18:05:28 +02:00
bubnikv
2aa05cfb0b Support of CJK languages in ImGUI:
Added glyph tables & CJK font (huge file!)
Added glyph tables for Turkish and Vietnamese.
Added glyph tables Thai (font is still missing)
2019-05-23 18:04:27 +02:00
bubnikv
690f495f1b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2019-05-23 15:43:22 +02:00