Commit Graph

21151 Commits

Author SHA1 Message Date
enricoturri1966
602c48a116 Added new base class for SLA gizmos to remove duplicated code 2022-11-29 11:14:35 +01:00
tamasmeszaros
c28a00ae04 Holes are were not drilled in the right orientation.
This change seemingly fixes the issue.
2022-11-29 11:14:19 +01:00
tamasmeszaros
28ffdcc391 Disable CGAL booleans for now in sla pipeline
Does not work yet as expected.
2022-11-29 11:14:19 +01:00
enricoturri1966
c4db736f6f Gizmo Hollow and SLA support - Disable imgui dialog and scene input until the proper geometry is not loaded 2022-11-29 11:14:19 +01:00
tamasmeszaros
f100a59688 Cherry-picking 118f4859c472ccbc30b43101c6674dadc81d7b12
And resolve conflicts
2022-11-29 11:14:19 +01:00
enricoturri1966
5a3f36da01 Tech ENABLE_RAYCAST_PICKING_DEBUG - Extended data shown into debug imgui dialog 2022-11-29 11:13:09 +01:00
tamasmeszaros
ce5d242f76 Fix failing test for hollowing 2022-11-29 11:11:32 +01:00
tamasmeszaros
191f04568d Do mesh booleans with cgal if possible. 2022-11-29 11:11:32 +01:00
tamasmeszaros
2a8c9d7462 Refinements 2022-11-29 11:11:32 +01:00
tamasmeszaros
9bc3410474 Re-enable volumes in SLA, use raycasters from canvas in supports gizmo
Got rid of HollowedMesh and Raycaster usage from GizmosCommon pool to prevent crashes
2022-11-29 11:11:32 +01:00
tamasmeszaros
15fa4c42d6 Finalize new sla backend interface
no has_mesh or get_mesh based on states, but specific methods to get the mesh type needed (support, pad, object)

