Commit Graph

6504 Commits

Author SHA1 Message Date
Lukas Matena
8dd345ed4c use center of enforcer only with spAligned 2020-09-18 12:00:48 +02:00
Lukas Matena
fffb79a085 Simple implementation of spRandom 2020-09-18 12:00:40 +02:00
Lukas Matena
5d6bf3261e fixed center-finding algorithm 2020-09-18 12:00:40 +02:00
Lukas Matena
e78221409a Renamed CustomSeam to SeamPlacer, move to a separate file 2020-09-18 12:00:14 +02:00
Lukas Matena
a1fadaf955 Partially working implementation of custom seam backend 2020-09-18 12:00:14 +02:00
Vojtech Bubnik
7e756b20e6 Adaptive infill: Reshuffled the namespaces. 2020-09-18 10:53:50 +02:00
enricoturri1966
7c7f5ebdda Fixed sliced info panel not hiding when changing printer type 2020-09-18 08:36:29 +02:00
Vojtech Bubnik
37c5fe9923 Refactoring of adaptive cubic / support cubic:
1) Octree is built directly from the triangle mesh by checking
   overlap of a triangle with an octree cell. This shall produce
   a tighter octree with less dense cells.
2) The same method is used for both the adaptive / support cubic infill,
   where for the support cubic infill the non-overhang triangles are
   ignored.
The AABB tree is no more used.
3) Optimized extraction of continuous infill lines in O(1) instead of O(n^2)
2020-09-17 18:39:28 +02:00
YuSanka
acdd5716bd SplashScreen: Fixed message text
UnsavedChangesDialog: Disabled "Move changes to selected preset" button, when printer technology is changed
PresetComboBox: Fixed color of the filament, if it is modified
2020-09-17 15:40:27 +02:00
enricoturri1966
0b2a399b6b New values for GCodeViewer::Extrusion_Role_Colors 2020-09-17 15:11:22 +02:00
enricoturri1966
fb4493c9d1 Restore estimated time lines in sidebar info 2020-09-17 11:42:58 +02:00
enricoturri1966
46d747bfaa Reduced threshold to split index buffers for toolpaths render 2020-09-17 10:13:14 +02:00
enricoturri1966
3ca6278ac9 Refactoring in GCodeViewer initialization 2020-09-17 08:59:36 +02:00
enricoturri1966
a40fc1fe2c Refactoring in toolpaths generation 2020-09-17 08:46:27 +02:00
enricoturri1966
8579ecceed Legend layout -> estimated time move to bottom 2020-09-17 08:18:16 +02:00
enricoturri1966
7a10e23470 Use multiple index buffers to render toolpaths in preview 2020-09-16 15:45:53 +02:00
tamasmeszaros
af785d1486 Fix hollowing crash when splitting broken object has zero parts. 2020-09-16 11:08:58 +02:00
Lukas Matena
4d5d1390f0 Added a missing include for gcc 2020-09-15 16:40:57 +02:00
enricoturri1966
5fc82cecfe Fixed crash when starting the application on a secondary monitor 2020-09-15 15:23:39 +02:00
enricoturri1966
7f1bea1dc8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-15 08:21:23 +02:00
enricoturri1966
5e4ba27106 Another small refactoring 2020-09-15 08:18:54 +02:00
ardenpm
541c31afb0
Merge branch 'master' into pa_reprap_g10_temperature_support 2020-09-15 11:40:38 +10:00
Vojtech Bubnik
5d8c4b4476 Fixed missing return 2020-09-14 16:27:38 +02:00
Vojtech Bubnik
1eadb6a1a9 Replaced some of Slic3r::RuntimeError exceptions with Slic3r::SlicingError.
Only Slic3r::SlicingError are now displayed by a notification, other
exceptions are shown by a pop-up dialog.
2020-09-14 18:03:22 +02:00
Vojtech Bubnik
067cde85f1 WIP Refactoring of exceptions:
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
YuSanka
6ac1935932 Updated "undo/redo" and "search' icons for the toolbar
* added "settings" and "search_blink" icons
 * suppress the icons scaling update when Plater is in the Preview mode
 * switched "layers_height" and "search" buttons in the toolbar
2020-09-14 17:25:47 +02:00
enricoturri1966
70536f8212
Merge pull request #4740 from wavexx/fix_get_time_dhm
Do not include (incorrect!) seconds in get_time_dhm
2020-09-14 09:59:55 +02:00
enricoturri1966
349dd60940 Small refactoring 2020-09-14 09:18:20 +02:00
charlie
6434f54b74 fix build on arch linux 2020-09-14 08:57:23 +02:00
Yuri D'Elia
0edbc59fa3 Update FirmwareDialog to use GUI_App::code_font 2020-09-13 02:37:05 +02:00
Yuri D'Elia
87534bf0d4 Format all G-code sections as code 2020-09-13 02:37:05 +02:00
Yuri D'Elia
cd4ad5e78b Introduce ConfigOptionDef::is_code to select code_font() 2020-09-13 02:36:50 +02:00
Yuri D'Elia
ba7f39afee Introduce GUI_App::code_font() 2020-09-13 02:17:19 +02:00
Yuri D'Elia
a32bb59d8e Do not include (incorrect!) seconds in get_time_dhm 2020-09-12 18:20:22 +02:00
Yuri D'Elia
ad20e369fa Include PrintConfig for the definition of AuthorizationType 2020-09-11 16:51:05 +02:00
Yuri D'Elia
776a775996 Add missing forward declarations 2020-09-11 16:51:05 +02:00
enricoturri1966
dd6994c3b2 Logging of memory used by the gcode processor and viewer 2020-09-11 15:19:23 +02:00
enricoturri1966
aedb3892ba Fixed conflicts after merge with master 2020-09-11 08:18:41 +02:00
enricoturri1966
95b918f01d Updated Sys Info dialog, About dialog, Keyboard shortcuts dialog for gcode viewer 2020-09-11 08:03:13 +02:00
Lukáš Hejl
137e7a0712 Fix compiler warnings and failing compilation on macOS 2020-09-10 22:57:58 +02:00
Lukáš Hejl
7ef5def077 Fix typo in function build_octree 2020-09-10 22:38:37 +02:00
Lukáš Hejl
e9a325c9ca Fix rotation in support cubic infill 2020-09-10 22:30:49 +02:00
tamasmeszaros
7766c6ebc4 Merge branch 'tm_rotfinder' 2020-09-10 20:06:18 +02:00
tamasmeszaros
20bd7b99f9 Significant performance improvements for elevated and non-elevated case
Apply bruteforce for elevated models
2020-09-10 19:35:45 +02:00
YuSanka
f1f9785a8a SplashScreen:
* Show it on the display same as an Application
 * Code refactoring : All related functions moved to the SplashScreen class
 * Add a possibility o hide/show splash scree in Preferences
