Martin Šach
b45e9d2830
Fix: Give more space for a rounding error to a supports spots generator test.
...
There was a test that relied on randomness and also checked the result
with very hight precision. That led to a failed test once upon a time.
Now the checking is more benevolent (it should be, as the code is
not expected to be precise) and also the randomness is removed.
2023-10-20 10:27:28 +02:00
Filip Sykala - NTB T15p
2316abd109
../tests/libslic3r/test_emboss.cpp:202:34: error: ‘intersection_points’ was not declared in this scope; did you mean ‘intersections_prev’?
2023-10-17 11:21:25 +02:00
Filip Sykala - NTB T15p
70460ae790
Fix Healing of SVG shape for overlapped contour points in thin "bay".
...
SVG from @LukasMatena
2023-10-11 15:01:29 +02:00
Filip Sykala - NTB T15p
76c23fd9ff
Merge branch 'master' into fs_svg_SPE-1517
...
# Conflicts:
# src/slic3r/GUI/GUI_Factories.cpp
2023-10-03 15:32:11 +02:00
Lukas Matena
af7230e496
Rename 'NetFabb' to 'Windows repair algorithm' (related to #11199 )
2023-10-03 15:14:14 +02:00
Filip Sykala - NTB T15p
af520bc787
Merge branch 'master' into fs_svg_SPE-1517
2023-10-02 16:16:37 +02:00
tamasmeszaros
f83abb09dc
Merge branch 'tm_fix_static_map_build'
2023-10-02 12:48:50 +02:00
tamasmeszaros
4025a55c4f
Fix build on Mac
2023-10-02 12:48:23 +02:00
Vojtech Bubnik
5fede09c13
Fixing compilation on GCC
2023-10-02 10:32:48 +02:00
Vojtech Bubnik
a0441dac14
ArcWelder:
...
Reducing the chance of creating segments shorter than G-code quantization
distance.
Improving fitting by non-linear least squares.
2023-10-02 09:59:06 +02:00
tamasmeszaros
11893ed0c1
Don't build static map tests as they fail on multiple platforms
2023-10-02 09:43:24 +02:00
tamasmeszaros
82a7ff7f4e
Re-enable static map tests
2023-10-02 08:47:59 +02:00
tamasmeszaros
23b041e222
Add StaticSet and StaticMap to allow global constant dictionaries
2023-09-29 11:58:05 +02:00
Filip Sykala - NTB T15p
4ea9a250ba
Merge branch 'master' into fs_svg_SPE-1517
2023-09-27 10:08:33 +02:00
Martin Šach
003232dfb6
Add tests for SupportSpotsGenerator::ObjectPart construction.
...
Ensuring that ObjectParts in SupportSpotsGenerator are properly
generated from slice is crucial for any further computations.
2023-09-26 16:11:19 +02:00
Martin Šach
13579fff45
Move definitons to header in the SupportSpotsGenerator.
...
Moving the definitions to a header file will enable testing the
functions involved.
2023-09-26 16:11:19 +02:00
Filip Sykala - NTB T15p
2aafec0576
Merge branch 'master' into fs_svg_SPE-1517
2023-09-26 15:06:56 +02:00
Lukas Matena
11273b29ac
Fixed compiler warnings
2023-09-26 14:24:23 +02:00
Filip Sykala - NTB T15p
5da14c491e
Merge branch 'master' into fs_svg_SPE-1517
2023-09-26 13:34:28 +02:00
Martin Šach
6164051d60
Use proper formula for second moment of area.
...
SupportSpotsGenerator originally used a heuristic formula. Current
formula is properly derived using known properties of
second moment of area. Several tests of this formula are added.
2023-09-22 13:30:05 +02:00
Filip Sykala - NTB T15p
1b62121c97
Fix of Point coord overflow(double scaled int) in test
...
Should fix MAC build
2023-09-15 09:46:19 +02:00
Filip Sykala - NTB T15p
255081e342
Merge branch 'master' into fs_svg_SPE-1517
2023-09-13 21:53:59 +02:00
Filip Sykala - NTB T15p
3421a9298a
Remove depricated variable
...
+ read old staff in separate 3mf function
2023-09-13 11:56:37 +02:00
Filip Sykala - NTB T15p
e40b798ef6
Fix scale in test
2023-09-05 14:32:09 +02:00
Filip Sykala - NTB T15p
96618d684f
Emboss Stroke(contour of paths from svg)
...
Do not support yet:
- Markers(start sybol, end symbol, middle symbols)
- Dashes
2023-08-31 16:41:21 +02:00
Vojtech Bubnik
3cfe2f4a3a
Merge branch 'vb_arc_welder' into master_262
2023-08-28 15:50:00 +02:00
Filip Sykala - NTB T15p
57141aa61a
Merge branch 'master' into fs_svg
...
# Conflicts:
# src/slic3r/GUI/Gizmos/GLGizmoEmboss.hpp
2023-08-22 16:20:42 +02:00
Filip Sykala - NTB T15p
0c9cb02cf1
Merge branch 'master' into fs_dir_per_glyph_SPE-1597
...
# Conflicts:
# src/libslic3r/Polygon.hpp
2023-08-17 15:46:25 +02:00
tamasmeszaros
c613669718
Follow-up, get rid of even more NOMINMAX warnings
2023-08-16 14:15:38 +02:00
tamasmeszaros
0b31ef6e1e
Beginning of arrange gen2
2023-08-16 09:59:10 +02:00
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
Vojtech Bubnik
3d439c617c
ArcWelder: Fixed warnings in unit tests.
2023-07-17 19:12:10 +02:00
Vojtech Bubnik
594e36c70a
ArcWelder bugfixes
2023-07-17 14:18:56 +02:00
Vojtech Bubnik
9fe36fc300
WIP Arc interpolation bugfixes
2023-07-15 12:31:55 +02:00
Vojtech Bubnik
3df8da662e
WIP Arc discretization, arc interpolation and unit tests.
2023-07-14 11:20:55 +02:00
Vojtech Bubnik
19062b4d5f
ArcWelder path interpolation based on the work by Brad Hochgesang @FormerLurker.
...
WIP GCode/SmoothPath.cpp,hpp cache for interpolating extrusion path with arches.
Removed Perl test t/geometry.t, replaced with C++ tests.
Refactored ExtrusionEntity and derived classes to hold extrusion attributes in new ExtrusionFlow/ExtrusionAttributes classes.
Reworked path ordering in G-code export to never copy polylines, but to work with a new "flipped" attribute.
Reworked G-code export to interpolate extrusion paths with smooth paths and to extrude those smooth paths.
New parameters: arc_fitting, arc_fitting_tolerance
Renamed GCode class to GCodeGenerator
Moved GCodeWriter.cpp/hpp to GCode/
Moved Wipe from from GCode.cpp,hpp to GCode/Wipe.cpp,hpp
Moved WipeTowerIntegration from GCode.cpp,hpp to GCode/WipeTowerIntegration.cpp,hpp
New variant of douglas_peucker() to simplify range of iterators in place.
Refactored wipe in general and wipe on perimeters / hiding seams.
WIP: Convert estimate_speed_from_extrusion_quality() and its application to smooth paths.
WIP: Cooling buffer to process G2G3, disable arc fitting for filters that cannot process it.
2023-07-13 11:54:42 +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
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
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