Commit Graph

6908 Commits

Author SHA1 Message Date
tamasmeszaros
5363dcb5bc Fix broken arrange from 2f65bcc83f 2020-11-24 18:46:25 +01:00
YuSanka
77f845b0be Added a possibility to suppress scrolling for some ComboBoxes 2020-11-24 18:44:13 +01:00
tamasmeszaros
2f65bcc83f Performance improvements and cleanup 2020-11-24 16:43:37 +01:00
tamasmeszaros
0bfbe18a3c Merge branch 'tm_arrange_perf_improve' 2020-11-24 16:20:17 +01:00
Vojtech Bubnik
62bdc192d8 Fix of [2.3.0-alpha4] Crash - several models cause crash when slicing #5208
Fixed some issues in internal anchors of the Adaptive Cubic infill.
The ugly and dangerous implicit casting operators in Line, MultiPoint,
Polyline and Polygon were made explicit.
2020-11-24 16:01:08 +01:00
tamasmeszaros
d34beab557 Add "slow" hint to rotations for arrangement 2020-11-24 15:36:39 +01:00
YuSanka
10c41290fd DoubleSlider: Fixed ruler for the short objects 2020-11-24 15:14:04 +01:00
YuSanka
250bd689f2 Fix for #5231. Suppress scrolling for the PresetComboBoxes when they aren't dropped. 2020-11-24 15:14:04 +01:00
tamasmeszaros
aa64902cf9 Increase arrange accuracy due to errors with large number of objects 2020-11-24 14:42:15 +01:00
tamasmeszaros
30693e29e4 Stop bed filling if enough instances are generated 2020-11-24 14:41:36 +01:00
enricoturri1966
9d71597e05 Fixed conflicts after merge with master 2020-11-24 13:37:52 +01:00
enricoturri1966
44fe3b8a00 Tech ENABLE_DRAG_AND_DROP_FIX -> Apply dialog implemented with 808c43cb4b also to drag and drop of project files into application executable 2020-11-24 13:35:43 +01:00
enricoturri1966
1ce8cddbda Do not show anything in vertical slider if estimated times are missing 2020-11-24 12:00:46 +01:00
enricoturri1966
b2ab5db69b ENABLE_GCODE_VIEWER set as default in:
DoubleSlider hpp/cpp
2020-11-24 11:53:52 +01:00
enricoturri1966
709404ce3e Fixed crash in texture compression 2020-11-24 11:09:05 +01:00
YuSanka
b2951cb43e Added "Remember my choice" checkbox to the message dialog after first clicking on parameter label in Settings tabs 2020-11-24 10:04:00 +01:00
enricoturri1966
4736408a46 Fixed localization on preview's legend button 2020-11-24 09:23:33 +01:00
tamasmeszaros
0fc1929076 Merge branch 'tm_arrange_wipe_tower_fix' 2020-11-23 17:52:20 +01:00
tamasmeszaros
79c2bd1575 Fix for gcode-viewer symlink
fixes #5238
2020-11-23 17:52:08 +01:00
enricoturri1966
92953acc57 #5236 - Fixed color not correctly shown after slice
The bug was introduced with 148f4fe766 which is now replaced by this commit
2020-11-23 17:15:22 +01:00
David Kocik
95d65f9f30 Documentation for NotificationManager 2020-11-23 16:42:03 +01:00
tamasmeszaros
f1acde8024 Fix broken wipe tower arrangement
fixes #5207
fixes #5216
2020-11-23 16:05:24 +01:00
enricoturri1966
1d0b947fa8 ENABLE_GCODE_VIEWER set as default in:
GCodeViewer hpp/cpp
2020-11-23 14:30:31 +01:00
enricoturri1966
6b732e5a26 Merge remote-tracking branch 'origin/et_wipe_moves' 2020-11-23 13:48:03 +01:00
enricoturri1966
26befd5fa3 #5234 - Disabled pop-up menu on the wipe tower 2020-11-23 13:45:12 +01:00
enricoturri1966
f68cf49f3d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_wipe_moves 2020-11-23 10:11:04 +01:00
Vojtech Bubnik
3a75b0da7f Update of the perimeter_acceleration tooltip 2020-11-23 09:13:58 +01:00
Paul Arden
003ccf388d Add a new macro function random(min,max) which will return a random number in the range specified by the parameters. The type of parameters defines the type of the output, if the inputs are doubles then result will be a double and if the inputs are int the output will be in. Uses C++11 random functionality, compiler compatibility on Linux should be checked. Fixes #4001. 2020-11-22 18:22:48 +11:00
YuSanka
2e0e63fed8 Tooltips for the parameters labels on Settings tabs are back 2020-11-21 18:16:34 +01:00
Vojtech Bubnik
641d27eef4 Fixed missing include 2020-11-21 16:05:58 +01:00
Vojtech Bubnik
f0606c2a76 Merge of https://github.com/prusa3d/PrusaSlicer/pull/2856
Add aligned rectilinear infill functionality by @m-schubert
Implements [Feature Request] Aligned rectilinear infill #1938
2020-11-21 14:10:17 +01:00
Vojtech Bubnik
25ca1fcf77 Some minor refactoring / polishing. 2020-11-21 13:16:03 +01:00
Vojtech Bubnik
288dbfd0d8 fixed typo in comment & formatting 2020-11-21 11:43:54 +01:00
enricoturri1966
ce7b843de7 GCode Viewer - Fixed filament label in legend 2020-11-21 11:30:14 +01:00
Vojtech Bubnik
ddc9e26f19 Follow-up to 80e8b5e985
Removed the legacy PreviewData.cpp,hpp
2020-11-21 11:02:20 +01:00
enricoturri1966
0e6acbc0e2 Preview - Visualization of wipe mones 2020-11-21 10:36:10 +01:00
Vojtech Bubnik
56c37d5c38 Make monotonic infill default for bottom layers as well #4963 2020-11-20 18:58:54 +01:00
Vojtech Bubnik
54a5c1da1e Fixed crash in reworked infill anchoring due to numeric issues.
Added some more asserts to EdgeGrid.
2020-11-20 18:47:06 +01:00
YuSanka
b7abe7dfa9 Added "Suppress to open hyperlink in browser" parameter in Preferences 2020-11-20 18:46:34 +01:00
tamasmeszaros
93aaf660cf Fixes for arrange menu
Fixed issues:
- Imgui window is aligned with the arrange toolbar button
- Reset and Arrange buttons added onto the window
- Window closes after clicking the canvas or hitting ESC
- Tooltip extended with instructions for using the arrange menu

