Filip Sykala - NTB T15p
d530831e35
Add icons(refresh and burn) to svg emboss
...
Add NSVG image to shape
2023-07-19 12:02:28 +02:00
Filip Sykala - NTB T15p
b71cb25163
Run able fix after merge(still issue with scale for per glyph transformation)
2023-06-07 11:19:28 +02:00
Filip Sykala - NTB T15p
e831255018
Merge branch 'fs_dir_per_glyph_SPE-1597' into fs_svg
...
# Conflicts:
# src/libslic3r/Emboss.cpp
# src/libslic3r/Format/3mf.cpp
# src/libslic3r/TextConfiguration.hpp
# src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
# src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
# src/slic3r/GUI/Jobs/EmbossJob.cpp
# src/slic3r/GUI/Jobs/EmbossJob.hpp
2023-06-07 11:18:26 +02:00
Filip Sykala - NTB T15p
5de06a9ef8
Merge branch 'master' into fs_svg
2023-06-02 10:53:47 +02:00
Filip Sykala - NTB T15p
bca6b7811d
Merge branch 'master' into fs_dir_per_glyph
...
# Conflicts:
# src/slic3r/GUI/GLCanvas3D.cpp
2023-05-17 12:58:53 +02:00
PavelMikus
827230174f
Fix tests for new ensuring under bridges
2023-05-12 10:32:14 +02:00
tamasmeszaros
d4ad9deb94
Archive format registration refactored
...
Fix tests
2023-05-10 14:08:11 +02:00
Filip Sykala - NTB T15p
5a517e71de
Merge branch 'master' into fs_dir_per_glyph
2023-05-09 13:01:08 +02:00
Filip Sykala - NTB T15p
b7549ae414
Add TextLines to add per glyph transformation
2023-04-28 15:42:55 +02:00
Vojtech Bubnik
b67ad6434d
Follow-up to 9cde96993e9f996b44f417570ba05455472efa08
...
use tbb::scallable_allocator for Polygons and ExPolygon::holes
to better scale on multiple threads
2023-04-20 14:30:52 +02:00
Vojtech Bubnik
9cde96993e
Reworked the ClipperLib / Polygon types to use
...
the tbb::scallable_allocator to better scale on multiple threads.
2023-04-20 11:31:44 +02:00
Filip Sykala - NTB T15p
5a60f5f6a8
Fix for test
2023-04-19 08:43:01 +02:00
Filip Sykala - NTB T15p
92115754c4
Merge branch 'master' into fs_svg
2023-04-06 16:09:19 +02:00
PavelMikus
68d0f2da2b
Improve bridge over infill filtering, fix tests
2023-04-06 15:54:16 +02:00
Vojtech Bubnik
c2baa9ad4f
PlaceholderParser: Throw if valid or invalid UTF-8 sequence
...
is encountered inside a code block.
2023-04-06 13:30:29 +02:00
Vojtech Bubnik
030cfaf4b3
Fix of SPE-1630 crash when referencing an invalid variable name
...
using the old placeholder parser syntax.
Also implemented unescaping of \r\n\"\\ in string syntax.
2023-04-06 10:40:20 +02:00
Filip Sykala - NTB T15p
382a0fe1e3
Merge branch 'master' into fs_svg
...
# Conflicts:
# src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
# src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
# src/slic3r/GUI/Jobs/EmbossJob.cpp
# src/slic3r/GUI/Jobs/EmbossJob.hpp
# src/slic3r/GUI/SurfaceDrag.cpp
2023-04-06 08:25:20 +02:00
Filip Sykala - NTB T15p
da2d0282b1
Store text fix matrix, param use_surface and emboss 'depth'(size in emboss direction) by emboss Shape to 3mf
...
Do not store distance and angle to 3mf
Missing implementation for store ExPolygons to .3mf
2023-04-04 15:45:31 +02:00
Lukáš Hejl
9ed97abdb0
Fix of #10034 (SPE-1608): Fixed crash inside Arachne caused by degenerated Voronoi diagram.
...
Boost Voronoi diagram produced degenerated Voronoi diagram. This Voronoi diagram was detected by our method for detection of those types of degeneration. But rotation by PI / 6 wasn't able to fix it.
So now, when the Voronoi diagram is still degenerated after the first rotation, then we try another rotation by different angles to fix the degenerated Voronoi diagram.
2023-03-29 14:38:22 +02:00
Vojtech Bubnik
f591c2503a
PlaceholderParser: changed the syntax of if inside a {} block to
...
{if condition then block elsif}
The "then" keyword is now mandatory.
On the other hand, "then" keyword must NOT be used using old syntax:
{if condition}...{endif}
2023-03-27 15:36:14 +02:00
PavelMikus
0eb2a2cf04
Disable "infill only where needed" option
...
Note: only commented out for now.
2023-03-27 13:27:57 +02:00
Vojtech Bubnik
a53070f5e6
PlaceholderParser: Simpler if / elsif / else / endif syntax.
...
{if cond1}{expr1}{elsif cond2}{expr2}{else}{expr3}{endif}
could be written as
{if cond1;expr1;elsif cond2;expr2;else;expr3;endif}
the first semicolon after else is not manadtory, thus the following is valid
{if cond1;expr1;elsif cond2;expr2;else expr3;endif}
each expression could be also empty or contain multiple expressions:
{if cond1;elsif cond2;else endif}
2023-03-24 16:35:53 +01:00
Vojtech Bubnik
5b115b7972
PlaceholderParser: Implemented skipping of inactive if / else / endif
...
and ternary operator branches, thus missing variables or addressing
outside of the variable range in an inactive branch will not trigger
an error.
2023-03-24 13:55:58 +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
e46891fa8c
PlaceholderParser: Fixed compilation issues, added integration test
...
with FDM slicing process.
2023-03-23 09:23:20 +01:00
Filip Sykala - NTB T15p
916baa9ef8
Merge branch 'master' into fs_svg
2023-03-22 18:14:16 +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
6540681e92
Merge branch 'master' into fs_svg
...
# Conflicts:
# src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
# src/slic3r/GUI/SurfaceDrag.cpp
2023-03-22 09:39:54 +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
Vojtech Bubnik
b9d8fe7118
WIP: PlaceholderParser support for writable output variables.
2023-03-20 07:48:38 +01:00
Filip Sykala - NTB T15p
574df48f85
Reorganize data structures
2023-03-16 18:21:48 +01:00
Filip Sykala - NTB T15p
ed8439736c
Merge branch 'fs_emboss' into fs_svg
2023-03-15 12:31:38 +01:00
tamasmeszaros
1154f51aab
Fix failing libnest2d tests
...
Fix the test itself
2023-03-13 13:52:21 +01:00
Filip Sykala - NTB T15p
c2f348ee19
ReWork DataBase for embossing to prepare for SVG.
...
Remove dependency on Emboss inside of Object list
Hide variable SHAPE_SCALE to one .cpp file only
2023-03-10 15:22:29 +01:00
Filip Sykala - NTB T15p
0716666706
Merge branch 'fs_emboss' into fs_svg
2023-03-08 07:38:10 +01:00
Filip Sykala - NTB T15p
ae0f4a7c8b
Add emboss SVG configuration to model
...
add Cereal serialization of Polygons and ExPolygons
2023-03-07 09:20:52 +01:00
PavelMikus
de09af23b7
Fix/Disable some tests after Removal of ensure vertical shell thickness option
2023-03-03 18:15:21 +01:00
Vojtech Bubnik
65ab83d6a9
Fix of Build failed with CGAL 5.5: UserVisitor’ {aka ‘struct priv::Visitor’}
...
has no member named ‘start_filtering_intersections’
Fixes #9582
Co-authored-by: @hexane360
2023-03-03 13:07:41 +01:00
PavelMikus
5b0c270b30
Merge remote-tracking branch 'origin/master' into pm_anchor_bridges_on_sparse_infill
2023-03-01 16:45:26 +01:00
Vojtech Bubnik
55533397f9
PlaceholderPareser: new is_null() function to test whether a variable
...
has a "nil" value or not.
Implements SPE-1539
2023-02-28 18:30:04 +01:00
Vojtech Bubnik
001358cbba
Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani
2023-02-02 09:53:14 +01:00
Lukas Matena
c909391e86
Fix a failing test (which is now obsolete)
2023-01-27 12:04:55 +01:00
Filip Sykala - NTB T15p
1a33a31a9f
Comment visualization in test
2023-01-26 16:42:41 +01:00
Filip Sykala - NTB T15p
94982c758d
Merge branch 'master' into fs_fix_for_Allura_script_font
2023-01-26 12:01:12 +01:00
Filip Sykala - NTB T15p
f2803c4ae1
Move unused implementation behinde macro
2023-01-26 12:00:36 +01:00
Filip Sykala - NTB T15p
badbe9ddba
Remove spikes from glyph shape
2023-01-26 08:04:44 +01:00
Lukas Matena
98fea2f6ee
Wipe tower: use GCode::set_extruder, allow ooze prevention:
...
this removes duplicated code and fixes toolchange retraction
The ooze prevention part needs further work, now it does not
work as advertised (the tall skirt)
2023-01-26 07:28:37 +01:00
Filip Sykala - NTB T15p
8f09c3ac82
WIP: Create another approach to heal shape BUT it is not working
2023-01-20 17:33:53 +01:00