Commit Graph

2408 Commits

Author SHA1 Message Date
2ee16ab700 Code cleanup 2020-08-27 09:13:30 +02:00
9bf5ae419d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 08:00:45 +02:00
87244c6b81 Switch to smart pointers 2020-08-27 07:28:43 +02:00
f014afb08c Polylines merging 2020-08-27 01:59:35 +02:00
0b6841264c Add function for check existence of triangle in define radius 2020-08-26 23:28:52 +02:00
923687e06f Generating polylines from octree 2020-08-26 22:18:51 +02:00
d2304417b8 Fixed performance issues when adding / removing Presets into PresetCollection.
This improves application startup time by 25-33%.
2020-08-26 21:51:50 +02:00
e4aea124cf Building octree based on distance from mesh 2020-08-26 18:15:59 +02:00
f1a59060a3 Preparation for new infill 2020-08-26 16:51:34 +02:00
8fd394acc2 GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid 2020-08-26 15:29:33 +02:00
fd646e0094 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-24 15:11:15 +02:00
c427e9ce54 Drainholes are saved elevated for 3MF compatibility
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
0f53146d4b Changed internal coordinates of drain holes
Drain holes reference position was saved slightly above the mesh to avoid problem when the hole is placed on flat or nearly flat surface
The depth of the hole was internally bigger than what the user has set to compensato for it
However, this leads to problem with scaling and makes reprojection of the holes on the mesh complicated

This commit changes the reference point to the point on the mesh and the extra elevation is handled when rendering and drilling the hole.
The change is reflected in 3MF drain holes versioning so that old 3MFs are loaded correctly.
Reprojection on the mesh after reload from disk/fix through netfabb has been enabled.
2020-08-24 08:11:12 +02:00
b3676e9753 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-21 11:10:27 +02:00
33a290a11e GCodeViewer -> Show printbed model and texture for system printers detected when loading gcode files produced by PrusaSlicer 2020-08-21 10:59:07 +02:00
6f50117ed4 Fixed several indentation-related warnings 2020-08-19 17:15:01 +02:00
ca61d4794c Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-19 15:44:24 +02:00
de6267d912 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-19 08:18:23 +02:00
079e7d0332 Fix build on msvc 2020-08-18 13:45:18 +02:00
59bc7a74fc GCodeProcessor -> Calculate per layer time estimate 2020-08-18 12:37:07 +02:00
409304732b Slight code cleanup 2020-08-18 12:00:26 +02:00
8e113adee0 Renamed FacetSupportType to EnforcerBlockerType
So it's not misleading if we use it for seam painting
2020-08-18 12:00:26 +02:00
c875a3ab39 Add dedicated tests for support point generation 2020-08-18 11:41:14 +02:00
ec4a18c00d Fixed build when ENABLE_GCODE_VIEWER is disabled 2020-08-18 08:27:07 +02:00
4dc8e17818 Code cleanup 2020-08-17 15:59:36 +02:00
37bc47a946 GCodeProcessor -> Do not export width tags to gcode 2020-08-17 14:37:26 +02:00
51ab4b7fcd GCodeViewer -> Use rounded values for toolpaths height, width and volumetric rate to reduce the number of generated paths 2020-08-17 13:07:13 +02:00
2164b87cf1 GCodeProcessor -> Extract toolpaths width from gcode moves 2020-08-17 10:54:41 +02:00
b8a9de7454 GCodeProcessor -> Added debug code to check toolpaths data extracted from gcode, as mm3 per mm, height and width 2020-08-17 10:06:41 +02:00
adfcf0c47e Unsaved Changes : improvement for the GUI_App::check_unsaved_changes()
Added use of UnsavedChangesDialog
2020-08-14 18:17:16 +02:00
64c0b24be6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-14 11:45:54 +02:00
0b88dc4660 Add reserve_vector to libslic3r.h to be globally usable. 2020-08-13 15:42:31 +02:00
d4f32a3b4d Fix build on win and rpi 2020-08-13 15:09:22 +02:00
9d80f30fb5 Merge branch 'tm_minor_refactor' 2020-08-13 14:36:47 +02:00
bbffe7c52b replace ccr_::enumerate with flexible for_each
enumerate is unusual and would only work effectively with random access iterators

this for_each takes advantage of tbb blocked_range
replace ccr_::enumerate with flexible for_each

enumerate is unusual and would only work effectively with random access iterators

this for_each takes advantage of tbb blocked_range
2020-08-13 14:35:14 +02:00
b75543f85b Minor change to SLAPrinter interface 2020-08-13 14:35:14 +02:00
97a1c37723 GCodeProcessor -> Extract toolpaths height from gcode moves 2020-08-13 12:51:50 +02:00
25648e79a3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-12 15:07:31 +02:00
a56e5da6f9 Fix of custom supports: object offset for Clipper was incorrectly accounted for 2020-08-12 11:28:30 +02:00
99cbfb7545 Fixes of two crashes in paint-on supports 2020-08-12 11:08:10 +02:00
ef4c563db2 Fix of Support generator debugging functions after some refactoring 2020-08-12 10:51:15 +02:00
17c8d71151 ENABLE_GCODE_VIEWER -> More general drag and drop for .gcode files 2020-08-11 15:44:32 +02:00
d6f926b898 ENABLE_GCODE_VIEWER -> Drag and drop .gcode files into gcode viewer 2020-08-11 14:23:47 +02:00
e058c856c6 GCodeProcessor -> Fixed time estimate for stealth mode 2020-08-11 11:12:30 +02:00
02f159fa99 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-10 14:22:46 +02:00
451fae1248 GCodeProcessor -> Export remaining time (lines M73) to gcode 2020-08-10 14:22:05 +02:00
ceaeb26da8 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
3388d7edad GCodeProcessor -> Fixed export of estimated time to gcode filename 2020-08-07 15:30:08 +02:00
e7f21d1e0e Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
1a367dbf1e Fix of custom supports 3MF loading
Multiple-part objects were not handled correctly
2020-08-06 14:08:05 +02:00