Remaining issues:
- Imgui arrange button closes the menu after clicked
- Menu is not in "exclusive or" relationship with other imgui windows.
2020-11-20 17:52:53 +01:00
YuSanka
9f30ea535a Windows specific: Fixed layout of fields inside the OG_CustomCtrl 2020-11-20 17:27:44 +01:00
YuSanka
bca000a739 Font of the DoubleSliders is changes to default (#5121) 2020-11-20 17:27:44 +01:00
Lukáš Hejl
f394d26f83 Added missing includes to fix build on gcc 9 2020-11-20 15:19:49 +01:00
YuSanka
5330b34d0a Added "Filament -> Spool weight" parameter 2020-11-20 14:31:11 +01:00
Lukáš Hejl
606db666fc Fix missing include 2020-11-20 14:22:24 +01:00
Vojtech Bubnik
d5e6b17d70 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2020-11-20 13:40:40 +01:00
Vojtech Bubnik
8d1e13fccd Anchoring of sparse infills can now be disabled. 2020-11-20 13:36:58 +01:00
tamasmeszaros
20995c7b7a Merge branch 'tm_fill_with_instances' 2020-11-20 13:05:05 +01:00
Enrico Turri
cf42e9fc6e Fixed typo 2020-11-20 12:01:59 +01:00
Vojtech Bubnik
060f1d48c1 Little more refactoring. 2020-11-20 11:56:40 +01:00
Enrico Turri
148f4fe766 GCode Viewer - Fixed crash when switching to tool view with gcode generated by slicers other than PrusaSlicer 2020-11-20 11:50:25 +01:00
tamasmeszaros
adf81af6de Prototype feature: fill plater with instances of selected object
#fixes #1350
2020-11-20 09:58:52 +01:00
tamasmeszaros
bc3696bd42 Save and load arrange settings to app_config 2020-11-20 09:57:52 +01:00
tamasmeszaros
e17e6b4d0e Add minimum bounding box rotation as starting point 2020-11-20 09:57:52 +01:00
tamasmeszaros
d5bdaceff2 Right mouse reaction to arrange button
Working arrange settings popup
2020-11-20 09:57:52 +01:00
tamasmeszaros
096d0c9860 Fix arrange objectfunction to avoid last object in awkward positions.
fixes #3900
2020-11-20 09:46:15 +01:00
David Kocik
a0239a7509 close export finished notification after eject atempt 2020-11-20 09:43:16 +01:00
YuSanka
5144feb319 Estimated printing time per layer for SLAPrint
Split the time if it's needed
2020-11-19 21:41:51 +01:00
David Kocik
5f97b2512b Merge remote-tracking branch 'aegean-odyssey/ao_profile_resources_patch' into master 2020-11-19 19:02:32 +01:00
David Kocik
c6e9b48db5 eject debug log 2020-11-19 15:57:38 +01:00
enricoturri1966
a1905d9b9e ENABLE_GCODE_VIEWER set as default in:
MainFrame hpp/cpp

Plater hpp/cpp
2020-11-19 14:59:46 +01:00
enricoturri1966
ef9cea76c2 ENABLE_GCODE_VIEWER set as default in:
GLCanvas3D hpp/cpp

GUI_Preview hpp/cpp
2020-11-19 12:29:19 +01:00
YuSanka
4cc3e939da Localization: Update for the CZ, DE, ES, FR, IT and PL languages 2020-11-18 17:25:05 +01:00
YuSanka
03b336145f Updated UI for the "infill_anchor" parameter 2020-11-18 17:00:08 +01:00
enricoturri1966
df19697d8e Fixed Shift+A to arrange selection 2020-11-18 15:14:49 +01:00
enricoturri1966
72f9cc07e8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 14:10:39 +01:00
enricoturri1966
d0c87eb7ca Added missing include 2020-11-18 14:10:02 +01:00
YuSanka
feffb66085 Ruler for DoubleSlider: Added estimated print time 2020-11-18 05:02:51 -08:00
YuSanka
cb844a4034 DoubleSlider's ruler is implemented in respect to the use with sequential printing of objects 2020-11-18 05:02:51 -08:00
YuSanka
6e748f2e4a Implemented ruler for the vertical DoubleSlider 2020-11-18 05:02:51 -08:00
enricoturri1966
badb85650e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 13:42:54 +01:00
enricoturri1966
24b425cf57 Follow-up of 808c43cb4b -> Fixed drag and drop of non-project files 2020-11-18 13:42:17 +01:00
enricoturri1966
0ed3262645 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-18 13:05:04 +01:00
enricoturri1966
87e1875822 ENABLE_GCODE_VIEWER set as default in:
SysInfoDialog.cpp

Selection hpp/cpp

Preferences.cpp

GUI_Utils.hpp

KBShortcutsDialog.cpp
2020-11-18 13:04:34 +01:00
YuSanka
5be9d42519 Localization, new POT 2020-11-18 12:30:00 +01:00
YuSanka
a9f6e6da9d Changed layout of the "Machine limits" settings tab 2020-11-18 12:08:09 +01:00
enricoturri1966
faff112ea8 ENABLE_GCODE_VIEWER set as default in:
3DScene hpp/cpp

AboutDialog.cpp

BackgroundSlicingProcess hpp/cpp

BitmapCache.cpp

ConfigWizard_private.hpp

GUI_App hpp/cpp

GUI_Init.cpp
2020-11-18 10:44:03 +01:00
Vojtech Bubnik
f206b743fd Avoid crossing perimeters: Further refactoring for clarity, code review. 2020-11-17 15:34:50 +01:00
David Kocik
16dd7c74f1 boost canonical fix at instance check. Hopefully a fix of #4973 2020-11-17 15:03:34 +01:00
David Kocik
1e12b99338 fix of segfault on startup at SplashScreen::SetText 2020-11-17 14:43:52 +01:00
Vojtech Bubnik
62ab17bf6e AvoidCrossingPerimeters: Refactored for better encapsulation. 2020-11-17 10:42:27 +01:00
Vojtech Bubnik
04c2fde671 Removed the old motion planner. 2020-11-17 09:33:30 +01:00
enricoturri1966
a20ce2f484 ENABLE_GCODE_VIEWER set as default in 3DBed.hpp/.cpp 2020-11-16 17:29:21 +01:00
enricoturri1966
afddcf71db Preview - Paint in grey toolpaths belonging to layers containing pause prints or custom gcodes 2020-11-16 15:01:13 +01:00
Lukáš Hejl
49ce613be7 Enable previous heuristics which was disabled by mistake 2020-11-16 14:37:42 +01:00
Lukáš Hejl
c702b3b71d Add heuristics for removing unnecessary detours 2020-11-16 14:22:32 +01:00
Lukáš Hejl
9936b8e34e Add missing includes 2020-11-16 14:22:32 +01:00
Lukáš Hejl
3db66af716 Fix another compiler warning 2020-11-16 14:22:32 +01:00
Lukáš Hejl
266e6dee5d Fix compiler warnings 2020-11-16 14:22:32 +01:00
Lukáš Hejl
c00c7eaed3 Rework of outer borders to reduce unnecessary detours along the border.
The resulting path now contains all intersection with borders, which allows eliminating more unnecessary detours and more simplify the path.
2020-11-16 14:22:32 +01:00
Lukáš Hejl
ef9de07740 Disabling wipe for avoid crossing perimeters 2020-11-16 14:22:32 +01:00
Lukáš Hejl
7f94e9fa59 Fixed perimeters crossing when supports are printed. 2020-11-16 14:22:32 +01:00
Lukáš Hejl
2afeea5b6f Fixed division by zero when the layer is empty 2020-11-16 14:22:32 +01:00
Lukáš Hejl
3e98e2a4bd Fixed avoiding of other printed objects, again
Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature on Linux.
This was fixed before, but I accidentally reverted it when AvoidCrossingPerimeters was moved to separate file.
2020-11-16 14:22:32 +01:00
Lukáš Hejl
8adf02a289 Moved AvoidCrossingPerimeters to separate file 2020-11-16 14:22:32 +01:00
Lukáš Hejl
20916e2362 Disable filed with max detour length when avoid crossing perimeters is disabled 2020-11-16 14:22:32 +01:00
Lukáš Hejl
4288be0e06 Fixed a case when the intersection is one of the endpoints of the line 2020-11-16 14:22:32 +01:00
Lukáš Hejl
c828a5d6e9 Added the possibility to set the maximum length of the detour 2020-11-16 14:22:32 +01:00
Lukáš Hejl
c16aad7e0b Reworked the algorithm for avoid crossing perimeters for multiple objects 2020-11-16 14:21:36 +01:00
Lukáš Hejl
69658a57d8 Fixed crossing perimeters in some cases 2020-11-16 14:21:36 +01:00
Lukáš Hejl
556c212f9d Fixed crossing perimeters when option "Wipe while retracting" is enabled 2020-11-16 14:21:36 +01:00
Lukáš Hejl
39e3358af5 Avoid crossing perimeters bugfix 2020-11-16 14:21:36 +01:00
Lukáš Hejl
a4fc435f75 Clear generated boundaries from previous layer 2020-11-16 14:21:36 +01:00
Lukáš Hejl
5c073d0ddb Improved documentation of avoid crossing perimeters algorithm. 2020-11-16 14:21:36 +01:00
Lukáš Hejl
46bae74e48 Finalization of avoid crossing perimeters algorithm
EdgeGrid::Grid is used to find the intersection of a path with a polygon.
Simplification of find path.
Calculation of boundaries that not be crossed.
2020-11-16 14:21:36 +01:00
Lukáš Hejl
074406647a Fixed bug when algorithm stuck in a loop 2020-11-16 14:21:36 +01:00
Lukáš Hejl
6573bc15a5 Selection of shortest path around polygon boundary 2020-11-16 14:21:36 +01:00
Lukáš Hejl
7a4ba7d131 A simple algorithm to follow the boundary of polygons 2020-11-16 14:21:36 +01:00
Vojtech Bubnik
620f94331c fix of OSX build: workaround of non-standard std::optional 2020-11-16 13:44:15 +01:00
Vojtech Bubnik
a864d584a6 Fillers: Renamed Rectilinear2 to Rectilinear. 2020-11-16 13:24:57 +01:00
Vojtech Bubnik
2249e5d4b2 Renamed FillRectilinear.cpp,h to FillLine.cpp,h 2020-11-16 13:17:18 +01:00
Vojtech Bubnik
db05f00860 Fixing compilation issues. 2020-11-16 13:11:58 +01:00
Vojtech Bubnik
812cbade4d Fills:
1) New algorithm for connecting along the perimeters is now applied
   to Honeycomb, Hilbert and similar planar filling curves.
