Commit Graph

22545 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
af21038d94 Merge branch 'master' into fs_undoredo 2023-03-22 18:15:33 +01:00
Vojtech Bubnik
c28585ab7f WIP PlaceholderParser: Support for local and global variables.
Implements #4048 #7196

Syntax:

(global|local) variable_name =
	(scalar_expression|vector_variable|array_expr|initializer_list)

array_expr := array(repeat, value)
initializer_list := (value, value, value, ...)

The type of the newly created variable is defined by the type
of the right hand side intitializer.

Newly declared variable must not override an existing variable.
Variable may be assigned with global|local expression, but its type
must not be changed.

Newly the assignment operator also accepts the same right hand expressions
as the global|local variable definition.
2023-03-22 17:46:57 +01:00
Vojtech Bubnik
963ca415d4 PlaceholderParser: new interpolate_table() "function"
interpolate_table(x, (x0, y0), (x1, y1), (x2, y2), ...)
interpolates a table at position x.
2023-03-22 17:46:57 +01:00
Filip Sykala - NTB T15p
c5b43107ba Merge branch 'fs_emboss_Fix_fontpath' 2023-03-22 13:46:26 +01:00
Filip Sykala - NTB T15p
0a3db4525d Fix suggested by Stefan Csomor<csomor@advancedconcepts.ch> for releasing MacOs references.
link: https://groups.google.com/g/wx-users/c/f2nVyT59H6M/m/_BocNmwCAgAJ
2023-03-22 13:46:10 +01:00
Pavel Mikus
fbcc1ab276 Fix SPE-1595 - crash when no bridgin surfaces present and adaptive fill selected 2023-03-22 13:23:07 +01:00
YuSanka
760f74ce6a CutGizmo: Respect to the SLA shift 2023-03-22 12:36:51 +01:00
enricoturri1966
ddf636fe38 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports 2023-03-22 11:00:32 +01:00
enricoturri1966
e1c289f51a Fixed GLCanvas3D::reload_scene() method to avoid adding volumes coming from the sla backend 2023-03-22 11:00:04 +01:00
enricoturri1966
c251122e89 Fixed SupportsClipper::render_cut() method 2023-03-22 09:41:30 +01:00
enricoturri1966
37edec974c Gizmo Hollow - Show clipped supports only when the supports are visible 2023-03-21 15:33:27 +01:00
rtyr
97838f98ad
PETG Tungsten disabled for MK4 and XL for now. 2023-03-21 15:16:31 +01:00
enricoturri1966
9d156463b1 Fixed crash when rotating a part after slicing with sla printer 2023-03-21 14:43:14 +01:00
Filip Sykala - NTB T15p
ac5633841b Merge branch 'master' into fs_emboss 2023-03-21 13:19:53 +01:00
Lukas Matena
28497daabd Bumped up version to 2.5.2-rc1 2023-03-21 12:51:31 +01:00
rtyr
7c9192480a
Added profiles for MK4. 2023-03-21 12:43:02 +01:00
rtyr
4326929960
Updated output filename format. 2023-03-21 12:36:23 +01:00
Filip Sykala - NTB T15p
59f14be1a8 Merge branch 'master' into fs_emboss 2023-03-21 12:11:31 +01:00
Filip Sykala - NTB T15p
ae016aceb9 Fix for selection of unknodn font 2023-03-21 12:11:09 +01:00
rtyr
1f51ffcd39
TriLAB update 2023-03-21 08:28:52 +01:00
Pavel Mikus
ff5767b6f5 enable AABB tree over 3D lines 2023-03-20 20:01:37 +01:00
rtyr
cb45467c11
MK4 resources 2023-03-20 18:22:44 +01:00
Filip Sykala - NTB T15p
a60bf51ce4 Merge branch 'master' into fs_emboss 2023-03-20 17:42:05 +01:00
Filip Sykala - NTB T15p
9c70ed01e5 Fix add emboss volume on reflected 2023-03-20 17:41:51 +01:00
Filip Sykala - NTB T15p
d653cc6ab5 Fix crash made on MMU printers 2023-03-20 16:10:13 +01:00
Vojtech Bubnik
7afabcde95 PlaceholderParser: Implemented one_of() matching function:
1st parameter is the text to match against,
the rest of the parameters are pattern to be matched:
either strings, then the match is exact,
or regex enclosed in //
or regex string starting with ~

