Vojtech Bubnik
c8f9a0d76b
Improved robustness of stl_fix_normal_directions(stl_file *stl)
...
by further C++isation of the legacy C code.
2021-04-12 11:40:58 +02:00
Vojtech Bubnik
f9f99c4889
Improving 3MF import: checking for invalid data.
2021-04-12 11:39:00 +02:00
Vojtech Bubnik
7e6da2903c
Improved AMF/3MF security when parsing invalid meshes.
2021-04-12 11:33:34 +02:00
tamasmeszaros
503def7710
Replace avrdude conf generation from C to CMake code
2021-04-12 11:21:46 +02:00
tamasmeszaros
4372191192
Disable tests and encoding check when cross compiling
2021-04-12 11:21:46 +02:00
Vojtech Bubnik
7d751753bc
Replaced __linux macro with __linux__
2021-01-11 13:31:30 +01:00
YuSanka
7a1574a853
Fix of #5720 - SL1 Printer Settings->Notes is not updated when switching tab
2021-01-11 13:11:35 +01:00
Vojtech Bubnik
5a1a41096b
Fix of a crash when slicing an object producing no layers and
...
elphant foot compensation is enabled.
2021-01-11 12:20:50 +01:00
Vojtech Bubnik
d46a756b98
Finally fixing the single instance for AppImage
2021-01-11 11:41:22 +01:00
Vojtech Bubnik
a900b7767b
Fix of previous commit
2021-01-11 11:29:27 +01:00
Vojtech Bubnik
7780221683
Fixed "Single instance" locking issue on Linux with AppImage,
...
where the PrusaSlicer binary is mounted at a different mount point
at each AppImage execution.
Fixes Lock files in the local configuration directory are not deleted (#5733 )
2021-01-11 11:14:59 +01:00
Boleslaw Ciesielski
ecda157c51
Fixed build regression in commit a5882a1a1c3f561233a22cc7663514b97e5fb3ba on some Linux platforms. We need to link with GTK libs after all.
2021-01-10 22:39:59 -08:00
tamasmeszaros
d19a7fcfad
Increase tolerance for objects being outside print bed.
2021-01-08 10:14:24 +01:00
enricoturri1966
012a76e126
Removed obsolete method declaration in GLCanvas3D
2021-01-08 08:47:33 +01:00
Vojtech Bubnik
2b02747ec5
On OSX, we use boost::process::spawn() to launch new instances of PrusaSlicer from another PrusaSlicer.
...
boost::process::spawn() sets SIGCHLD to SIGIGN for the child process, thus if a child PrusaSlicer spawns another
subprocess and the subrocess dies, the child PrusaSlicer will not receive information on end of subprocess
(posix waitpid() call will always fail).
https://jmmv.dev/2008/10/boostprocess-and-sigchld.html
The child instance of PrusaSlicer has to reset SIGCHLD to its default, so that posix waitpid() and similar continue to work.
Fixes #5507
2021-01-07 19:14:48 +01:00
Vojtech Bubnik
71808dc006
boost::process::spawn() sets SIGINT to SIGIGN, which collides with boost::process waiting for a child to finish!
...
https://jmmv.dev/2008/10/boostprocess-and-sigchld.html
Thus reset the SIGINT to its default, so that posix waitpid() and similar continue to work.
Fixes Crash on Eject in Second Instance on macOS #5507
2021-01-07 17:38:56 +01:00
Vojtech Bubnik
2ad4447035
Fix of Ejecting of device has failed on Ubuntu Linux #3975
...
Eject failed due to superfluous escaping of spaces in path to the SD card
mount point.
2021-01-07 14:17:09 +01:00
Vojtech Bubnik
4988b93b8d
Merge remote-tracking branch 'remotes/origin/master' into vb_osx_eject
2021-01-07 14:12:40 +01:00
Vojtech Bubnik
8c597e9533
Merge remote-tracking branch 'remotes/origin/dk_refresh' into vb_osx_eject
2021-01-07 14:00:21 +01:00
tamasmeszaros
2505c0a82d
Fix for incorrect text fitting on gtk comboboxes.
...
fixes #4584
2021-01-07 13:38:29 +01:00
David Kocik
df59f9497a
request frame with delay when new notification pushed
2021-01-07 13:33:05 +01:00
tamasmeszaros
a5882a1a1c
success with text ellipsize for combobox
2021-01-07 13:24:26 +01:00
David Kocik
c61a6289c5
update notification before erasing finished ones
2021-01-07 13:16:23 +01:00
Vojtech Bubnik
c227e15794
Fixed compilation on OSX
2021-01-07 13:13:35 +01:00
David Kocik
f43b34fb57
wxWakeUpIdle when render timer ends to ensure idle function spawns and triggers rendering
2021-01-07 12:54:53 +01:00
YuSanka
8e7958da12
Fix of #5698 - When editing presets, list items are always green even if values have changed compared to preset or defaults
2021-01-07 12:26:16 +01:00
Vojtech Bubnik
546fbe1e8e
Fix of previous commit for OSX
2021-01-07 12:19:41 +01:00
Vojtech Bubnik
961abd75e8
Fix of previopus commut
2021-01-07 12:09:47 +01:00
Vojtech Bubnik
18cf1fdb43
Fixing the SD card eject issue on OSX by pushing the call to
...
"diskutil eject" to a worker thread.
Hopefully fixes Ejecting an SD card is slow and locks UI #4844
2021-01-07 12:02:44 +01:00
YuSanka
efd3002ea9
Fix of #5568 - Unselecting more than 10 copies stops at copy 10
...
But really bug was: incorrectly interrupted DnD.
2021-01-07 09:56:43 +01:00
Vojtech Bubnik
daa0bbdb0c
Fix of slow update when dragging the vertical slider in G-code viewer
...
with volumetric flow color mapping enabled.
Fixes "Volumetric flow rate computes very slowly #5572 "
2021-01-06 15:32:31 +01:00
YuSanka
939d08af19
Fix of #4532 - "Send G-Code to printer host" dialog box blanks out text on Linux
2021-01-06 12:24:00 +01:00
Vojtech Bubnik
67256d6bb0
Added a FIXME comment for
...
Sequential tool path ordering of multiple parts within the same object, aka. perimeter tracking (#5511 )
2021-01-06 12:19:08 +01:00
Vojtech Bubnik
93a5906a18
Fixed numerical issue with the new algorithm to connect infill lines
...
with perimeters:
1) Increased accuracy of the contour length parametrization from
float to double, as double should capture the difference of
32bit coord_t with full accuracy (or at least very close).
2) The algorithm to insert the T-joint points into the infill perimeter
contour was improved to avoid inserting duplicate points.
2021-01-06 12:18:05 +01:00
Vojtech Bubnik
3c9f3d2b66
Fixing the infill order for concentric infill to outside-in.
...
Relies to:
Concentric Fill Start Point - New Feature Request #4948
Feature Request: Archimedean Chords - Option to define direction of travel (Inside-Out or Outside-In) #5214
2021-01-06 11:05:32 +01:00
Lukas Matena
e733565031
Fix of #5632 (painter gizmos not working correctly with scaled objects)
...
This was broken since 8bcdbb7.
2021-01-05 17:06:05 +01:00
YuSanka
48c7673cc6
Fix of #5584 - Information text on startup logo
2021-01-05 14:26:10 +01:00
Vojtěch Bubník
57d0f4b4f6
Merge pull request #5544 from hzeller/fix-assignment-of-charliteral-to-writable-charptr
...
Fix assignment of string literals to char*.
2021-01-05 13:11:29 +01:00
Vojtech Bubnik
fb29325b14
Fix of G-code Viewer not loading .gco files #5536
...
".gcode", ".gco", ".g" and ".ngc" were considered to be G-code file
extensions by the G-code import / export file dialogs, but not by
various other functions. Now the G-code extension is tested by
a single function is_gcode_file(string).
2021-01-05 12:26:11 +01:00
enricoturri1966
b93c2aea44
#5690 - Fixed thumbnail generation when a gizmo is active
2021-01-05 11:58:48 +01:00
tamasmeszaros
a629401916
Fix for "bed fill" discarding selected instance transformation.
...
fixes #5621
2021-01-04 20:33:17 +01:00
YuSanka
f119b80341
Fix of #5672 - Dubious grammar when closing Physical Printer dialog
2021-01-04 19:03:34 +01:00
YuSanka
5845957c7d
Fix of second part of #5531
...
From the Win 2004 preset combobox lose a focus after change the preset selection and that is why the up/down arrow doesn't work properly.
So, set the focus to the combobox explicitly.
2021-01-04 16:51:29 +01:00
Vojtech Bubnik
1076e077ce
Fix of Adaptive cubic infill weird behavior #5633
...
Enabling reordering of infill paths for Support Cubic and Adaptive Cubic
infill types.
2021-01-04 15:42:23 +01:00
Lukas Matena
30c8592b10
Do not use ironing extrusions for autospeed calculations ( #5082 )
2021-01-04 14:21:24 +01:00
enricoturri1966
4d3cb19423
5677 - GCodeProcessor accepts gcode line T-1 as valid for RepRapFirmware and RepRapSprinter
2021-01-04 14:21:24 +01:00
enricoturri1966
016042db10
Disabled tech ENABLE_RENDER_STATISTICS
2021-01-04 14:21:24 +01:00
Lukas Matena
837070a246
Hotfix of a crash with raft and one-layer object ( #5652 )
...
The problem is that PrintObject support generator is only run when m_layers.size() > 1, so one-layer object will skip it.
It apparently never worked, after recent refactoring (probably 8bfc986) it started to crash in GCode generator.
This commit fixes the crash, but not the problem. The raft is still not generated (like in all versions since 2.0.0 at least).
2021-01-04 14:21:24 +01:00
Tuomas Kuosmanen
7a41ab20ed
Changed wording in one log message
2021-01-04 14:21:24 +01:00
Lukas Matena
6cf47f3e61
Use monospace font in placeholder parser error messages (Linux fix)
...
Previous implementation did not use monospace font on Linux. According to a note
from @wavexx in ba7f39a: "wxSYS_ANSI_FIXED_FONT use the same as DEFAULT in wxGtk".
This commit uses the same workaround by actually loading the font from GUI_App.
2021-01-04 14:21:24 +01:00