2) The old expensive path chaining is not applied if the new algorithm
   to connect along the perimeter lines is called afterwards.
2020-11-16 12:51:51 +01:00
Vojtech Bubnik
e9fa36ea7d Fillers: Removal of old FillRectilinear, using of "override" instead
of "virtual" where applicable.
2020-11-16 11:16:44 +01:00
Vojtech Bubnik
e77fc43159 Merge remote-tracking branch 'remotes/origin/master' into lh_adaptive_infill_hooks 2020-11-16 10:54:19 +01:00
Vojtech Bubnik
4280fdb5f2 Reworked connection of infill lines to perimeter lines.
Added a new "infill_anchor" parameter.
2020-11-16 10:54:00 +01:00
enricoturri1966
e04c6a4d17 Fixed screen-size for point markers used to visualize retraction/unretractions and other options in preview 2020-11-16 10:29:54 +01:00
Vojtech Bubnik
84693a5810 New get_extents(const std::vector<Points> &pts),
refactored Lian Barsky line clipping
2020-11-16 10:20:47 +01:00
Vojtech Bubnik
32362cff0b SVG export: Implemented flipping in Y axis. Now flipped by default
to match the 3D print paths view when looking at the print from the top.
2020-11-16 10:18:51 +01:00
enricoturri1966
9b3ff9b1cf Zoom max limit increased from 100 to 250 2020-11-16 08:48:44 +01:00
enricoturri1966
808c43cb4b Added dialog to choose import action when dragging and dropping a project file 2020-11-16 08:39:25 +01:00
Martin Loidl
c5391d3354 fixed possible segmentation in physical printer dialog
* When pressing "Refresh Printers" in Physical Printer Dialog slicer
  crashed because of a wrong cast