2020-09-10 18:54:29 +02:00
Lukáš Hejl
40a7a44495 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-10 17:02:54 +02:00
Lukáš Hejl
f49144a9ef Move support cubic infill to separate class.
Support infill is enabled in the GUI.
2020-09-10 16:53:08 +02:00
Lukáš Hejl
8fb9b290b2 A prototype of adaptive support infill 2020-09-10 14:55:48 +02:00
Lukáš Hejl
680b1b9809 Construct octree based on inserted points 2020-09-10 14:52:26 +02:00
Lukáš Hejl
c261624999 A simple version of adaptive cubic support, for testing purposes 2020-09-10 14:52:26 +02:00
Lukáš Hejl
e55d184a7d Fix missing initialization in TriangleMesh constructor 2020-09-10 14:52:26 +02:00
Lukáš Hejl
70cb67430c Move rotation from building octree to infill generating 2020-09-10 14:52:21 +02:00
enricoturri1966
131cc0a41c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-10 14:35:40 +02:00
enricoturri1966
b991b613de Updated titlebar and splash screen + hidden statusbar for gcode viewer 2020-09-10 14:33:55 +02:00
tamasmeszaros
d527122046 Performance optimizations and bugfix 2020-09-10 14:03:30 +02:00
tamasmeszaros
3b7ea5587e Fix build on win 2020-09-10 14:03:30 +02:00
tamasmeszaros
0d4c67b9a3 Mostly working, inefficiencies remain, status indication partly broken 2020-09-10 14:03:30 +02:00
tamasmeszaros
9f3e7617d8 Add Imgui popup for rotation gizmo under SLA 2020-09-10 14:03:30 +02:00
tamasmeszaros
b4b9af4100 cosmethics
Comments and cosmethics
2020-09-10 14:03:30 +02:00
tamasmeszaros
c10ff4f503 fixing optimizer and concurrency::reduce 2020-09-10 14:03:30 +02:00
tamasmeszaros
c193d7c930 Brute force optimization code, buggy yet
wip


wip


wip refactor
2020-09-10 14:03:30 +02:00
tamasmeszaros
b4e30cc8ad rotation finder experiments
wip
2020-09-10 14:03:30 +02:00
tamasmeszaros
7713a55d45 Do a mesh split before openvdb conversion, unify each part's grid
Do a mesh redistance after the part splitting and openvdb csgUnion
2020-09-10 13:39:43 +02:00
tamasmeszaros
50836914fc Calibration changes to address new algorithm behavior. 2020-09-10 13:37:58 +02:00
tamasmeszaros
a21ff4141b Fix failing test due to changes in support point genertion 2020-09-10 13:19:17 +02:00
tamasmeszaros
26d5c30366 Improvements to support point generator
- Separate the 3 bands -- dangling, sloping and full overhanging -- regions and handle them with different support force deficits.

- Use a heuristic for overhanging edges to increase the number of support points generated for them


