16522 Commits

Author SHA1 Message Date
supermerill
1a86054e68 update profiles pr (artillery & vertex) 2022-01-31 22:12:24 +01:00
supermerill
fa49d3b06e continue some 2df72f entities pointer fix.
Should change them to unique_ptr/shared_ptr to stop worrying.
2022-01-31 22:12:20 +01:00
supermerill
234b161550 Fix commit 4e6753: use ExPolygon instead of polygon (so don't holes as contour) for "too thin bridge" detection. 2022-01-31 22:12:13 +01:00
supermerill
396b30285b Fix gcodeviewer to symlink to real slicer name
supermerill/SuperSlicer#1627
2022-01-31 22:12:08 +01:00
supermerill
eebc2fb01e Fix bridge offset when multiple bridge polygon on a layer
supermerill/SuperSlicer#2249
2022-01-31 22:12:03 +01:00
Jaggzh
83ec3d7e00 Added test for sysctl path 2022-01-31 22:11:58 +01:00
Martin Sturm
c6560508d7 Allow configuration directory next to app bundle on MacOs 2022-01-31 22:11:52 +01:00
Stephen Hurd
ca1a475e2a Update to use OneTBB
Mostly converting tbb::mutex -> std::mutex and tbb::atomic to std::atomic
Some changes also present around task manager.

squash:
* Include atomic/mutex/thread where required
* Use TBB_VERSION_MAJOR to detect if the legacy API should be used
2022-01-31 22:11:46 +01:00
Stephen Hurd
cef7c355a1 Fix crash on FreeBSD
On FreeBSD builds, if you try to change a printer/filament/setting
option while the dirty flag is set, it crashes.  This patch seems
to fix the crash, though I'm not sure what the id is actually used
for.

merill: added the #ifdef __WXGTK__ to not mess with other OSes
2022-01-31 22:11:40 +01:00
Stephen Hurd
0d5add8413 Check the return value of get_field() before use
Other calls to toggle() check if the field exists first,
this one should too.

Fixes #2126

Signed-off-by: Stephen Hurd <shurd@sasktel.net>
2022-01-31 22:11:35 +01:00
Stephen Hurd
c148bbc1bf Restore ability to use with wxWidgets 3.0
Needed for FreeBSD GTK2 usage
2022-01-31 22:11:29 +01:00
kmarty
0da73fd854 Fix several typos in Czech localisation 2022-01-31 22:11:24 +01:00
remi durand
455260e167 overhaul of the default to default_[double|int|bool|string]
as the previous syntax doesn't works
Also doesn't return the exists() bool, as it difficult to delete it.
2022-01-31 22:11:15 +01:00
remi durand
c679e8bc6f Add a macro command {ignore_legacy(true)} to disable the legacy format using the [] (can be reactivated with false argument)
Now can escape the '[' by "\[", this will print '['. same for the '{'.
change all tooltips (and default values) to use '{ }' instead of '[ ]'
That will enable the use of these characters in the custom gcode without crashing
supermerill/SuperSlicer/issues/2276
2022-01-31 22:11:10 +01:00
remi durand
4fbbfc6ce5 fix min skirt length
supermerill/SuperSlicer#2200
2022-01-31 22:11:06 +01:00
remi durand
0ee0bab498 Wrong title on Retraction Calibration window
supermerill/SuperSlicer#2218
2022-01-31 22:11:01 +01:00
remi durand
64be2e0355 Fix unreliable wipe_only_crossing
supermerill/SuperSlicer#2154
2022-01-31 22:10:47 +01:00
remi durand
8d362ad897 Move all mac build to the BuildMacOs script 2022-01-30 17:46:57 +01:00
remi durand
ec197dbd1a Fix wipetower using filament_max_speed but without the mm/s to mm/min conversion
supermerill/SuperSlicer#2271
2022-01-30 17:44:44 +01:00
remi durand
2df72fd324 Fix an "External Perimeter First" that extrude each perimeter in double if only one of the two selected.
supermerill/SuperSlicer#2267
2022-01-30 17:42:08 +01:00
supermerill
ec2d3e96e7 fix crash (in bridge detector)
supermerill/SuperSlicer#2261
2022-01-30 17:34:01 +01:00
supermerill
f0289f3cef update release script for mac arm 2022-01-05 00:35:36 +01:00
supermerill
29a9398f28 update build files for macos_arm 2022-01-05 00:11:08 +01:00
supermerill
6c25ee7365 french translation update 2022-01-05 00:08:21 +01:00
supermerill
3a2256e888 tooltip update 2022-01-05 00:07:50 +01:00
supermerill
74e01b5759 Don't consider top surface as safe for 'only_retract_when_crossing_perimeters'
supermerill/SuperSlicer#2128
2022-01-04 22:54:36 +01:00
supermerill
f0548ab5f7 Spiral vase: allow to choose the seam start position.
supermerill/SuperSlicer#2114
2022-01-04 22:18:47 +01:00
supermerill
0c92076a14 Fix to_string_nozero formatter when rounded without any '.'.
supermerill/SuperSlicer#2172
2022-01-04 18:38:21 +01:00
supermerill
65288d3b49 connect solid rectilinear lines
supermerill/SuperSlicer#2141
2022-01-04 04:16:43 +01:00
supermerill
f75093ec91 fix 'print external perimeter first' also print thinwall first
supermerill/SuperSlicer#2168
2022-01-04 04:16:38 +01:00
supermerill
1488051552 Fix crash when using concentric (filled) as support interface
supermerill/SuperSlicer#2124
2022-01-04 04:16:34 +01:00
supermerill
f89cec2214 remove trailing '.' after int values in gcode
supermerill/SuperSlicer#2151
2022-01-04 04:16:29 +01:00
supermerill
fee585a0ae Fix vase mode: no seam gap.
supermerill/SuperSlicer#2114
2021-12-29 01:35:03 +01:00
supermerill
d2c6929192 fix broken travel (update of last pos on wipe)
supermerill/SuperSlicer#2112
2021-12-28 23:49:06 +01:00
supermerill
5ac295a83f fix quirky gapfill (u-turn at the tip of it)
supermerill/SuperSlicer#2102
2021-12-23 14:48:42 +01:00
supermerill
faa678ee9b fix filament override (fix commit 5263f9)
supermerill/SuperSlicer#2110
2021-12-23 12:35:35 +01:00
supermerill
9198f9e26e Fix 'avoid crossing perimeters' when wipe enabled.
Also add a new setting to say if the wipe is really needed if 'avoid crossing perimeters' activated & no crossing.
supermerill/SuperSlicer#1069
2021-12-22 19:09:59 +01:00
supermerill
5b2cda2e9c When 'wipe on retract' on an external perimeter, continue to wipe inside the object
supermerill/SuperSlicer#2061
2021-12-22 19:09:54 +01:00
supermerill
54ae8a55d0 profile update: Fix extrusion_spacing for Anycubic
supermerill/SuperSlicer#2084
2021-12-22 19:09:49 +01:00
supermerill
a358fe2704 Fix medial axis creating points on top of each other.
supermerill/SuperSlicer#2099
supermerill/SuperSlicer#2102
2021-12-22 19:09:38 +01:00
supermerill
f1f60cd468 Custom macro variables: two new keywords: 'exists' and 'default'
* 'default(var_name,value)' check if the variable exist and affect it the value if not.
The variable can be boolean 'true' 'false', int '0' '12', double '1.0' '42.24' or string '"a string"'.
 * 'exists(var_name)' return true if present. Note that it create a dummy boolean variable.
Note that if you're using the variable in a formula, it may crash even if guarded by a {if} as everything is interpreted (no lazy check).
So be careful to add a 'default' so it get the right type and can the formula be interpreted (unless you just print it).
Using 'default' doesn't change the return value of 'exists'.
2021-12-22 18:16:13 +01:00
supermerill
8a0e9adcd4 Some tooltip updates (thank you @blex-max for the help)
supermerill/SuperSlicer#2097
2021-12-22 18:15:56 +01:00
supermerill
7b6b4b0871 typo: A platter is a tray (a plate). A plater is someone who plate metals.
I won't fix mainline/prusa typo in the source code, only the text.
2021-12-20 20:23:18 +01:00
supermerill
4e0d91fe94 Updated ConfigManipulation (disabled/enabled) for width & spacing. 2021-12-20 19:28:10 +01:00
supermerill
91d3862ead Fix 'merge thin walls with perimeter' (unneeded travels)
also now use coincide_with_epsilon for most of medial_axis, as I have the proof the position can vary by 1 unit in an intersection.
supermerill/SuperSlicer#2092
2021-12-20 18:25:33 +01:00
supermerill
2f4b55ed3c 0 extrusion_spacing will always create 0-auto-extrusion_width.
clean cout
supermerill/SuperSlicer#2084
2021-12-20 03:56:15 +01:00
supermerill
3d1c29c0e0 fix kickstart reverting when it shouldn't
supermerill/SuperSlicer#2076
2021-12-20 03:36:22 +01:00
supermerill
d1f475b476 fix regex import
supermerill/SuperSlicer#2081
2021-12-20 03:36:03 +01:00
Clayton O'Neill
45c8c3722f Add support for building MacOS fat binaries
* Fix cross compiling for GMP on Mac
* Fix Apple silicon cross-compile for libcurl
* Fix OpenEXR cross compile for apple silicon
* Patch to cross compile libpng for Apple Silicon
* Fix comment
supermerill:
* Test new BuildMacOS.sh script
* limits macos-arm new command to macos.
* add debug to BuildMacos script (like for linux)
2021-12-17 19:19:32 +01:00
supermerill
9e4b73f081 missing includes for gentoo compilation
supermerill/SuperSlicer#1931
2021-12-15 19:51:26 +01:00