67 Commits

Author SHA1 Message Date
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