Commit Graph

22427 Commits

Author SHA1 Message Date
YuSanka
18e56c3d53 Localization: Fixes for some phrases
+ Added/Fixed comments where it's needed
2023-03-23 22:55:38 +01:00
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
enricoturri1966
5d40088c0e Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports 2023-03-23 11:43:57 +01:00
enricoturri1966
84284b4418 Fixed crash when scaling object to fit print volume with SLA printers 2023-03-23 11:42:46 +01:00
tamasmeszaros
92e0c13513 Try to handle fff supports in arrange after slicing
Not really precise yet
2023-03-23 10:24:56 +01:00
tamasmeszaros
333d0727ef Handling brim offset in SLA without the need to slice the object 2023-03-23 10:24:56 +01:00
tamasmeszaros
3c5ecd4a8f FFF arrange minding skirt and brim distances
many thanks to @individ-divided and @jschuh
2023-03-23 10:24:56 +01:00
enricoturri1966
e585fd2221 Fixed duplication of auxiliary volumes when GLCanvas3D::reload_scene() is called for SLA printers 2023-03-23 10:16:13 +01:00
tamasmeszaros
6b1c9119be Add code to extract sla supports outline for arrangement
Add functionality to libnest to support on_packed handler for all items.

Use it to swap arrange polygon from envelope to core poly after packing was succesful.
Solving brim issue by offset adjustments of arrange polygons

Only in sla yet
2023-03-23 10:01:46 +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
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
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
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
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