For example
one_of("a", "a", "b")
	finds a in "a", "b"
one_of("abc", /.*a.*/)
	matches "abc" using regular expression /.*a.*/
2023-03-20 15:55:18 +01:00
rtyr
6ae7b0048b
added AQD thumbnail 2023-03-20 15:35:41 +01:00
Filip Sykala - NTB T15p
d24472675c Keep color of object during drag over surface. 2023-03-20 15:33:00 +01:00
Filip Sykala - NTB T15p
201e9d493f Remove side effects from setter for enable picking. 2023-03-20 15:32:21 +01:00
enricoturri1966
997e731c41 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports 2023-03-20 14:35:02 +01:00
enricoturri1966
1b8553c747 Reintroduced visualization of SLA supports and pad into 3D scene and gizmos Hollow and SLA support as it was in 2.5.0 2023-03-20 14:34:04 +01:00
Filip Sykala - NTB T15p
ab30d37c3c Merge branch 'master' into fs_emboss 2023-03-20 13:45:55 +01:00
Filip Sykala - NTB T15p
5ab9532e39 Fix bad actualization without mesh source sorting 2023-03-20 13:45:41 +01:00
Vojtech Bubnik
d152b67ce5 PlaceholderParser: Simplified the parser after introducing
the writable variables.
2023-03-20 10:25:52 +01:00
Vojtech Bubnik
b9d8fe7118 WIP: PlaceholderParser support for writable output variables. 2023-03-20 07:48:38 +01:00
YuSanka
39bca4420c Fix for #10072 - Split to objects is acting funky 2023-03-17 17:14:32 +01:00
PavelMikus
79adb72a25 Fix int overflow, reduces amount of bridging substantially, improve code description,
extend bridge anchors when anchoring to solid surfaces on lower layers
2023-03-17 17:15:07 +01:00
rtyr
16024b12c5
Update Anker.idx 2023-03-17 15:51:51 +01:00
rtyr
d4d463bc28
Official AnkerMake profiles. 2023-03-17 15:48:36 +01:00
rtyr
520148a8aa
Added new AnkerMake resources 2023-03-17 15:48:06 +01:00
PavelMikus
b61a6f293d fix problem with missing lslice Links - detection could occasionally fail, issue 9744 2023-03-17 12:58:29 +01:00
David Kocik
147eee05a6 Merge branch 'dk_miniz' 2023-03-17 11:10:21 +01:00
David Kocik
d5f229a249 Refactoring of miniz extract calls. Use file_index instead of filename as identifier. 2023-03-17 11:08:49 +01:00
Filip Sykala - NTB T15p
19d02e6d74 Fix:
../src/slic3r/GUI/IconManager.cpp:174:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../src/slic3r/GUI/SurfaceDrag.cpp:104:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Slic3r::GLVolume*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
../src/slic3r/GUI/SurfaceDrag.cpp:57:30: warning: 'std::optional<double> Slic3r::GUI::calc_scale(const Matrix3d&, const Matrix3d&, const Vec3d&)' defined but not used [-Wunused-function]
../src/slic3r/Utils/RaycastManager.cpp:14:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
../src/slic3r/Utils/RaycastManager.cpp:316:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Slic3r::GLVolume*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
2023-03-17 09:41:48 +01:00
Filip Sykala - NTB T15p
bc825ec7d7 Merge branch 'master' into fs_emboss 2023-03-17 08:30:09 +01:00
rtyr
c878bbd826
Updated compatible conditions for some filament profiles. 2023-03-16 16:44:51 +01:00
PavelMikus
8ed8adfd3d Fix anchoring over sparse infill bug causing overextrusion when stacking thick bridges onto each other 2023-03-16 14:56:07 +01:00
David Kocik
765719d424 Merge branch 'dk_dupl_zip' 2023-03-16 13:12:08 +01:00
David Kocik
b8a479ea9a Get file size from Archive dialog, so correct file is opened. 2023-03-16 13:05:15 +01:00
David Kocik
c06816212d Duplicities in zip file. Show warning. Small refactoring. 2023-03-16 12:59:39 +01:00