Commit Graph

10876 Commits

Author SHA1 Message Date
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
c19f1c7362 SPE-742: Parameter layer for zero elevation feature. 2019-06-11 18:17:20 +02:00
2974a8eef4 Fix of previous commit 2019-06-11 17:15:07 +02:00
c1fed74010 Sharing TriangleMesh objects between the front end (UI) and back end
(background processing)
2019-06-11 17:08:47 +02:00
db30f62a15 Refactor, fix wall normals and gap detection. 2019-06-11 16:17:51 +02:00
da9ba7f94c Added missed include for the OSX build 2019-06-11 14:54:31 +02:00
3830afd943 Import/export of the Layers information to/from 3MF 2019-06-11 14:39:41 +02:00
5399a7d338 SPE-742: Builtin pad feature in zero elevation mode. 2019-06-11 12:40:07 +02:00
d87289375a Copy/paste Layers for OSX 2019-06-11 10:11:42 +02:00
6f80baab7a Import/export of the Layers information to/from AMF 2019-06-11 09:50:58 +02:00
598370ceab admesh refactoring: Using boost::object_pool for linked list memory
allocation.
2019-06-11 09:29:32 +02:00
dc1a18f217 Fix of a typo. 2019-06-10 22:43:42 +02:00
c5a72957a7 SLA gimzmo: Sharing the Mesh's indexed triangle set with IGL AABB
structure directly, without having to make a copy.
2019-06-10 22:43:21 +02:00
9023e0bcba admesh refactoring: Use Eigen vec3i for indexed triangles. 2019-06-10 21:14:58 +02:00
4b5741c2d7 admesh refactoring: replaced various diagnostics outputs with boost::log 2019-06-10 19:45:38 +02:00