2020-11-14 21:46:54 +01:00
enricoturri1966
0688a76c73 Code cleanup 2020-11-13 11:50:52 +01:00
enricoturri1966
e78e3ad80b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential 2020-11-13 10:46:41 +01:00
YuSanka
172c1bbab7 Fix the typo in 932dfb4fca
The resize of the Spincontrol was wrong placed in the code
2020-11-12 21:43:21 +01:00
YuSanka
d962d431c0 Localization:
* added missed phrases
* fixed some phrases
* updated POT-file and PO/MO-files for the CZ-translation
2020-11-12 21:35:39 +01:00
enricoturri1966
9e4cb893f7 Sequential print visualization using vertical slider in preview -> Added travel moves 2020-11-12 16:29:44 +01:00
YuSanka
932dfb4fca GTK3 specific : Fix of #5053 2020-11-12 15:33:24 +01:00
YuSanka
353536ab86 Physical printers dialog: Update Test button in respect to the inputted printhost 2020-11-12 15:24:47 +01:00
enricoturri1966
8c8ad70c58 ENABLE_GCODE_VIEWER set as default in fff_print test and PrusaSlicer.cpp 2020-11-12 15:01:59 +01:00
enricoturri1966
8633e8f25c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-12 14:05:56 +01:00
enricoturri1966
f1d10f3c90 ENABLE_GCODE_VIEWER set as default in libslic3r 2020-11-12 14:03:58 +01:00
YuSanka
4eded76136 Custom controls : The width for full_width fields is updated according to the custom control width
(thanks to the @supermerill for the mention on it, 6acf6bdf21)

+ Deleted redundant background color, as mentioned in the #5062
2020-11-12 10:13:16 +01:00
Vojtech Bubnik
4d102ac8ca FillAdaptive:
1) More accurate trimming of an anchor with another infill line
   or by another anchor line.
2) Trimming of very short infill lines, which are not anchored,
   by another infill lines.