- Try to make overhangs and slopes deficit depend on stable area.
2020-09-10 13:19:17 +02:00
enricoturri1966
ea9a8b7e93 Hides view toolbar in gcode viewer 2020-09-10 09:43:45 +02:00
enricoturri1966
659c24d3d8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-10 08:50:00 +02:00
enricoturri1966
88457bf412 Tech ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION set as default 2020-09-10 08:49:50 +02:00
Vojtech Bubnik
6a11e7996e Merge branch 'lh_adaptive_infill' 2020-09-09 16:46:43 +02:00
Vojtech Bubnik
7b318e1698 Refactoring of adaptive cubic infill:
Don't create an octree for the infill if it is not needed.
2020-09-09 15:55:06 +02:00
enricoturri1966
3527cd48e8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-09 15:04:40 +02:00
enricoturri1966
2f9dd9d9e8 Completed implementation of 'File->GCode preview...' command 2020-09-09 15:03:51 +02:00
Lukáš Hejl
5e9399247c Check if exist any boundary polyline 2020-09-09 14:40:14 +02:00
Lukáš Hejl
5633526ecf Enable changing adaptive infill density for different objects 2020-09-09 14:40:14 +02:00
Lukáš Hejl
aca212c5bc Octree representation rework 2020-09-09 14:40:14 +02:00
Lukáš Hejl
acedb66cdc Change to using raw_mesh instead of mesh 2020-09-09 14:40:14 +02:00
Lukáš Hejl
000987451a Fix bug in lines merging 2020-09-09 14:40:14 +02:00
Lukáš Hejl
03e103fcc8 Connect infill to perimeters 2020-09-09 14:40:14 +02:00
Lukáš Hejl
398d429ce1 Code cleanup 2020-09-09 14:40:14 +02:00
Lukáš Hejl
d09ac41d2c Octree's first cube depends on model size. 2020-09-09 14:40:14 +02:00
Lukáš Hejl
2debffc496 Fix tests which expect make_fills without arguments 2020-09-09 14:40:14 +02:00
Lukáš Hejl
33121b705a Change in passing octree struct 2020-09-09 14:40:08 +02:00
Lukáš Hejl
9eeb5e4364 Fix wrong data type 2020-09-09 14:37:20 +02:00
Lukáš Hejl
65ba40f044 Fix crash on inconsistent input 2020-09-09 14:37:20 +02:00
Lukáš Hejl
867681ae56 Fix discontinuous extrusion lines for adaptive infill 2020-09-09 14:37:20 +02:00
Lukáš Hejl
14a7fbc9f7 Switch to smart pointers 2020-09-09 14:37:17 +02:00
Lukáš Hejl
c0d21bd2b4 Polylines merging 2020-09-09 14:34:04 +02:00
Lukáš Hejl
c311b84b21 Add function for check existence of triangle in define radius 2020-09-09 14:34:04 +02:00
Lukáš Hejl
9f049b2619 Generating polylines from octree 2020-09-09 14:34:04 +02:00
Lukáš Hejl
34f38c4a79 Building octree based on distance from mesh 2020-09-09 14:34:04 +02:00
Lukáš Hejl
0d26df3cf6 Preparation for new infill 2020-09-09 14:34:04 +02:00
Vojtech Bubnik
e010d287c5 Fixed launching of new slicer instances on Windows. 2020-09-09 11:41:23 +02:00
enricoturri1966
d8530e7d9f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-09-09 09:12:56 +02:00
enricoturri1966
6b10214bec Fixed export of pause print lines into gcode 2020-09-09 09:06:50 +02:00
enricoturri1966
4b581ccdd8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-09-09 08:39:43 +02:00
YuSanka
6f0ace52c6 Merge remote-tracking branch 'origin/ys_splash_screen' 2020-09-08 16:13:54 +02:00
YuSanka
3c14d883a1 PhysicalPrinterDialog: Fixed memory leak 2020-09-08 16:11:01 +02:00
enricoturri1966
8cb2636afc Fixed conflicts after merge with master 2020-09-08 15:38:35 +02:00
Vojtech Bubnik
ce06fc6cb7 Added networking support for SL1 Digest authorization.
Renamed login/password/authorization_type to printhost_user/printhost_password/printhost_authorization_type.
Added initialization of physical printer preset with default values.
2020-09-08 15:31:10 +02:00
enricoturri1966
a13b732f27 Fixed loading current presets 2020-09-08 15:30:01 +02:00
YuSanka
07499ff9d0 Fixed Scale on Linux 2020-09-08 15:20:12 +02:00
Vojtech Bubnik
0a4debc98c Fix of a preceding merge 2020-09-08 14:25:10 +02:00
Vojtech Bubnik
ceaa61071a Fix of the previous merge, Windows specific. 2020-09-08 14:08:03 +02:00
enricoturri1966
eded5b051d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-08 14:01:55 +02:00
enricoturri1966
844f62af66 Cleanup toolpaths when changing printer to SLA 2020-09-08 14:01:32 +02:00
Vojtech Bubnik
4e4b8ff5aa Merge branch 'vb_gcodeviewer_menu' 2020-09-08 13:51:02 +02:00
YuSanka
9ce3086f02 Splash screen : Try to fix scaling on Linux 2020-09-08 13:40:14 +02:00
Vojtech Bubnik
946f51467f WIP Standalone G-code viewer 2020-09-08 13:33:43 +02:00
test
0f64b67ffa osx fix 2020-09-08 12:39:11 +02:00
enricoturri1966
f6534f5f7a Follow-up of 7270d222df -> Fix of build on OsX and Linux 2020-09-08 12:36:57 +02:00
enricoturri1966
7270d222df Fix build on OsX 2020-09-08 12:10:07 +02:00
enricoturri1966
67d10a3c0c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-09-08 11:55:35 +02:00
enricoturri1966
2443b7aaea Splash screen for gcode viewer 2020-09-08 11:55:21 +02:00
enricoturri1966
93ed04ef7b Fixed conflicts after merge with master 2020-09-08 11:50:11 +02:00
Vojtech Bubnik
0fde670fd6 osx fix 2020-09-08 11:49:02 +02:00
enricoturri1966
f58d3116bf Fixed crash when loading gcode files saved with older version of PrusaSlicer 2.3.0.alpha 2020-09-08 11:43:18 +02:00
enricoturri1966
ab556a398b GCode viewer using the proper layout when started as a standalone application 2020-09-08 11:40:06 +02:00
Vojtech Bubnik
3c51581e92 Another fix 2020-09-08 11:36:00 +02:00
Vojtech Bubnik
77ba284a59 Trying to fix spawn on OSX 2020-09-08 11:22:27 +02:00
Vojtech Bubnik
663f17a0e3 Improved logging of spawning a subprocess. 2020-09-08 09:57:17 +02:00
YuSanka
1418b71541 Linux: Try to fix warning "Na handler for image type 15" 2020-09-08 09:12:40 +02:00
Vojtech Bubnik
d830e1c970 Run PrusaSlicer as G-code viewer based on argv[0] name on Unix systems. 2020-09-07 22:37:55 +02:00
Vojtech Bubnik
f237b33515 Yet another fix on OSX. 2020-09-07 22:28:17 +02:00
test
620c85f264 Fix on OSX 2020-09-07 22:00:01 +02:00
Vojtech Bubnik
889f05167a Changing the binary name on OSX to PrusaSlicer. 2020-09-07 21:36:51 +02:00
YuSanka
5618293a28 Splash screen : implemented smart splash screen 2020-09-07 21:21:13 +02:00
Vojtech Bubnik
8622437c12 fixing symlinks 2020-09-07 18:09:51 +02:00
Vojtech Bubnik
ae0e576c32 Fixing Linux build 2020-09-07 17:41:16 +02:00
Vojtech Bubnik
1221c67d7f Fix for OSX 2020-09-07 17:09:27 +02:00
Vojtech Bubnik
9473ae8fe2 Fix of previous commit, added symlinks to gcodeviewer on Linux & OSX 2020-09-07 16:56:22 +02:00
bubnikv
b0bedf33c0 WIP: G-code viewer menu, refactoring of starting a background process. 2020-09-07 15:59:45 +02:00
enricoturri1966
8579184d70 Follow-up of 573194e059 -> Fixed crash when opening a gcode file 2020-09-07 11:30:31 +02:00
Lukáš Hejl
97e62be902 Check if exist any boundary polyline 2020-09-07 09:14:06 +02:00
enricoturri1966
014a90b51b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-07 08:35:54 +02:00
enricoturri1966
e10d1eba54 GCodeProcessor -> Use decorations to detect toolpaths height for gcode files generated by PrusaSlicer 2020-09-07 08:35:34 +02:00
YuSanka
902de849c0 Implemented class SplashScreen for using of text 2020-09-04 20:25:27 +02:00
YuSanka
9d786b5f88 Fixed non-MSW builds 2020-09-04 16:21:36 +02:00
YuSanka
486c07702c Added SplashScreen 2020-09-04 13:42:44 +02:00
YuSanka
c8133b91b7 Code cleaning.
+ Use default DPIfont for wxHtmlWindows
2020-09-04 13:01:02 +02:00
Lukas Matena
436e12e99f Seam gizmo: fixed action names in undo/redo stack 2020-09-04 12:46:39 +02:00
YuSanka
ba87a4fd9a Fixed rescale of the MainFrame/SettingsDialog after switching between settings layouts on the 2 monitors with different DPI 2020-09-04 10:08:54 +02:00
Lukáš Hejl
6c01d537e4 Enable changing adaptive infill density for different objects 2020-09-03 23:15:46 +02:00
Lukáš Hejl
ce18b824ad Octree representation rework 2020-09-03 19:21:55 +02:00
Lukáš Hejl
c2af265df8 Change to using raw_mesh instead of mesh 2020-09-03 16:08:40 +02:00
YuSanka
c49221c621 Fix of Settings scaling when they are placed in non-modal Dialog 2020-09-03 15:40:14 +02:00
Lukáš Hejl
184cb7afd9 Fix bug in lines merging 2020-09-03 14:28:25 +02:00
Lukáš Hejl
353c65fa4c Connect infill to perimeters 2020-09-03 13:05:28 +02:00
Lukáš Hejl
a3a1c20172 Code cleanup 2020-09-03 11:56:41 +02:00
YuSanka
0f0c9a0726 OSX specific: UnsavedChangesDialog: Fixed strange ellipsis for items in DataViewCtrl 2020-09-03 10:44:54 +02:00
YuSanka
cbe93815b2 Fixed layout after switching mode of settings layout 2020-09-03 09:27:53 +02:00
enricoturri1966
573194e059 GCodeProcessor -> Added cancel callback 2020-09-03 08:32:06 +02:00
Lukáš Hejl
fd3a31651c Octree's first cube depends on model size. 2020-09-03 08:04:05 +02:00
Lukáš Hejl
71237cf11f Fix tests which expect make_fills without arguments 2020-09-03 07:52:53 +02:00
Lukáš Hejl
5997f2759c Change in passing octree struct 2020-09-02 22:53:10 +02:00
enricoturri1966
0cfa64e245 GCodeViewer -> Fixed bug in generating solid toolpaths and export of toolpaths to obj file 2020-09-02 14:24:32 +02:00
YuSanka
4d053cc4ee Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-09-02 09:15:11 +02:00
YuSanka
d8487b1458 Unsaved Changes: bug fix and improvements
- changed width of the "Save dialog"
- SavePresetDialog: added info for Print/Filament user presets incompatible with selected printer_technology
- fixed missed "modified" suffix when options are moved to the another preset
- "move selected options" button is added for dependent presets
2020-09-02 09:06:42 +02:00
Lukas Matena
7844ca12fa First naive prototype of seam painter 2020-09-02 00:36:30 +02:00
Lukas Matena
60cf002e94 Fixed merge conflicts (whitespace only) 2020-09-02 00:36:30 +02:00
Lukas Matena
46eb96e84f Added two missing icons to fix build on Linux 2020-09-01 23:26:08 +02:00
Lukas Matena
6646198a9b Merge branch lm_seam_painter_frontend 2020-09-01 23:03:16 +02:00
Lukas Matena
9c59b4f930 Custom seam: Model integration, backend invalidation, 3MF loading/saving 2020-09-01 22:35:01 +02:00
Lukas Matena
01b59ff57b Seam gizmo created on frontend 2020-09-01 18:18:57 +02:00
Lukas Matena
db7559157c Revert "Forbid translation of objects when SLA/Hollow/FDM gizmos are active"
This reverts commit c291717909. Translation of object when those
gizmos are active should already be supressed by previous commit (ba97ebb0). The FDM gizmo was
erroneously not blocking the translation, the commit that is reverted is therefore needless
after this was fixed the way it should have been fixed in the first place.
2020-09-01 18:18:57 +02:00
Lukas Matena
a9435cccb8 Finished separation of FDM gizmo into base and child 2020-09-01 18:18:57 +02:00
Lukas Matena
7a6531ede7 Started work on separating FDM gizmo into base and child classes 2020-09-01 18:18:57 +02:00
Lukas Matena
223eb6933c TriangleSelector paints continuously when dragging fast
Previously there would be distinct circles with gaps in between
2020-09-01 18:18:57 +02:00
Lukas Matena
d3e7684a5a Forbid translation of objects when SLA/Hollow/FDM gizmos are active 2020-09-01 18:18:56 +02:00
Lukas Matena
255469347f Fixed several indentation-related warnings 2020-09-01 18:18:56 +02:00
tamasmeszaros
761e71eb63 Fix build on msvc 2020-09-01 18:18:56 +02:00
Lukas Matena
1eef1d32a0 Added two missing includes to fix build on gcc 2020-09-01 18:12:51 +02:00
David Kocik
6033e69906 filaments selecting: sorting via printer, showing printers for filament 2020-09-01 18:00:12 +02:00
bubnikv
08580a9b18 WIP: prusa-gcodeviewer command line wrapper to start the PrusaSlicer
in standalone G-code viewer mode.
Linux and OSX stuff will follow.
2020-09-01 16:56:12 +02:00
enricoturri1966
ac9e1e8e4a Extract app icon from exe on Windows 2020-09-01 16:14:18 +02:00
David Kocik
3984326ee3 notification init() at first render, not notification creation. Hopefully a fix of issue #4647. 2020-09-01 15:57:49 +02:00
David Kocik
a81afce1b8 notifications not showing slicing finished when error 2020-09-01 15:57:48 +02:00
David Kocik
bca60821d8 notifications: plater warning refactor 2020-09-01 15:57:48 +02:00
David Kocik
25fb569017 notifications: plater warning not visible in preview 2020-09-01 15:57:48 +02:00
David Kocik
2455df4017 notifiactions: new icons + deleting old warnings&errors 2020-09-01 15:57:48 +02:00
enricoturri1966
acb5a9bc8d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-01 14:35:51 +02:00
enricoturri1966
d3346e4512 Fixed export of toolpaths to obj files 2020-09-01 14:35:42 +02:00
Vojtech Bubnik
683af51685 Replaced boost::filesystem::canonical() with boost::filesystem::absolute(),
as canonical() is broken on Windows (reparse points aka symbolic links
are not processed correctly).

