Commit Graph

6487 Commits

Author SHA1 Message Date
Vojtech Bubnik
4c48e2017b 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
a0c44ad37f Fixed previous commit for Linux/OSX 2020-10-29 13:16:32 +01:00
Lukas Matena
05942e7805 Fix of #3505 (place on face oriented objects at slight angle sometimes) 2020-10-29 12:49:43 +01:00
Vojtech Bubnik
3aa8162d37 Workaround for missing or partially implemented std::from_chars() 2020-10-29 11:37:45 +01:00
Vojtech Bubnik
2ec8ef85f6 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
c18619dcdd Removed the dead code GCode/Analyzer.cpp,hpp to simplify code navigation. 2020-10-28 17:26:08 +01:00
Vojtech Bubnik
430371fc3f 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
e771eeee83 Removed FillRectilinear3, it was a dead end. 2020-10-28 13:33:22 +01:00
Vojtech Bubnik
c8e1104ef6 Fix of previous commit. 2020-10-28 11:11:58 +01:00
Vojtech Bubnik
5e53e66681 Revert of d29a82e944 2020-10-28 11:11:58 +01:00
Lukas Matena
f14c0d5914 Fix of #5009 (Shift+Tab shall be disabled in gcode viewer mode) 2020-10-28 10:49:04 +01:00
Vojtech Bubnik
197b0a47b1 Manual merge of Increased filament stats precision in generated gcode file #780 2020-10-28 10:46:59 +01:00
Vojtech Bubnik
0ea46d4c18 Manual merge of Unmount message enhancement #4523 2020-10-28 10:09:47 +01:00
Vojtech Bubnik
af0b587f1c 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
7ae2121cc8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-27 17:21:41 +01:00
enricoturri1966
85bd35802a #4982 - Load config data when importing gcode produced by Slic3r and Slic3rPE 2020-10-27 17:18:15 +01:00
enricoturri1966
889c863f22 #4986 - Fixed remaining print time and SD-percentage calculation not correct (replaces e14c122d12) 2020-10-27 15:50:04 +01:00
enricoturri1966
6483f75af2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-27 14:01:55 +01:00
enricoturri1966
279dd76ef0 #4987 - Fixed camera switches back to non-Perspective camera after slice 2020-10-27 14:01:42 +01:00
enricoturri1966
0a908a6722 Fixed build when ENABLE_GCODE_VIEWER is disabled 2020-10-27 13:52:54 +01:00
tamasmeszaros
f8b9b2e4f8 Changing directory for Flatpak related files. 2020-10-27 13:04:16 +01:00
Vojtech Bubnik
bd74b97988 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
e614e88179 prevent notifications moving left when in preview 2020-10-27 09:39:58 +01:00
Vojtech Bubnik
6e25c2db9d 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
2f6f4342ea added namespace boost::placeholders to indentify _1, hopefully fix of #4983 2020-10-27 09:16:09 +01:00
tamasmeszaros
33417c3999 Add gcodeviewer desktop file
Also install it with `make install`
2020-10-27 08:45:04 +01:00
Lukas Matena
1b81541875 Renamed FDM supports and seam gizmos 2020-10-26 16:23:04 +01:00
enricoturri1966
b4ba7f5e59 Fixed update of sequential slider when showing/hiding feature types using the legend 2020-10-26 15:01:37 +01:00
tamasmeszaros
2a41a4d2ca Revert "Require minimum version 5.0 of CGAL"
This reverts commit f3327adf49.
2020-10-26 14:41:23 +01:00
tamasmeszaros
7d1fb23e00 Merge branch 'tm_udev_header_fix' 2020-10-26 14:39:03 +01:00
tamasmeszaros
b92dfc09cf Require minimum version 5.0 of CGAL 2020-10-26 14:30:44 +01:00
tamasmeszaros
fcf9dc067f 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
3fae9b7d58 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
19265a669a Fix of #4969: XDG path detection with wx3.0 2020-10-26 12:54:00 +01:00
enricoturri1966
58e7d252c4 Fixed percentage value exported into gcode M73 lines 2020-10-26 11:44:38 +01:00
enricoturri1966
f1ee29c009 Setting dialog for 3DConnexion device (CTRL+M) enabled on MAC 2020-10-26 11:35:53 +01:00
YuSanka
e472f7f7f8 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
8fde0a085b 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
fc945d4193 Added shortcut ("Shift+Tab") for the menu item "Collapse sidebar" 2020-10-25 15:10:51 +01:00
Vojtech Bubnik
b7ee781882 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
4c7fc0ca74 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
David Kocik
5c6deb447d Fix of empty error string. No testing errors for boost::filesystem::permission. 2020-10-23 18:35:32 +02:00
Lukas Matena
b65466ae59 Rendering painted triangles - increase polygon offset to avoid artifacts 2020-10-23 17:34:24 +02:00
David Kocik
e517584580 fix of copy_file_inner 2020-10-23 15:36:32 +02:00
Lukas Matena
14b5da748b Updated the G10 RepRapFirmware pull request to current master 2020-10-23 13:27:45 +02:00
Lukas Matena
e13d414d3c Merge branch 'pa_reprap_g10_temperature_support' of https://github.com/ardenpm/PrusaSlicer into lm_g10 2020-10-23 11:42:35 +02:00
David Kocik
04a1cdd6e6 missing header 2020-10-23 11:19:31 +02:00
David Kocik
b205beb8aa aditional information to FAIL_COPY_FILE error message and changed bools controlling Export finished notification 2020-10-23 10:18:14 +02:00
David Kocik
ff876a612a exportToRemovableFinished notification fix in simple mode 2020-10-23 10:10:15 +02:00
Lukas Matena
ad19792fce Fix rendering painted triangles (not showing when viewed in direction of the normal) 2020-10-23 08:07:47 +02:00