2020-11-11 16:49:11 +01:00
enricoturri1966
80e8b5e985 Removed the legacy PreviewData.cpp,hpp 2020-11-11 16:38:51 +01:00
enricoturri1966
4ad42d6171 WIP - Sequential print visualization using vertical slider in preview (missing travel moves) 2020-11-11 16:22:09 +01:00
David Kocik
0a4ce079e8 escape_ampersand function and changed order of printer names and pictures in config wizard 2020-11-11 16:08:27 +01:00
enricoturri1966
4f85a42830 Follow-up of bb74d2da5b and 7b2aca0159 -> Removed inclusions of GCode/Analyzer.hpp and GCodeTimeEstimator.hpp 2020-11-11 15:41:48 +01:00
YuSanka
a2b915af0f Fixed of #5081
Width of sub-label is calculated by using of GetTextExtent() instead of PaintDC->GetMultiLineTextExtent, because of PaintDC is not OK sometimes.
For example on GTK3 PaintDC->IsOk() only, when it's using in a native paint event
see https://github.com/wxWidgets/wxWidgets/blob/master/src/gtk/dc.cpp, line 346
2020-11-11 12:04:15 +01:00
Vojtech Bubnik
26836db629 FillAdaptive: Handling of a special case when the infill lines
touch at their ends.
2020-11-11 11:51:26 +01:00
Vojtech Bubnik
decda76344 AdaptiveInfill:
1) Shortening the anchor lines when touching another infill line
   to avoid over extrusion.
2) Reduction of the Intersection structure complexity by referencing
   the source lines.
2020-11-10 15:54:32 +01:00
Vojtech Bubnik
89df9c1038 Improvement of AdaptiveFill:
1) Merging of collinear infill lines separated by a thin gap created
   by trimming with the boundary polygon.
2) Sorting of the T-joints separately to the left / right of the common
   line.
3) Trimming self intersections of the anchor lines.
4) Dropping of very short segments, not anchoring short segments.
2020-11-10 13:56:12 +01:00
YuSanka
e20d8f1623 MM print : Fixed re-scaling of the Extruders column in the Object list 2020-11-10 11:06:33 +01:00
David Kocik
422ad1c5bf Callback stored at std::function for notification hyperlink. Notification progress bar draft. 2020-11-10 09:22:47 +01:00
David Kocik
3163f506c2 imgui README.md prev commit hash 2020-11-09 15:15:30 +01:00
David Kocik
870aba8d15 Large notification buttons and icons 2020-11-09 15:15:30 +01:00
enricoturri1966
a72fb79f72 #5098 - Fixed no preview after language change 2020-11-09 14:27:00 +01:00
Lukas Matena
2618992c8b Fix of an ASAN crash on app close (Linux) 2020-11-09 14:00:58 +01:00
enricoturri1966
bf12c7cb8c GCode Viewer - Fixed color print visualization for gcode containing multiple extruders 2020-11-09 13:06:20 +01:00
enricoturri1966
479d4b70f2 GCode Viewer - Show print/printer/filament settings names in legend 2020-11-09 08:41:14 +01:00
Vojtech Bubnik
517477f0dd Fix of the previous Adaptive Cubic infill refactoring
plus couple of fixes of the old logic.
2020-11-06 16:24:15 +01:00
YuSanka
8448d1a1dc OSX specific : Set top border for the mode buttons, when settings pages has new layouts
(when tabs bar is hidden)

+ Code cleaning for OG_CustomCtrl (delete unused input parameter from the draw_blinking_bmp())
2020-11-06 16:24:03 +01:00
YuSanka
1492bc9cd5 Localization : Next phrases corrections and update for PrusaSlicer.pot 2020-11-06 12:14:19 +01:00
enricoturri1966
8f31f404a3 Disabled tech ENABLE_CTRL_M_ON_WINDOWS 2020-11-06 11:55:57 +01:00
enricoturri1966
277376ee09 Enabled tech ENABLE_CTRL_M_ON_WINDOWS to produce an experimental build 2020-11-06 11:42:54 +01:00
enricoturri1966
f1b5142daa Follow-up of 944e760722 -> Removed debug output line 2020-11-06 11:20:47 +01:00
enricoturri1966
41ef6cf15c Disabled tech ENABLE_CTRL_M_ON_WINDOWS 2020-11-06 11:09:47 +01:00
enricoturri1966
411159b5e7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-06 11:03:56 +01:00
enricoturri1966
944e760722 #4892 - Follow-up of 30481e1ea8 -> Fixed behavior of imgui dialog for settings of 3DConnexion devices (CTRL+M) on Windows 2020-11-06 11:03:41 +01:00
tamasmeszaros
2a98aa113c Remove unused RotoptimzeWindow imgui dialog.
It might be added in the future in a more polished form.
2020-11-06 10:06:05 +01:00
Vojtech Bubnik
139b58a6f2 Adaptive Cubic infill with anchors: Trimming anchors with not only
with a neighbor T-joint line, but also with other crossing lines.
2020-11-06 08:56:53 +01:00
YuSanka
a131217ada Added missed parent for the SysInfoDialog
see f0a339758b
2020-11-05 22:19:48 +01:00
YuSanka
ed2f03ec79 Localization:
Some phrases are corrected in the code
The POT-file is updated
2020-11-05 22:17:49 +01:00
YuSanka
f0a339758b Fixed a Dialog position under OSX
Always set parent for the Dialog, if we want to see the Dialog in the same display as a parent.
Dialog will be shown in the primary monitor otherwise.