Fixes
https://github.com/prusa3d/PrusaSlicer/issues/732
https://github.com/prusa3d/PrusaSlicer/issues/3956
https://github.com/prusa3d/PrusaSlicer/issues/4557
2020-09-01 14:15:37 +02:00
enricoturri1966
e32930aa6c Code cleanup 2020-09-01 09:28:02 +02:00
enricoturri1966
bf7b952eff GCodeViewer -> Smoothed solid toolpaths corners 2020-09-01 08:29:06 +02:00
Lukáš Hejl
423d1f2f40 Fix wrong data type 2020-08-31 08:49:17 +02:00
Lukáš Hejl
8e6760e033 Fix crash on inconsistent input 2020-08-30 20:38:07 +02:00
enricoturri1966
b563010bf1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-28 12:30:45 +02:00
enricoturri1966
1c2ef87cfa GCodeViewer -> Reduced vertices count when generating solid toolpaths 2020-08-28 12:28:21 +02:00
enricoturri1966
d07d5e36de Follow-up of 93921dc7c8 -> Remove taskbar icon before to change it 2020-08-28 11:20:18 +02:00
enricoturri1966
93921dc7c8 ENABLE_GCODE_VIEWER -> Experimental taskbar icon 2020-08-28 08:54:58 +02:00
tamasmeszaros
79567a1958 Add some comments for png read interface 2020-08-27 23:14:42 +02:00
tamasmeszaros
ad0df8fd09 Be compatible with earlier libpng versions. 2020-08-27 23:14:42 +02:00
tamasmeszaros
b09552e56f Don't use fmemopen, its not standard. 2020-08-27 23:14:42 +02:00
tamasmeszaros
8541ce4060 SLA archive import will now recover the model's original position. 2020-08-27 23:14:42 +02:00
tamasmeszaros
769ee15475 Move SLA import to libslic3r with png reading using libpng
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
tamasmeszaros
2bcd36d155 PNG image read with libpng 2020-08-27 23:14:42 +02:00
tamasmeszaros
19e1d877aa Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
enricoturri1966
e22e85e8e2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 13:11:49 +02:00
enricoturri1966
8af3659e98 GCodeViewer -> Fixed generation of solid toolpaths 2020-08-27 13:11:28 +02:00
Lukáš Hejl
b28f9b8935 Fix discontinuous extrusion lines for adaptive infill 2020-08-27 13:04:53 +02:00
bubnikv
17170b81b5 Clean-up of Shiny profiler integration, so that the intrusiver profiling
can be controlled per module.
2020-08-27 12:14:49 +02:00
enricoturri1966
689c8691ee Another code cleanup 2020-08-27 10:15:07 +02:00
enricoturri1966
af30a3ab7e Code cleanup 2020-08-27 09:13:30 +02:00
enricoturri1966
88b6835258 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 08:00:45 +02:00
Lukáš Hejl
c5a73a7cd6 Switch to smart pointers 2020-08-27 07:28:43 +02:00
Lukáš Hejl
cb328c99aa Polylines merging 2020-08-27 01:59:35 +02:00
Lukáš Hejl
fb24d8167a Add function for check existence of triangle in define radius 2020-08-26 23:28:52 +02:00
Lukáš Hejl
eaaff4e707 Generating polylines from octree 2020-08-26 22:18:51 +02:00
bubnikv
41f474a884 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
Lukáš Hejl
3ac16d9c9c Building octree based on distance from mesh 2020-08-26 18:15:59 +02:00
Lukáš Hejl
42a7f2b1d8 Preparation for new infill 2020-08-26 16:51:34 +02:00
Slic3rPE
e0e75f4a0e Starting a new Slicer instance from the menu - fix of Windows build 2020-08-26 15:50:05 +02:00
enricoturri1966
f6acd4933c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-26 15:29:55 +02:00
enricoturri1966
ba9c3a74ed GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid 2020-08-26 15:29:33 +02:00
Slic3rPE
56431d26e5 Starting a new Slicer instance from the menu 2020-08-26 14:56:26 +02:00
enricoturri1966
2783653369 Added icon for gcode viewer mode 2020-08-26 13:01:54 +02:00
enricoturri1966
ac8a6fccbe Renamed shaders 2020-08-25 08:12:28 +02:00
enricoturri1966
e4f767b2ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-24 15:11:15 +02:00
Lukas Matena
c51a45ee0f Drainholes are saved elevated for 3MF compatibility
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
Lukas Matena
a95509ce36 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
enricoturri1966
5ff6f3045e ENABLE_GCODE_VIEWER -> KBShortcutsDialog shows only related tabs when gcode viewer state is active 2020-08-21 11:50:05 +02:00
enricoturri1966
99a15af03d GCodeViewer -> Allow to switch to gcode viewer state when an sla printer is selected 2020-08-21 11:36:08 +02:00
enricoturri1966
34759f9a70 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-21 11:10:27 +02:00
enricoturri1966
7a093b08fd 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
Lukas Matena
320964a68c TriangleSelector paints continuously when dragging fast
Previously there would be distinct circles with gaps in between
2020-08-21 09:49:39 +02:00
Lukas Matena
c291717909 Forbid translation of objects when SLA/Hollow/FDM gizmos are active 2020-08-21 09:49:39 +02:00
Paul Arden
f6d25d0634 Rework G10 temperature support to be enabled only for a new Firmware type RepRapFirmware leaving the RepRap/Sprinter behaviour alone. Rename the enum for gcfRepRap to gcfRepRapSprinter and add new gcfRepRapFirmware enum value. Also adds code to only use the G10 searching in custom G-code if the flavour is RepRapFirmware. 2020-08-21 14:08:32 +10:00
Lukas Matena
739cd2a4a2 Fixed several indentation-related warnings 2020-08-19 17:15:01 +02:00
YuSanka
15545bbd90 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-19 15:44:24 +02:00
YuSanka
8af49d7d87 Code refactoring for last commit 2020-08-19 15:35:58 +02:00
enricoturri1966
992d7065b2 GCodeViewer -> Modified shape of printbed for the unknown size case 2020-08-19 15:19:07 +02:00
enricoturri1966
db77f80681 Follow-up of eca4f0a4cd. Fixed preview background on all platforms 2020-08-19 13:14:47 +02:00
YuSanka
15285a68a0 BedShape is extracted to the separate structure 2020-08-19 13:04:51 +02:00
enricoturri1966
eca4f0a4cd GCodeViewer -> Changed layout of sliders in preview 2020-08-19 12:59:50 +02:00
enricoturri1966
41579db708 GCodeViewer -> Use only white texts in legend 2020-08-19 11:55:18 +02:00
enricoturri1966
d91fc7b8ab ENABLE_GCODE_VIEWER -> Removed options_120_solid shader 2020-08-19 11:25:12 +02:00
enricoturri1966
af200e47c1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-19 08:18:23 +02:00
YuSanka
4641d44544 UnsavedChangesDialog : improvements
* Processed changes in options with nullable values
* Processed changes on the extruders count
2020-08-18 16:49:06 +02:00
tamasmeszaros
5052149b81 Fix build on msvc 2020-08-18 13:45:18 +02:00
enricoturri1966
7b5f84b7df Extended hover capability in DoubleSlider::Control 2020-08-18 12:39:46 +02:00
enricoturri1966
bd4e4535f9 GCodeProcessor -> Calculate per layer time estimate 2020-08-18 12:37:07 +02:00
Lukas Matena
6db1e5ab8f Slight code cleanup 2020-08-18 12:00:26 +02:00
Lukas Matena
97bc092cce Renamed FacetSupportType to EnforcerBlockerType
So it's not misleading if we use it for seam painting
2020-08-18 12:00:26 +02:00
Lukas Matena
7fd2209b48 Gizmos can be shown depending on current mode 2020-08-18 12:00:26 +02:00
tamasmeszaros
4ef52af906 Add dedicated tests for support point generation 2020-08-18 11:41:14 +02:00
enricoturri1966
cd45b78c48 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-18 08:27:30 +02:00
enricoturri1966
ca27d7296f Fixed build when ENABLE_GCODE_VIEWER is disabled 2020-08-18 08:27:07 +02:00
enricoturri1966
1172dfcb40 #4639 - ImGuiWrapper: fixed calls to ImGui::Text() and ImGui::TextColored() 2020-08-18 07:55:53 +02:00
enricoturri1966
c81d87b470 Code cleanup 2020-08-17 15:59:36 +02:00
YuSanka
e050fb68bf Fixed UI changing update for "Ramming" parameter 2020-08-17 15:13:18 +02:00
enricoturri1966
73603e4937 GCodeProcessor -> Do not export width tags to gcode 2020-08-17 14:37:26 +02:00
enricoturri1966
b156153405 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
enricoturri1966
5b579aee9a GCodeProcessor -> Extract toolpaths width from gcode moves 2020-08-17 10:54:41 +02:00
enricoturri1966
f2d02faef4 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
YuSanka
618f04717f Unsaved Changes : improvement for the GUI_App::check_unsaved_changes()
Added use of UnsavedChangesDialog
2020-08-14 18:17:16 +02:00
enricoturri1966
6a603eed25 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-14 11:45:54 +02:00
YuSanka
8f15efbf9a Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-13 15:46:17 +02:00
YuSanka
d7176c64bd Unsaved Changes : implemented "move" and improved "save"
UnsavedChangesDialog : some code refactoring