Commented out everything that does not conform in frontend
2022-11-29 11:11:02 +01:00
tamasmeszaros
39a1ed0e1a WIP: prepare frontend to use new sla backend interface 2022-11-29 11:11:02 +01:00
tamasmeszaros
ab9f231c0c Fix broken compilation 2022-11-29 11:11:02 +01:00
tamasmeszaros
99581a5e53 Fix unguarded header 2022-11-29 11:11:02 +01:00
tamasmeszaros
c448b31204 wip 2022-11-29 11:10:52 +01:00
tamasmeszaros
2144f81bf1 Useful backend improvements from sla volumes branch 2022-11-29 11:10:52 +01:00
Vojtech Bubnik
9a682a10cb Merge remote-tracking branch 'remotes/origin/fs_emboss' 2022-11-28 17:46:12 +01:00
Pavel Mikuš
3fa1615518
Refactoring FDM support spots generator to use Z-Graph (#11)
* import updates from curling avoidance branch

* fix compilation issues

* Refactoring FDM support spots generator to use the new Z-graph built during slicing

* fix local issues bugs

* fix bugs, add new filter for too short extrusions

* fix bugs with nonexistent weakest area

* Use links of Z graph after fix, format the code

* remove unnecesary includes
2022-11-28 10:47:04 +01:00
Vojtech Bubnik
25da414f5c Merge remote-tracking branch 'remotes/origin/master' into vb_treesupports 2022-11-28 10:07:39 +01:00
Vojtech Bubnik
e6d10fc747 Fixed crash on reslicing after infill invalidation.
The crash was introduced with sorting the extrusions into islands.
2022-11-28 10:07:22 +01:00
Lukas Matena
1357914301 Measurement: prevent ending up in an infinite loop with broken models 2022-11-25 13:45:23 +01:00
Filip Sykala - NTB T15p
e28f9daf1e Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Point.hpp
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Selection.cpp
2022-11-25 11:03:50 +01:00
Lukas Matena
9952003f61 Measurement: Fixed and refactored circle detection:
- first/last segment of a circular segment was sometimes separated
- circles were sometimes shown where they shouldn't be
2022-11-25 10:57:18 +01:00
Filip Sykala - NTB T15p
9e19d9ca06 Create text by menu in right panel
Issue 54 (right panel -Sidebar)
Fix creating text volume inside deleted object.
2022-11-24 20:51:58 +01:00
enricoturri1966
569db9689f Removal of calls to Geometry::assemble_transform() 2022-11-24 14:58:20 +01:00
Filip Sykala - NTB T15p
fc886e3f8d Fix for adding object with ortho camera 2022-11-24 11:40:38 +01:00
enricoturri1966
af509a7f74 Fixed build when tech ENABLE_WORLD_COORDINATE is disabled 2022-11-24 09:38:51 +01:00
Filip Sykala - NTB T15p
c25ef9d3ad Fix ortho camera position for create object on bed 2022-11-23 16:41:45 +01:00
Filip Sykala - NTB T15p
22a17e92e7 weird crash on mac due to pop style 2022-11-23 15:24:51 +01:00
Filip Sykala - NTB T15p
52460f0c89 Fix truncation text by imgui width 2022-11-23 13:35:59 +01:00
Filip Sykala - NTB T15p
f3724c8dac Truncate font name on demand 2022-11-23 13:01:11 +01:00
Filip Sykala - NTB T15p
48d4da5872 Merge branch 'master' into fs_emboss
# Conflicts:
#	src/slic3r/GUI/GLCanvas3D.cpp
2022-11-23 12:58:45 +01:00
enricoturri1966
3c1ec473a7 Gizmo measure - Undo/Redo related fix 2022-11-23 12:37:54 +01:00
YuSanka
d20131de49 PreferencesDialog: Fix for rescale.
+ Fixed CheckBox::msw_rescale
2022-11-23 12:20:04 +01:00
enricoturri1966
cc13e8a44f Gizmo measure - Hide SLA supports and pad when opening the gizmo 2022-11-23 12:03:36 +01:00
Filip Sykala - NTB T15p
4b23cbaffd Comment can load process - try for MAC 2022-11-23 10:22:11 +01:00
enricoturri1966
2a944d4cde Fixed warnings 2022-11-23 09:10:56 +01:00
enricoturri1966
d437d1bebf Gizmo measure - Fixed color of hovered features when part of the object is outside the printbed 2022-11-23 08:24:08 +01:00
Filip Sykala - NTB T15p
f662000414 Fix for issue #77 2022-11-22 19:24:35 +01:00
Filip Sykala - NTB T15p
9b7e6db906 Fix:
../src/slic3r/Utils/WxFontUtils.cpp💯27: error: 'error' was not declared in this scope; did you mean 'perror'?
../src/slic3r/Utils/WxFontUtils.cpp💯9: error: 'BOOST_LOG_TRIVIAL' was not declared in this scope
../src/slic3r/Utils/WxFontUtils.cpp:146:5: error: 'wxSystemFont' was not declared in this scope; did you mean 'wxSystem'?
../src/slic3r/Utils/WxFontUtils.cpp:147:32: error: 'wxSystemSettings' has not been declared
../src/slic3r/Utils/WxFontUtils.cpp:147:58: error: 'system_font' was not declared in this scope
2022-11-22 15:56:17 +01:00
enricoturri1966
456837d541 Follow-up of fdc9c73340 - Alternate implementation of 'When panning/rotating the scene, do not select the hovered feature, if any' 2022-11-22 14:40:35 +01:00
enricoturri1966
dbd5e4d999 Fixed rectangle selection while using orthographic camera 2022-11-22 13:59:53 +01:00
Filip Sykala - NTB T15p
ed4c68dfb2 fix:
../src/slic3r/Utils/EmbossStyleManager.hpp:164:21: error: field 'bounding_box' has incomplete type 'Slic3r::BoundingBox'
2022-11-22 13:27:39 +01:00
enricoturri1966
d1146ae67a Gizmo measure - Fixed calculation of angle edge-plane 2022-11-22 13:13:25 +01:00
enricoturri1966
9bdaf0bae2 Gizmo measure - Fixed incorrect point on feature detection 2022-11-22 12:36:51 +01:00
Filip Sykala - NTB T15p
f4d0e3d940 fix:
../src/slic3r/GUI/Jobs/CreateFontNameImageJob.hpp:30:5: error: 'Vec2i' does not name a type
../src/slic3r/GUI/Jobs/CreateFontNameImageJob.hpp:55:5: error: 'Point' does not name a type
2022-11-22 12:22:03 +01:00
Filip Sykala - NTB T15p
dee9f9b731 Add definition of wxFont to header.
Fix:
../src/slic3r/Utils/EmbossStyleManager.hpp:219:42:   required from here
/opt/rh/devtoolset-10/root/usr/include/c++/10/type_traits:1239:4: error: invalid use of incomplete type 'class wxFont'
2022-11-22 11:32:20 +01:00
Vojtech Bubnik
af6b022878 Optimization of Cooling buffer by replacing atof() and atoi()
with std::from_chars() and fast_float::from_chars()
2022-11-22 09:28:08 +01:00
Vojtech Bubnik
423503a6c5 Follow-up to 3713f09a8e
30fbdd1235
Fixed duplication of infills.
2022-11-22 09:27:11 +01:00
enricoturri1966
b75e403d14 Gizmo measure - Fixed dimensioning after scaling a part of a multipart object 2022-11-22 08:34:12 +01:00