+ fixed a draw of the canvas legend when we move application between Retina and non-Retina displays
2020-11-05 11:53:16 -08:00
David Kocik
e9295e268a config wizard printer selection - changed vertical spacing 2020-11-05 17:43:40 +01:00
Vojtech Bubnik
239d588c5d 1) Implemented anchoring of infill lines to perimeters with length
limited anchors, while before a full perimeter segment was always
   taken if possible.
2) Adapted the line infills (grid, stars, triangles, cubic) to 1).
   This also solves a long standing issue of these infills producing
   anchors for each sweep direction independently, thus possibly
   overlapping and overextruding, which was quite detrimental
   in narrow areas.
3) Refactored cubic adaptive infill anchroing algorithm
   for performance and clarity.
2020-11-05 17:32:40 +01:00
enricoturri1966
8491872fb7 #5079 - Fixed GCode Viewer changing files modified date on Windows 2020-11-05 14:02:43 +01:00
enricoturri1966
6d56e60091 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-05 11:02:08 +01:00
enricoturri1966
aea09b8347 #5072 - Added color icon into 'Print' items in legend for gcode color print visualization 2020-11-05 11:01:54 +01:00
enricoturri1966
2ec5a0d46c Fixed visualization of gcode toolpaths for spiral vase mode 2020-11-05 11:00:04 +01:00
YuSanka
ea5fdcd7b1 Removed cog icon from the horizontal slider.
+ Shortcut "Shift+G" works from the Preview canvas now (not just from the focused slider as before)
2020-11-04 07:30:33 -08:00
David Kocik
5d16c5f466 imgui README.md updated 2020-11-04 13:48:30 +01:00
enricoturri1966
747fcb1d07 Follow-up of d2e5be89e3 -> Fixed processing of color print, pause print and custom gcode tags 2020-11-04 13:33:27 +01:00
YuSanka
11ee0cc2cc Hot-fix for my last commit (d576c029bd) 2020-11-04 13:14:57 +01:00
Lukas Matena
ab6af3ff68 Fix of #5058 (failing build with wx3.0) 2020-11-04 11:58:45 +01:00
YuSanka
d576c029bd CustomCtrl : fixed correction of the CustomCtrl's line height in respect to the height of the inside controls (fields or widgets)
Issue was appeared on the Ubuntu 20.04
2020-11-04 10:17:32 +01:00
David Kocik
3ca3a544a8 New Export Finished notification showing path and opening containing folder. Fix of #4917. Fixed wrongly grayed eject button in File menu. Hopefully fix of ctrl shortcut of tooltips at sidebar. 2020-11-04 09:29:08 +01:00
YuSanka
4d7b5d4451 "Sequential slider applied only to top layer" parameter from the Preferences is applied just for the horizontal slider now 2020-11-03 15:45:23 +01:00
Lukas Matena
b84efca01e Degree sign in FDM supports gizmo dialog:
The sign is used insted of 'deg' and it was moved into the slider,
to make it consistent with sliders in SLA gizmos.
2020-11-03 15:15:09 +01:00
Vojtech Bubnik
414fdaefc5 Merge remote-tracking branch 'remotes/origin/master' into lh_adaptive_infill_hooks 2020-11-03 15:07:38 +01:00
YuSanka
1c1b1bc019 Custom control : Fixed un-hovering for labels, which work as a hyperlinks 2020-11-03 13:40:49 +01:00
enricoturri1966
8af25f7771 Fixed post-processing of placeholders in gcode when not exporting remaining times 2020-11-03 12:26:48 +01:00
enricoturri1966
f94e94f53e GCode tool marker set as visible by default 2020-11-03 09:27:18 +01:00
enricoturri1966
eff95bcdb2 Disabled tech ENABLE_CTRL_M_ON_WINDOWS 2020-11-03 09:07:23 +01:00
enricoturri1966
54d6834553 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-03 08:41:14 +01:00
enricoturri1966
30481e1ea8 Tech ENABLE_CTRL_M_ON_WINDOWS [Experimental] to re-enable imgui dialog for settings of 3DConnexion devices (CTRL+M) on Windows 2020-11-03 08:41:04 +01:00
YuSanka
0a3109030e PhysicalPrinterDialog : fixed layout in update() 2020-11-02 22:04:40 +01:00
YuSanka
186d408cf4 Big code cleaning
Deleted all unused code
2020-11-02 06:48:30 -08:00
YuSanka
a87ec980a7 Hot fit for last commit : use "en" language marker, when "translation_language" wasn't saved to the AppConfig 2020-11-02 06:48:30 -08:00
YuSanka
b2700a8ac6 Custom control : Bug fixing
* OG_CustomCtrl is inherited from the wxPanel instead of the wxControl now.
  As a result, Tab-key is working now for the fields inside the custom control
* Open localized web-page if any exist for labels