SavePresetDialog : processed empty name for the preset
2020-08-13 15:45:16 +02:00
tamasmeszaros
add3894e8c Add reserve_vector to libslic3r.h to be globally usable. 2020-08-13 15:42:31 +02:00
tamasmeszaros
7158690ddd Fix build on win and rpi 2020-08-13 15:09:22 +02:00
tamasmeszaros
399c5a9c98 Show description for disabled elevation when pad or pad around is off
Follow-up fix for 830d89
2020-08-13 14:54:13 +02:00
tamasmeszaros
1003c32f76 Merge branch 'tm_minor_refactor' 2020-08-13 14:36:47 +02:00
tamasmeszaros
929cea59f3 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
tamasmeszaros
9486901b93 Minor change to SLAPrinter interface 2020-08-13 14:35:14 +02:00
YuSanka
830d89576c Added description line for the disabling of "Object elevation"
Deleted mirrored parameter "pad_around_object" from "Support" category
2020-08-13 13:04:46 +02:00
enricoturri1966
b80bde11f3 GCodeProcessor -> Extract toolpaths height from gcode moves 2020-08-13 12:51:50 +02:00
YuSanka
491e7b16f9 Fixed build under GTK 2020-08-13 08:20:22 +02:00
YuSanka
79ba488d5d Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-12 17:36:04 +02:00
YuSanka
a81e3ee224 UnsavedChangesDialog : implemented "Save" function 2020-08-12 17:33:22 +02:00
YuSanka
32595f7659 Fixed scaling of the SavePresetDialog under MSW
+ fixed misunderstanding typo in PlaterPresetComboBox
2020-08-12 16:13:29 +02:00
enricoturri1966
7be5860908 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-12 15:07:31 +02:00
enricoturri1966
493d52850e ENABLE_GCODE_VIEWER -> Drag and drop for non .gcode files while gcode viewer mode is active 2020-08-12 15:07:02 +02:00
YuSanka
6dafdc5bab Fixed rescaling under MSW 2020-08-12 13:36:26 +02:00
Lukas Matena
6d4bb10ec5 Fix of custom supports: object offset for Clipper was incorrectly accounted for 2020-08-12 11:28:30 +02:00
Lukas Matena
fd93d9768d Fixes of two crashes in paint-on supports 2020-08-12 11:08:10 +02:00
Vojtech Bubnik
12f43736bd Fix of Support generator debugging functions after some refactoring 2020-08-12 10:51:15 +02:00
enricoturri1966
176f7cd6df Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-12 08:10:54 +02:00
YuSanka
a71ef4dd61 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-11 16:12:00 +02:00
YuSanka
a6a5025a76 Fixed a crash
appeared when we try to update PlaterPresetComboBox for empty selected preset.
2020-08-11 15:48:49 +02:00
enricoturri1966
4ca026d4b6 ENABLE_GCODE_VIEWER -> More general drag and drop for .gcode files 2020-08-11 15:44:32 +02:00
enricoturri1966
5a0e048079 ENABLE_GCODE_VIEWER -> Drag and drop .gcode files into gcode viewer 2020-08-11 14:23:47 +02:00
enricoturri1966
5882c121cc GCodeProcessor -> Fixed time estimate for stealth mode 2020-08-11 11:12:30 +02:00
YuSanka
cb407e46e5 Fixed color update under GTK
+ FullCompareDialog : Use SetStile instead of SetForegroundColour for the wxTextCtrls
2020-08-11 10:37:08 +02:00
YuSanka
6a33c967cf Fixed GTK build 2020-08-11 09:17:52 +02:00
YuSanka
058e024d2d Implemented FullCompareDialog for show long string values
+ fixed build under GTK
2020-08-10 19:17:16 +02:00
enricoturri1966
dea641183c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-10 14:22:46 +02:00
enricoturri1966
6ed2cb661d GCodeProcessor -> Export remaining time (lines M73) to gcode 2020-08-10 14:22:05 +02:00
YuSanka
11c22e7fb2 Fixed Linux build 2020-08-10 11:41:19 +02:00
YuSanka
f87ca111e1 GTK specific: Use the wxDataViewIconTextRenderer instead of the DataViewBitmapRenderer for "Old/NewValue" columns too.
+ update ofthe enabling for the "Save/Move" buttons
2020-08-10 11:24:31 +02:00
YuSanka
8b74ae4568 Use the wxDataViewIconTextRenderer instead of the DataViewBitmapTextRenderer under GTK 2020-08-10 09:45:32 +02:00
YuSanka
f9e47b2702 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
enricoturri1966
64001c0fe5 GCodeProcessor -> Fixed export of estimated time to gcode filename 2020-08-07 15:30:08 +02:00
YuSanka
c4569c93f2 UnsavedChangesDialog: Fixed get_string_from_enum() in respect to the InfillPattern 2020-08-07 15:09:58 +02:00
Lukas Matena
afcc14861f Fix build on GCC (missing forward declaration) 2020-08-07 10:42:48 +02:00
YuSanka
08576ad746 UnsavedChangesDialog :: Toggle column is on first place now 2020-08-07 10:21:20 +02:00
YuSanka
e709c49e17 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-07 10:04:55 +02:00
YuSanka
b6746a3937 PhysicalPrinterDialog : Incompatible presets extracted to the separate group 2020-08-07 10:00:54 +02:00
YuSanka
a6dc3d37f5 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
YuSanka
94efb5185b One more experiment 2020-08-06 16:54:14 +02:00
YuSanka
3688ae350b Added missed includes for GTK 2020-08-06 16:28:12 +02:00
YuSanka
4913378dbe Changed signature of the BitmapTextRenderer
+ Added experimental code for the rendering of the "markuped" text
2020-08-06 15:54:12 +02:00
enricoturri1966
bcd998f9f1 GCodeViewer -> New set of colors for toolpaths 2020-08-06 14:25:00 +02:00
Lukas Matena
41b1dc3d80 Fix of custom supports 3MF loading
Multiple-part objects were not handled correctly
2020-08-06 14:08:05 +02:00
enricoturri1966
0c6f66eca6 GCodeViewer -> Tweaks in legend rendering 2020-08-06 13:36:21 +02:00
Slic3rPE
42f3bfb0f6 Fixed a build under OSX 2020-08-06 10:56:14 +02:00
YuSanka
1079d4644c PhysicalPrinterDialog improvements : Printer device default name is changed to force the user to change it
SavePresetDialog : Fixed OSX bug, when wxEVT_TEXT wasn't invoked after change selection in ComboBox
2020-08-06 10:40:04 +02:00
enricoturri1966
2aa1c2776c GCodeViewer -> Estimated printing times shown in the legend 2020-08-06 10:15:34 +02:00
YuSanka
6ee804f466 Merge remote-tracking branch 'origin/master' into ys_unsaved_changes 2020-08-06 08:51:13 +02:00
YuSanka
93c1671e09 Custom renderers extracted from the ObjectDataViewModel 2020-08-05 20:26:40 +02:00
YuSanka
1674d2af29 UnsavedChangesDialog improvements:
* support markup text and colored icons for cells

