Commit Graph

22297 Commits

Author SHA1 Message Date
YuSanka
f9de995f9e Remove '_utf8' makro.
(Initially, it was used because of using of boost::format for localized lines. But now It's better to use format and formal_wxstr functions)

+ Fixed missed marks for localization
+ Added missed filed to localization to the list.txt
2023-03-23 22:55:38 +01:00
Lukas Matena
472090a54d Fix: file containing localization was missing in list.txt 2023-03-23 22:55:38 +01:00
Lukas Matena
73857703b8 Added a check that libslic3r/I18N.hpp is not included on the frontend by mistake,
also added a check that L macro is not defined when including libslic3r/I18N.hpp
2023-03-23 22:55:38 +01:00
YuSanka
19f2a1d9e9 Unified usage of localization macros in slic3r/libslic3r 2023-03-23 22:55:38 +01:00
Vojtech Bubnik
9cb50e6586 PlaceholderParser: added size() and empty() functions over vector variables. 2023-03-23 17:51:37 +01:00
Vojtech Bubnik
929a0eba2c PlaceholderParser: replaced the new "array" operator with "repeat",
simplified the parser a bit more.
2023-03-23 17:08:56 +01:00
Vojtech Bubnik
3045884640 PlaceholderParser: Reduced code duplicity. 2023-03-23 15:00:45 +01:00
Lukas Matena
11e22b7950 Merge branch 'lm_wipe_tower_spacing' 2023-03-23 12:47:05 +01:00
Lukas Matena
6170783f7c Wipe tower: Increased maximum of wipe_tower_extra_spacing to 300 % 2023-03-23 12:46:38 +01:00
Lukas Matena
64cf357907 Wipe tower: fix the cone in combination with 'no_sparse_layers' 2023-03-23 12:44:42 +01:00
Lukas Matena
b20325671a Wipe tower: added the stabilization cone into configuration 2023-03-23 12:44:42 +01:00
Lukas Matena
26ba74fad0 Wipe tower: stabilization cone bottom infill 2023-03-23 12:44:42 +01:00
Lukas Matena
571b133791 Wipe tower: stabilization cone 2023-03-23 12:44:42 +01:00
Lukas Matena
cd70954758 Wipe tower: added an option to change spacing of the lines 2023-03-23 12:44:42 +01:00
Lukas Matena
7df4cfb453 Fixed a crash when selection wipe tower and using add instance function:
this was between 2.6.0-alpha3 and 2.6.0-alpha4 in 4d5b85e.
2023-03-23 12:27:07 +01:00
Vojtech Bubnik
e46891fa8c PlaceholderParser: Fixed compilation issues, added integration test
with FDM slicing process.
2023-03-23 09:23:20 +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
Filip Sykala - NTB T15p
ac5633841b Merge branch 'master' into fs_emboss 2023-03-21 13:19:53 +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
Pavel Mikus
ff5767b6f5 enable AABB tree over 3D lines 2023-03-20 20:01:37 +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
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
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