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
YuSanka
cfc520c97a
Thumbnails refactoring: Next round
...
* Check errors state on all places of its using (throw exceptions or show a warnings message)
+ To backward compatibility, save "thumbnails_format" value to the config
+ deep_diff() function is extended for the case of "thumbnails" comparison
+ Added unit tests to:
* check a load of configuration for "thumbnails" and "thumbnails_format" options
* check return values for make_and_check_thumbnail_list() function
2023-09-13 15:24:40 +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
Vojtech Bubnik
c01c863d8b
Merge branch 'master' into master_262
2023-08-31 17:16:20 +02:00
Filip Sykala - NTB T15p
d9b0fad80c
Merge branch 'master' into fs_svg
2023-08-31 16:43:30 +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
014953c864
Merge branch 'et_spe_1784_binary_gcode' into master_262
2023-08-30 12:52:02 +02:00
Vojtech Bubnik
015a24133a
Fixed some compilation warnings.
2023-08-30 12:51:35 +02:00
tamasmeszaros
0482f79dd8
3rd try for fixing tests on RPI
2023-08-30 11:45:02 +02:00
tamasmeszaros
8e875242ae
Another try for fixing tests on RPI
2023-08-30 09:35:57 +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
tamasmeszaros
c159451efe
Merge branch 'tm_arrange_overflows'
2023-08-21 15:20:27 +02:00
tamasmeszaros
b2d43c8719
Fix arrange in fff tests
2023-08-18 16:50:35 +02:00
tamasmeszaros
3277b5ee06
Fix compilation on in VS 2019 in certain environments
...
MSVC crashes when compiling
Thanks to @enricoturri1966 for reporting and fixing
2023-08-17 19:31:19 +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
aea278ab55
Fix failing tests
...
still the arrange is broken
2023-08-16 18:52:05 +02:00
tamasmeszaros
be9bbb7552
Follow up fix for ctest slow test filter expression
2023-08-16 16:53:42 +02:00
tamasmeszaros
90a7bc929c
Exclude tests marked as Slow from ctests
2023-08-16 16:47:47 +02:00
tamasmeszaros
c613669718
Follow-up, get rid of even more NOMINMAX warnings
2023-08-16 14:15:38 +02:00
tamasmeszaros
9bb5bdb80f
Fixing crashes with objects residing at large world coordinate values
...
fixes issue SPE-1844
2023-08-16 09:59:10 +02:00
tamasmeszaros
0c0a1af1e9
Temporarily disable rotations for wipe tower when arranging
...
It is problematic due to varying interpretation of rotation in arrange and slicer's wipe tower handling
fixes SPE-1787
2023-08-16 09:59:10 +02:00
tamasmeszaros
2224ce0ca7
Rename WritableItemTraits to MutableItemTraits
...
makes more sense, avoids confusion with WritableDataStore
2023-08-16 09:59:10 +02:00
tamasmeszaros
ace6cb1f78
Complete test for vbed involvement
2023-08-16 09:59:10 +02:00
tamasmeszaros
08e10ec98f
Add test involving simple arrange on vbeds
2023-08-16 09:59:10 +02:00
tamasmeszaros
e4a1df0add
Fix failing tests
2023-08-16 09:59:10 +02:00
tamasmeszaros
2730d2e14f
Remove unneeded check from fill bed test
2023-08-16 09:59:10 +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
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