+ Extended BitmapTextRenderer for using of markup text
2020-08-05 19:25:04 +02:00
tamasmeszaros
171acf094c Change license of libnest2d to LGPLv3 2020-08-05 16:34:01 +02:00
enricoturri1966
8fc5be7e4f Refactoring to allow to quickly build the various options to show the estimated printing time in gcode viewer scene 2020-08-05 15:43:46 +02:00
enricoturri1966
25c3552555 Fixed conflicts after merge with master 2020-08-04 09:58:19 +02:00
tamasmeszaros
0614d6d4a8 Remove leftover junk comments 2020-08-03 19:07:30 +02:00
tamasmeszaros
f3c0bf46d4 finish optimizer interface and remove commented code 2020-08-03 19:06:57 +02:00
tamasmeszaros
927b81ea97 Working small-to-normal support merging
Fixed fatal bug with anchors for mini supports

Make the optimization cleaner in support generatior

Much better widening behaviour

Add an optimizer interface and the NLopt implementation into libslic3r

New optimizer based only on nlopt C interfase
Fix build and tests
2020-08-03 19:05:30 +02:00
tamasmeszaros
8cb115a035 Add possible manipulation of small support diameter. 2020-08-03 19:05:30 +02:00
tamasmeszaros
7c655b5d7e Fix junction made below ground level. 2020-08-03 19:05:30 +02:00
tamasmeszaros
1eec6c473c Rename EigenMesh3D to IndexedMesh and SupportConfig to SupportTreeConfig 2020-08-03 19:05:30 +02:00
tamasmeszaros
645fbed88b Make compile time support tree conf params constexpr 2020-08-03 19:05:30 +02:00
tamasmeszaros
f19b3a2344 Id-s put in a base class for support tree primitives 2020-08-03 19:05:30 +02:00
tamasmeszaros
301a168b89 Fix bugs and non working tests
Fix failing tests