+ Fixed update of icons inside the PresetComboBoxes after switching between Dark/Light modes
2020-11-02 06:48:30 -08:00
YuSanka
32b8be600c Custom control: Fixed bitmaps layout under OSX
+ Implemented hyperlinks for parameters labels to the help page
2020-11-02 06:48:30 -08:00
YuSanka
4dc78a424e Custom controls : OSX-specific fix. Get bitmap height in respect to the scaling on Retina 2020-11-02 06:48:30 -08:00
YuSanka
e05080c53b Fixed update of the field related to the "extruders_count" parameter after printer preset change 2020-11-02 06:48:30 -08:00
YuSanka
1c22d788aa Custom control : Implemented blinking icon 2020-11-02 06:48:30 -08:00
YuSanka
4f5efc99fb Custom control : Action buttons are "alive" now
- show tooltips for buttons
- LBtnClick invokes revert functions for the field
2020-11-02 06:48:30 -08:00
YuSanka
e93e80166b Custom control : fixed re-scaling for MSW 2020-11-02 06:48:30 -08:00
YuSanka
1b3c288b35 Custom control : Implemented update items visibility in respect to the mode 2020-11-02 06:48:30 -08:00
YuSanka
534a2f5d33 Custom control : Fixed color of the colored label, associated with option, which doesn't have a corresponded field 2020-11-02 06:48:30 -08:00
YuSanka
7022fb0891 Fixed position for all controls from the settings tabs 2020-11-02 06:48:30 -08:00
YuSanka
f1a74367ed Choice field: Use wxComboBox instead of wxBitmapComboBox for non-OSX platforms 2020-11-02 06:48:30 -08:00
YuSanka
74d6aea4d4 Custom control: first implementation 2020-11-02 06:48:30 -08:00
enricoturri1966
6bf839b315 Show the name of the loaded G-code in the application title bar 2020-11-02 14:10:34 +01:00
enricoturri1966
9dbc0c6ba2 #4395, #4701, #1336 - Added the ability to invert the scroll wheel when zooming 2020-11-02 13:08:13 +01:00
enricoturri1966
516db43b20 Improved handling of loading invalid .gcode files 2020-11-02 11:59:37 +01:00
enricoturri1966
38e883a66e Fixed scaling of mouse position for mouse wheel event handling in imgui on Retina monitors 2020-11-02 10:17:28 +01:00
enricoturri1966
3ec057bef7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-11-02 09:37:09 +01:00
enricoturri1966
692917806a #5013 - Incorrect OpenGL warning when starting PrusaSlicer GCode Viewer with a file argument 2020-11-02 09:36:55 +01:00
Lukas Matena
d75ca6b76d New icon for FDM supports gizmo 2020-11-02 08:30:33 +01:00
Vojtech Bubnik
9e545eba13 Fixed quadratic complexity of the time estimator post processor
with a constant complexity (amortized) code.
2020-10-30 09:13:04 +01:00
Vojtech Bubnik
5ccd9d9d9a Fixed previous commit for Linux/OSX 2020-10-29 13:16:32 +01:00
Lukas Matena
1130d78c19 Fix of #3505 (place on face oriented objects at slight angle sometimes) 2020-10-29 12:49:43 +01:00
Vojtech Bubnik
2fd7c20a86 Workaround for missing or partially implemented std::from_chars() 2020-10-29 11:37:45 +01:00
Vojtech Bubnik
50b603df5d Optimized for reduced memory allocation and clarity. 2020-10-29 11:37:28 +01:00
Vojtech Bubnik
d2e5be89e3 Fix of Slicer image not good #4992
Tighter parsing of PrusaSlicer's own G-code annotations
to avoid clashes with comments inside user G-codes.

Also the GCodeReader was extended to return string_views instead
of copying a substring, and the GCodeProcessor was partially adapted
to string_views.
2020-10-29 10:51:51 +01:00
Vojtech Bubnik
bb74d2da5b Removed the dead code GCode/Analyzer.cpp,hpp to simplify code navigation. 2020-10-28 17:26:08 +01:00
Vojtech Bubnik
7b2aca0159 Removed the legacy GCodeTimeEstimator.cpp,hpp
It was difficult to navigate through the live code with the dead code
still available for full search.
2020-10-28 17:19:43 +01:00
Vojtech Bubnik
502aa42ac0 Removed FillRectilinear3, it was a dead end. 2020-10-28 13:33:22 +01:00
Vojtech Bubnik
cfbc9f0845 Fix of previous commit. 2020-10-28 11:11:58 +01:00
Vojtech Bubnik
eb103e45a6 Revert of d29a82e944 2020-10-28 11:11:58 +01:00
Lukas Matena
0a9f316d64 Fix of #5009 (Shift+Tab shall be disabled in gcode viewer mode) 2020-10-28 10:49:04 +01:00
Vojtech Bubnik
afaa7a4cc2 Manual merge of Increased filament stats precision in generated gcode file #780 2020-10-28 10:46:59 +01:00
Vojtech Bubnik
7c06054904 Manual merge of Unmount message enhancement #4523 2020-10-28 10:09:47 +01:00
Vojtech Bubnik
7c571c1d9d Merge of pull request Add support for RepetierServer #4384 by @docbobo
with the following refactorings:

1) Removed the "printhost_slug" config from the Printer config
   and from all the Printer config related spots.
2) "printhost_slug" renamed to "printhost_port". Slug sounds nasty.
3) Improved error reporting of RepetierHost class.
4) Refactored for the new "Physical Printers"

