Commit Graph

2495 Commits

Author SHA1 Message Date
c10efd192c Fixes of previous commit on Posix platforms 2020-10-22 14:29:40 +02:00
da9d9f9ceb Thread names shortened to 15 characters to fit Posix norm.
Added get_current_thread_name()
2020-10-22 14:11:08 +02:00
d5e4bce750 Support for naming slicer own threads for debugging.
The following threads are named with this commit:
slic3r_main, slic3r_BackgroundSlicingProcess,
slic3r_tbbpool_xx_yy where xx is a one based index of the TTB thread
and yy is the platform thread ID.
2020-10-22 13:54:15 +02:00
90db060f03 ENABLE_PAN_ROTATE_SCENE_IN_GIZMOS set as default 2020-10-22 11:01:30 +02:00
c9283bd8c2 Fixed definition of psSlicingFinished to fix notification updates
after the slicing finishes.
2020-10-21 14:00:56 +02:00
8f8cf1fdc0 Rotating/panning the view, using mouse left/right + CTRL modifier, while any gizmo is active 2020-10-19 15:55:16 +02:00
d7b7a3a567 Removed unused include (related to #4912) 2020-10-19 11:16:43 +02:00
e3d21b1a71 Fix of the "dock" menu on OSX to start a new instance of PrusaSlicer
in case a single instance is disabled.
Make the "single_instance" enabled by default on OSX initially
to match the platform.
2020-10-17 09:23:05 +02:00
4f60ce6a6a Improved matching of Print and Filament profiles after switching the Printer
profile. The matching has the following priority:

1) Compatible Print profile with the same logical name aka alias.
2) Prefered Print profile with the same layer height.
3) Compatible Print profile with the same layer height.
4) Prefered Print profile.
5) Any compatible profile.

The same logic applies to the selection of Filament profile, only
a filament_type is compared, not the layer height.
2020-10-16 16:03:31 +02:00
909696440f When switching Printer profiles, a profile with the same logical name
aka alias is searched for first before activating the default
print / filament profile as configured in the printer settings.
2020-10-16 14:45:54 +02:00
eabc09ca36 Cover various overhang types cumulatively 2020-10-16 11:14:57 +02:00
ef968100fd Use rotated bounding box to calculate eccentricity 2020-10-16 11:14:57 +02:00
4a5168094e Changed heuristic to clamp toolpaths width 2020-10-16 09:02:37 +02:00
e67eef4c06 Fixed some more issues in copy / paste of objects and volumes
due to the layer_height_profile, paint on supports and seam
being stored as an object on its own onto the Undo / Redo stack.
2020-10-15 17:29:49 +02:00
3bae4fcad2 UnsavedChangesDialog : improvements
* Added "Remember my choice" checkbox
* Center on the screen and set position in respect to the position of mainframe or settings dialog

Preferences : Added checkboxes for enable/suppress showing of the UnsavedChangeDialog

SearchImGui : close after parameter selection_is_changed_according_to_physical_printers

PhysicalPrinterDialog, SavePresetDialog : Center on the screen
2020-10-15 16:53:14 +02:00
57bd0f2a60 This broke the SLA support point generator test. Why? 2020-10-15 13:35:45 +02:00
f10ce5351f Fixed assignment of the slicing timestamp to the slicing finished
notification.
2020-10-15 12:02:55 +02:00
8ed99bb57f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-15 10:25:22 +02:00
a3f8f65158 Added option to apply the sequential slider in preview to top layer only or to whole gcode toolpaths 2020-10-15 10:25:13 +02:00
377294d67f A little bit cheaper triangle random sampling + documentation. 2020-10-15 07:58:13 +02:00
f702dafac9 Polishing of NotificationManager:
Fixed pairing of PrintObjects with slicing warning notifications.
Removed or commented out dead code.
Added documentation.
2020-10-14 16:49:06 +02:00
1fb9e1f70c wxEVT_CREATE and wxEVT_ACTIVATE is not being called on the main frame
on application start-up, at least not on Windows.
wxEVT_CREATE was called for some control deep in the Plater, however
the event was delivered to the main frame and only for slicer, not
for G-code viewer. Thus the callbacks for 3D Mouse were not registered
for and the 3D mouse did not work on Windows.