Try to fix build on windows


Try to fix failng tests on Mac
2020-08-03 19:05:30 +02:00
tamasmeszaros
184f64f828 Separate support tree routing and meshing, remove Common.hpp/.cpp .
* Remove Common.hpp and Common.cpp, move things into their respective modules in sla.
2020-08-03 19:05:30 +02:00
tamasmeszaros
2ff04e6f68 Bugfixes for support generator
* Fix support heads floating in air
* Fix failing tests for the bridge mesh intersection
* Fix failing assertions
WIP refactoring support tree gen, as its a mess.
2020-08-03 19:05:30 +02:00
tamasmeszaros
ed460a3e7e Remove the headless step of support support tree gen 2020-08-03 19:05:30 +02:00
tamasmeszaros
7b6565abeb Improvements on mini pillars 2020-08-03 19:05:30 +02:00
tamasmeszaros
67b61c23f7 Remove the discard region for bottom points removal.
This was a workaround for small supports not to end up in the middle of the gap between the pad and the object. The issue needs to be solved at the support generation.
2020-08-03 19:05:30 +02:00
tamasmeszaros
0622322146 Create smaller supports in problematic areas with established strategies
Completely remove the concept of CompactBridge.

Replace it with Heads having the same back radius as front radius. 

Try to apply the same rules for mini supports as in the route_to_model step.

Increased accuracy of bridge_mesh_intersect shot from support points


Refining mini support integration
2020-08-03 19:05:30 +02:00
tamasmeszaros
38239f09e3 Fix remove_bottom_points function 2020-08-03 19:03:02 +02:00
David Kocik
b3f8ae5ca7 Notifications & warning dialog
notifications
dialog with warnings produced by slicing is shown before exporting
2020-08-03 15:49:25 +02:00
enricoturri1966
0840b2328a Tech ENABLE_GCODE_VIEWER_AS_STATE set as default 2020-08-03 15:00:19 +02:00
enricoturri1966
0eb6ba96d6 Fixed conflicts after merge with master 2020-08-03 14:17:40 +02:00
enricoturri1966
5249b3e018 ENABLE_GCODE_VIEWER -> Estimated print time statistics moved from PrintStatistics to GCodeProcessor 2020-08-03 13:57:10 +02:00
Lukas Matena
4bfb69eb14 Added an icon for 'ironing' category 2020-08-03 12:21:00 +02:00
enricoturri1966
757572b760 Tech ENABLE_LAYOUT_NO_RESTART set as default 2020-08-03 11:08:17 +02:00
enricoturri1966
69a0a1c96e Fixed conflicts after merge with master 2020-08-03 08:56:58 +02:00
enricoturri1966
1532920d81 GCodeProcessor -> Extended import of config data from gcode saved by PrusaSlicer 2020-08-03 08:46:32 +02:00
enricoturri1966
a29b00a0b4 Use ImGui::TextColored() 2020-08-03 08:28:43 +02:00
YuSanka
3cf2914a9e UnsavedChangesDialog:
first implementation
2020-07-30 16:16:56 +02:00
enricoturri1966
2dee3abea0 Revert titles in legend dialog to previous format 2020-07-30 14:15:00 +02:00
enricoturri1966
534e8bb909 ENABLE_GCODE_VIEWER -> Export to gcode layer z and layer height at each layer change 2020-07-30 13:49:57 +02:00
YuSanka
d84e70f59a SavePresetDialog: Fixed OSX and Linux build
+ Added scaling of the validation icons
2020-07-30 09:43:13 +02:00
YuSanka
96a364c3e6 SavePresetDialog: Improvements 2020-07-29 16:05:30 +02:00
enricoturri1966
39d08441cc ENABLE_GCODE_VIEWER_AS_STATE -> Fixed collapse toolbar showing-up when presing [T] in gcode preview mode 2020-07-29 15:40:28 +02:00
enricoturri1966
0348986bda Follow-up of 9d4344a78c -> ensure printbed always rendered as custom in gcode preview mode 2020-07-29 14:20:01 +02:00
enricoturri1966
54a4340631 GCodeViewer -> Hexagonal icons as default 2020-07-29 13:05:16 +02:00
enricoturri1966
9d4344a78c GCodeProcessor/GCodeViewer -> Extract bed shape from gcode files generated by PrusaSlicer 2020-07-29 12:47:42 +02:00
enricoturri1966
16e282110d GCodeProcessor -> Load config data from gcode files generated by PrusaSlicer 2020-07-29 11:13:48 +02:00
enricoturri1966
11cf9a87f1 GCodeProcessor -> Calculate mm3 per mm on the fly 2020-07-29 10:04:10 +02:00
YuSanka
3c3e463f50 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-28 14:14:16 +02:00
YuSanka
68ae95509f Improved InfoMsg for a delete preset:
* Now we show a list of printers name with selected preset

