Filip Sykala - NTB T15p
8064a4648b
change way of creation reduction map
...
store all filled, constrained and reduction maps for all models
2022-07-12 10:35:45 +02:00
Filip Sykala - NTB T15p
2f73590fcb
Clean up
2022-07-11 20:11:13 +02:00
Filip Sykala - NTB T15p
963713fad1
separate function for cut_from_model
...
set face type by edges(not triangles) half processing of is in or out
2022-07-11 19:57:38 +02:00
Filip Sykala - NTB T15p
d955a37987
Clean up
2022-07-11 19:11:22 +02:00
Filip Sykala - NTB T15p
4752c80d99
Fixed outlines extraction
2022-07-11 17:45:07 +02:00
Filip Sykala - NTB T15p
93c41323d7
Merge patches + creation of patch outlines
2022-07-11 12:06:01 +02:00
Filip Sykala - NTB T15p
266113d3a2
Work with multiple patches from one CutAOI - only area without outlines and selection of correct projection distance
...
NOTE: One clip can create multiple patches - divide by connected triangles
2022-07-07 19:41:09 +02:00
Filip Sykala - NTB T15p
89f6df6da1
Start using CGAL::clip verify it could be used as tool for difference a mdoel patch in AOI
2022-07-02 09:27:27 +02:00
Filip Sykala
043accbc00
detection of intersection source
2022-06-29 15:34:33 +02:00
Filip Sykala
ab3148538a
Partial difference for multiple volume cuts
2022-06-29 11:55:55 +02:00
Filip Sykala
b059d3a57c
Merge cuts by CGAL model -- Not Working
2022-06-24 15:55:11 +02:00
Filip Sykala
65bcb896b4
fix move store function behinde macro
2022-06-21 16:59:34 +02:00
Filip Sykala
093d2dfccd
Hide debug store
2022-06-21 16:56:31 +02:00
Filip Sykala
669219cb4c
Fix
...
../src/libslic3r/CutSurface.cpp:2609:28: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare]
../src/libslic3r/CutSurface.cpp:2610:28: warning: comparison of integer expressions of different signedness: 'const int' and 'unsigned int' [-Wsign-compare]
2022-06-21 16:33:58 +02:00
Filip Sykala
803bde0cd2
Fix
...
../src/libslic3r/CutSurface.cpp:2300:26: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
2022-06-21 16:30:56 +02:00
Filip Sykala
52a50b5ac9
Fix ../src/libslic3r/CutSurface.cpp:2623:9: error: control reaches end of non-void function [-Werror=return-type]
2022-06-21 16:29:14 +02:00
Filip Sykala
02a10a380a
Prepare for merge intersected cuts
2022-06-21 10:56:08 +02:00
Filip Sykala
f1acbf1bfe
Filtering not closest surface cuts
2022-06-20 18:53:38 +02:00
Filip Sykala
553f484588
Fix letter without aoi
2022-06-20 18:52:45 +02:00
Filip Sykala
13b1ef0075
fix over zero cycling
2022-06-20 18:52:12 +02:00
Filip Sykala
e8d8ec1990
Merge cuts first part
2022-06-10 18:38:05 +02:00
Filip Sykala
eea0ce9569
Calculation of projection distances
2022-06-09 15:07:44 +02:00
Filip Sykala
b69653f967
Speed up by skip model triangles out of bounding box
...
+ skip outward traingles (actualy set to 89 Degree for sure)
2022-05-30 19:30:14 +02:00
Filip Sykala
49467667f8
add clear of conversion map for vertex index between conversions of AOI_cuts to indexed_triangle_set
...
AOI_cut could share vertex and this vertex has own index in each cut.
2022-05-27 09:40:26 +02:00
Filip Sykala
7295c3470b
add assert on uncontinous order of points
...
add check on toward projection
2022-05-25 15:10:47 +02:00
Filip Sykala
ab58e631ef
fix
...
../src/libslic3r/CutSurface.cpp:879:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
../src/libslic3r/CutSurface.cpp:880:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
../src/libslic3r/CutSurface.cpp:881:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
../src/libslic3r/CutSurface.cpp:877:22: warning: unused variable 'is_positive_type_direction' [-Wunused-variable]
2022-05-25 09:10:29 +02:00
Filip Sykala
848dbcb9ca
Prevent small useless cutted pieces by set requirement for minimal source contour outline points
2022-05-24 16:13:02 +02:00
Filip Sykala
60c2e74207
Filtrate face, which are to close to parallel projection during emboss on surface
2022-05-24 12:20:28 +02:00
Filip Sykala
1eba4f7c31
Store cut outline
2022-05-18 13:04:34 +02:00
Filip Sykala
3864bb0b1c
Filter out opposite triangle to projection during convert object to CGAL model
2022-05-18 11:18:06 +02:00
Filip Sykala
864d1e5830
Cut surface in backend job
...
Store flag about use surface(into 3mf and style)
GUI: Add checkbox to start using model surface
2022-05-04 19:42:39 +02:00
Filip Sykala
e5bf946008
Fix filtering order of AOIs
2022-05-03 13:05:58 +02:00
Filip Sykala
51b103885c
Fix of flood fill on edge
2022-05-02 17:29:56 +02:00
Filip Sykala
10f07d8810
Cutting shape mesh is over whole object. Infinite projection VRT object dimension
2022-04-29 19:53:02 +02:00
Filip Sykala
f251ac5c7e
Transform cuted surface on model
2022-04-26 22:05:01 +02:00
Filip Sykala
a1d7040902
WIP: cut surface of model
...
update emboss icons to not be soo huge - pixel preccisse
2022-04-26 17:43:38 +02:00
Filip Sykala
d9249024ba
fix:
...
../src/libslic3r/CutSurface.cpp:368:110: error: cannot bind non-const lvalue reference of type 'CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >::Property_map<CGAL::SM_Edge_index, priv::IntersectingElement>&' to an rvalue of type 'CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >::Property_map<CGAL::SM_Edge_index, priv::IntersectingElement>'
../src/libslic3r/CutSurface.cpp:369:110: error: cannot bind non-const lvalue reference of type 'CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >::Property_map<CGAL::SM_Face_index, priv::IntersectingElement>&' to an rvalue of type 'CGAL::Surface_mesh<CGAL::Point_3<CGAL::Epick> >::Property_map<CGAL::SM_Face_index, priv::IntersectingElement>'
../src/libslic3r/CutSurface.cpp:482:41: warning: comparison of integer expressions of different signedness: 'int32_t' {aka 'int'} and 'std::vector<CGAL::SM_Vertex_index, std::allocator<CGAL::SM_Vertex_index> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
../src/libslic3r/CutSurface.cpp:522:12: warning: unused variable 'count' [-Wunused-variable]
../src/libslic3r/CutSurface.cpp:1041:15: warning: unused variable 'color' [-Wunused-variable]
2022-03-22 15:59:58 +01:00
Filip Sykala
e6838f7e18
add new cgal as technology
2022-03-22 15:47:34 +01:00
Filip Sykala
bec8d5b31d
Cut now respect reduction of triangles
2022-03-17 14:24:35 +01:00
Filip Sykala
83e62bbd28
Use property map instead of std::map
2022-03-17 12:25:46 +01:00
Filip Sykala
3685c59e3e
Add reduction map
2022-03-17 11:44:43 +01:00
Filip Sykala
84bde2163d
Partialy prepare surface cut
2022-03-16 16:58:36 +01:00
Filip Sykala
87f22765ba
Separate functionality
2022-03-15 19:53:43 +01:00