Fixed by calling the callback registration from the first execution
of the Idle function.
2020-10-14 12:55:07 +02:00
6e04ab02e7 Updated the command line single-instance processing and help text.
Updated escaping of the command line arguments when passed to the other
instance.
2020-10-12 17:06:03 +02:00
1318c67b39 Tech ENABLE_GCODE_DRAG_AND_DROP_GCODE_FILES set as default 2020-10-12 13:09:04 +02:00
9c48a5de5d Tech ENABLE_GCODE_APP_CONFIG as default 2020-10-12 12:38:34 +02:00
c12f0db22c Merge pull request #4747 from wavexx/monospaced_gcode
Use monospaced fonts in gcode sections
2020-10-10 14:01:48 +02:00
eb09d45e38 Disabled tech ENABLE_ENVIRONMENT_MAP 2020-10-10 10:11:27 +02:00
575da4840f Removed m_ prefix from public member variables. 2020-10-09 13:09:21 +02:00
f1a358509d Fixing Undo / Redo issues after copy / paste due to not updating
ObjectIDs of support painting / seam painting / layer height profile.
2020-10-09 12:26:28 +02:00
ba1da930a4 SLA: Fix for crash with only 1 layer
fixes #4836
2020-10-08 10:00:55 +02:00
546c3d3dce Fixed gcodeviewer application title on Linux and Mac 2020-10-07 16:02:01 +02:00
a45126594a Legacy conversion of "monotonous" to "monotonic" 2020-10-07 09:38:36 +02:00
8b6c599d45 Added Preference dialog to standalone gcode viewer 2020-10-06 15:11:08 +02:00
32ce49ff37 Fixup of 8df0181 (turning off the export of machine limits)
This should solve #1212 for good
2020-10-06 13:31:42 +02:00
2864cae1c0 Fixed avoiding of other printed objects
Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature
2020-10-06 13:19:39 +02:00
8f67cc29e0 Added info message about successfully save of the preset(s) modifications
+ more warnings fixes
2020-10-06 12:32:28 +02:00
4858aa247e Merge branch 'lm_painter_fixes' 2020-10-06 12:09:56 +02:00
41a0d75606 Painter gizmos should now work with non-uniformly scaled models 2020-10-06 12:06:39 +02:00
9b5750a607 Docker icon on OSX 2020-10-06 12:05:05 +02:00
abb5d17dfb Fixed limitation of acceleration values written into G-code
in case the machine limits are disabled.
2020-10-06 10:24:06 +02:00
05d388483c Renamed monotonous infill to monotonic. 2020-10-05 16:38:28 +02:00
ac0b160612 AppConfig modified to generate a separate config file for the standalone gcodeviewer 2020-10-05 15:42:35 +02:00
3e093bb97d Changed cmake minimal version to 3.13 (#4720) 2020-10-05 12:10:19 +02:00
f1e5dcf73f Follow-up of 8df01818dd -> GCodeProcessor uses new Machine Limits limitations 2020-10-05 09:15:43 +02:00
54506d4f89 Limiting the application of Machine Limits
https://github.com/prusa3d/PrusaSlicer/issues/1212

WIP: The hints do not rescale when switching the "usage" combo box.
The new g-code time estimator needs to be updated to not read
the machine limits if not enabled.
2020-10-02 17:32:03 +02:00
9d3ca1ca4f ENABLE_SLOPE_RENDERING set as default
Slope rendering active only when using Gizmo FDM supports
2020-10-02 15:43:39 +02:00
4d09c999e0 Start PrusaSlicer in gcode viewer mode when dragging and dropping a .gcode file on the application icon 2020-10-02 11:40:21 +02:00
b0a6c11d9e Small fix in debug tech ENABLE_GCODE_VIEWER_DATA_CHECKING 2020-10-02 09:14:43 +02:00
e90cc1c1f7 Physical printers: Implemented import/export to/from the ConfigBundle.
+ fixed a bug : Case sensitivity of printer's name wasn't check during the adding of a new printer,
as a result in printers list was appeared both of printers (ex. "YuSanka" and "yusanka"), but related file was just one.
2020-10-01 22:48:57 +02:00
1b6c75e98f Sphere selection added as an option for painting gizmos 2020-10-01 00:05:01 +02:00