+ Added a edit_button for the editing of the physical printer fro the Settings Tab
+ Show whole list of the loaded presets with "Print host upload"
2020-07-28 12:43:26 +02:00
enricoturri1966
d9228ee82c GCodeProcessor -> Human readable extrusion roles in gcode 2020-07-28 09:48:55 +02:00
YuSanka
924bda6ec0 ChangePresetForPhysicalPrinterDialog and SavePresetWindow are merged to SavePresetDialog 2020-07-27 20:06:10 +02:00
enricoturri1966
14366800e2 GCodeProcessor -> Added parsing of 3d part generated gcodes 2020-07-27 15:45:29 +02:00
enricoturri1966
48ae8dc9a2 Modal estimated printing time dialog
Fixed conflicts after merge with master
2020-07-27 14:53:17 +02:00
enricoturri1966
18594261d2 Added handling of mouse wheel events to ImGuiWrapper 2020-07-27 12:18:21 +02:00
David Kocik
864ecf750c Deleted default value in Plater::export_gcode(bool prefer_removable). Only place where it is not sure what value should be is in btn_reslice - i chose true 2020-07-26 21:16:17 +02:00
David Kocik
1dc3561e2c added 's' in https when pointing users to our github 2020-07-26 21:16:17 +02:00
David Kocik
67d2f43845 Showing Eject button only after exporting is finished. Fix of #4212 2020-07-26 21:16:17 +02:00
Lukas Matena
248fba82a4 TriangleSelector: 3MF loading and saving 2020-07-24 17:47:16 +02:00
Lukas Matena
7ddb64783b TriangleSelector: edge limit is derived from cursor size 2020-07-24 17:47:16 +02:00
Lukas Matena
74a1aeff8e TriangleSelector: bugfix - backend did not correctly account for mirrorring 2020-07-24 17:47:16 +02:00
Lukas Matena
5a1d9aee15 TriangleSelector: Fix of a macOS crash
Calling reset() from constructor relied on uninitialized variable
2020-07-24 17:47:16 +02:00
Lukas Matena
afb5d929c4 TriangleSelector: Schedule restarting background process after edit 2020-07-24 17:47:16 +02:00
Lukas Matena
3b91d11ddf TriangleSelector: backend is aware of divided triangles 2020-07-24 17:47:16 +02:00
Lukas Matena
0756a7e4b3 TriangleSelector: 'Select by angle' and 'reset selection' functions fixed 2020-07-24 17:47:16 +02:00
Lukas Matena
6baff45759 TriangleSelector: Separated frontend/backend, support of multiple volumes, etc. 2020-07-24 17:47:16 +02:00
Lukas Matena
b250c08ec9 TriangleSelector: Serialization and deserialization 2020-07-24 17:47:16 +02:00
Lukas Matena
814f8be92f TriangleSelector: getting ready for frontend/backend separation 2020-07-24 17:47:16 +02:00
Lukas Matena
da6acd73e2 TriangleSelector: Vertices are reference-counted and garbage collected
Garbage collection is triggered automatically when more than half of all triangles are invalid
2020-07-24 17:47:16 +02:00
Lukas Matena
b9321856f3 TriangleSelector: Reusing of previously calculated triangle divisions, partial garbage collection implementation 2020-07-24 17:47:16 +02:00
Lukas Matena
fb73bb1c66 TriangleSelector: remerging triangles, bugfixes 2020-07-24 17:47:16 +02:00
Lukas Matena
bed28bb2ff TriangleSelector: even more progress 2020-07-24 17:47:16 +02:00
Lukas Matena
c3db84e382 TriangleSelector: Improvements 2020-07-24 17:47:16 +02:00
Lukas Matena
d2b2446b07 TriangleSelector: first partially working implementation 2020-07-24 17:47:16 +02:00
Lukas Matena
953d1417a0 TriangleSelector: draft of interface 2020-07-24 17:47:16 +02:00
YuSanka
b155c3c4f8 PhysicalPrinterDialog :: next improvement 2020-07-24 16:34:25 +02:00
YuSanka
0280a2a15b Hot fix for the last commit 2020-07-24 13:02:46 +02:00
YuSanka
fd50c3d262 Fixed a bug in selection from the 3D scene.
Steps to the reproduce a crash:
1. In SLA mode add some object with several instances
2. Slice
3. Back to 3Dview scene, select all using Ctrl+A
4. Press "Delete"
2020-07-24 11:21:49 +02:00
YuSanka
257e77ed40 Fixed a typo 2020-07-23 12:44:08 +02:00
YuSanka
a4c12b90f1 PhysicalPrinterCollection: Use select_preset() instead of select_preset_by_name()
+ changed signature for select_preset()
2020-07-23 12:17:18 +02:00
YuSanka
299b783601 PhysicalPrinterDialog: Select first related preset for the printer, if printer was just created or previously selected preset doesn't exist now 2020-07-22 16:28:34 +02:00
YuSanka
631b15b7d3 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-22 15:53:31 +02:00
YuSanka
2f43c1f3fa Fixed update of the TreeCtrls and "revert to system values" buttons on preset tabs, if application was run in New or Dlg mode 2020-07-22 15:52:01 +02:00
YuSanka
f7119c42f4 PresetComboBox class:: code refactoring 2020-07-22 13:23:44 +02:00
enricoturri1966
8e679d8b75 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-07-22 10:37:35 +02:00
enricoturri1966
8f90fe1609 Code cleanup and small refactoring 2020-07-22 10:37:25 +02:00
YuSanka
6d28d68e4a PhysicalPrinter : Implemented synchronizations from user printer profiles with "Print Host upload" information to the new physical printers 2020-07-22 09:24:12 +02:00
rongith
435355adfe Temporary ironing icon to avoid crashes on GTK
Ironing type and spacing can be set per-object
2020-07-22 09:11:48 +02:00
enricoturri1966
6bbc7c048f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-07-21 16:01:27 +02:00
enricoturri1966
42677107a5 ENABLE_GCODE_VIEWER -> Fixed scene update when opening a gcode file 2020-07-21 16:00:03 +02:00
bubnikv
f7ceffb46e Fixed back-end warning infrastructure: The Print / PrintObject
should have been derived from ObjectBase, not from ObjectID.
2020-07-21 15:33:36 +02:00
enricoturri1966
5aadfe3d1c Fixed conflicts after merge with master 2020-07-21 09:48:41 +02:00
YuSanka
f138978fe7 Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-07-21 09:47:29 +02:00
YuSanka
6057fb9595 GUI_objectList: fixed typo in assert 2020-07-21 09:44:07 +02:00
enricoturri1966
dc59e86d2c ENABLE_GCODE_VIEWER -> Partial refactoring in preparation for removal of old time estimator 2020-07-21 09:34:54 +02:00
enricoturri1966
b587289c14 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-07-21 09:09:09 +02:00
enricoturri1966
6e80065240 Added well-known metadata to 3mf export 2020-07-21 09:08:48 +02:00
Lukas Matena
d910f7934b Empty layer check fix
The test gave false positive in case there were supposed to be both object and support extrusions on the first layer
2020-07-21 08:43:23 +02:00