Following refactorings were done independently of the Repetier pull request:
1) Removed PrintHost static print config.
2) Clean-up after conversion of print host configuration
   from Printer config to Physical Printer config.
3) Fixed some issues, where the Printer config was still queried for
   host configuration. Vojtech believes that this should not happen
   after the host configuration is converted to physical printers.

Vojtech still feels that more refactoring is needed in regard to porting
the host configuration from Printer profile to the new Physical Printer
profile.
2020-10-28 09:51:05 +01:00
enricoturri1966
0798fa8185 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-27 17:21:41 +01:00
enricoturri1966
128e4cff2d #4982 - Load config data when importing gcode produced by Slic3r and Slic3rPE 2020-10-27 17:18:15 +01:00
enricoturri1966
90c69e6bda #4986 - Fixed remaining print time and SD-percentage calculation not correct (replaces e14c122d12) 2020-10-27 15:50:04 +01:00
enricoturri1966
00ec9cc4ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-27 14:01:55 +01:00
enricoturri1966
c8d875bee1 #4987 - Fixed camera switches back to non-Perspective camera after slice 2020-10-27 14:01:42 +01:00
enricoturri1966
b9c0c15104 Fixed build when ENABLE_GCODE_VIEWER is disabled 2020-10-27 13:52:54 +01:00
tamasmeszaros
f18d25257b Changing directory for Flatpak related files. 2020-10-27 13:04:16 +01:00
Vojtech Bubnik
06c16b085d Snapshots extended to capture and restore sla_print, sla_material,
physical_printers.
Updated the snapshots dialog to display sla_print and sla_material.
Updated the snapshots dialog to display physical_printer instead of
printer if the physical_printer key is nonempty.
The "physical_printer" key was moved from [extras] to [presets] section
of PrusaSlicer.ini
2020-10-27 12:48:31 +01:00
David Kocik
15a75ec6b0 prevent notifications moving left when in preview 2020-10-27 09:39:58 +01:00
Vojtech Bubnik
751ae8e789 Fixed crash in monotonous infill due to some unexpected pinching
of the inner contour at a single vertical infill line without
pinching the outer contour.
2020-10-27 09:38:51 +01:00
David Kocik
8e20515060 added namespace boost::placeholders to indentify _1, hopefully fix of #4983 2020-10-27 09:16:09 +01:00
tamasmeszaros
c8fb0cd974 Add gcodeviewer desktop file
Also install it with `make install`
2020-10-27 08:45:04 +01:00
Lukas Matena
b27bf1815c Renamed FDM supports and seam gizmos 2020-10-26 16:23:04 +01:00
enricoturri1966
21f1853d53 Fixed update of sequential slider when showing/hiding feature types using the legend 2020-10-26 15:01:37 +01:00
tamasmeszaros
969ca98b52 Revert "Require minimum version 5.0 of CGAL"
This reverts commit f3327adf49.
2020-10-26 14:41:23 +01:00
tamasmeszaros
6c60863bd9 Merge branch 'tm_udev_header_fix' 2020-10-26 14:39:03 +01:00
tamasmeszaros
f3327adf49 Require minimum version 5.0 of CGAL 2020-10-26 14:30:44 +01:00
tamasmeszaros
a5ba1534b3 Remove dependency on libudev.h
libudev is linked explicitly and only a few structures need to be declared which are passed as pointers to the dynamically loaded functions. No need to require libudev-dev on the build machines.
2020-10-26 14:23:44 +01:00
enricoturri1966
e6e3e98fd5 Fixed editable lower thumb of sequential slider when changing settings in preference dialog while the preview is hidden 2020-10-26 13:52:51 +01:00
Lukas Matena
f4311f67ef Fix of #4969: XDG path detection with wx3.0 2020-10-26 12:54:00 +01:00
enricoturri1966
e14c122d12 Fixed percentage value exported into gcode M73 lines 2020-10-26 11:44:38 +01:00
enricoturri1966
a830b7ea83 Setting dialog for 3DConnexion device (CTRL+M) enabled on MAC 2020-10-26 11:35:53 +01:00
YuSanka
d29a82e944 Fixed 493cdbd069
Instead of "sep" should be used "\t" to the "Shift"-part will not be spoiled
2020-10-26 09:18:04 +01:00
Vojtech Bubnik
ce020781d3 Refactored loading of Get/SetThreadDescription() on Windows:
These new API functions are not available on Windows 7 and on older Windows 10,
thus they are newly loaded dynamically and the functions using it retur
a bool indicating whether the functionality is supported or not.
Also the OSX variants that are not supported newly return false instead
of throwing an exception.

Fixes #4972 #4974
2020-10-26 08:09:17 +01:00
YuSanka
493cdbd069 Added shortcut ("Shift+Tab") for the menu item "Collapse sidebar" 2020-10-25 15:10:51 +01:00
Vojtech Bubnik
e1f6bb4a92 Follow up on Add G10 temperature G-code support for the RepRapFirmware flavour.
Reduced copy / paste.
2020-10-24 17:32:30 +02:00
Vojtech Bubnik
ebdf2acd03 Follow-up to
Use https in config update URLs

	http://files.prusa3d.com/* always redirects to HTTPS so use https scheme
    directly.

The pull request broke updates to those who installed configs with
http://, not https:// prefix.
2020-10-24 16:35:34 +02:00