21184 Commits

Author SHA1 Message Date
tamasmeszaros
3f32bb1a52 Update to GLEW 2.2 to prevent initialization crash with wx >= 3.1.6
Revert "Revert to GLEW 2.1 as most Linux distros as using that"

This reverts commit 46c8f82f24127dc992e904b9b3f1c75a719f0491.
2022-07-29 11:21:54 +02:00
YuSanka
f8477d1be6 Using of wxWidgets 3.1.6 WIP: Linux/OSX specific fixes
OSX specific: Fixed get_mouse_position_in_control().
+ Use GetItemRect() to calculation of the position and size for Extruder selector

Linux specific:
* Use just 1.0 scale for wxBitmapComboboxes under GTK3 and gtk3
* GTK2 specific: use GTK2 doesn't suppost get_scale, so scale bitmap size form em_unit()
2022-07-29 11:21:54 +02:00
YuSanka
066b567714 Using of wxWidgets 3.1.6 WIP:
* Create Cache of wxBitmapBundles instead of wxBitmaps
* Use wxBitmapBundles instead of wxBitmap for most of Widgets
* Use empty bitmabundles instead of wxNullBitmap for wxBitmapComboBoxes.
* Updated wxWidgets.cmake
* OSX specific: Discard BitmapComboBox overrides
+ some code cleaning
2022-07-29 11:21:54 +02:00
YuSanka
e21921f2eb Fixes to support wxWidgets 3.1.6(7), 3.2.0
+Updated URL and URL HASH for wxWidgets v3.2.0-patched
2022-07-29 11:21:54 +02:00
tamasmeszaros
9a7e024f78 Update wxWidgets to 3.1.7
added handling for nanosvg with cmake
2022-07-29 11:21:54 +02:00
tamasmeszaros
a8b10525e4 libnest2d: remove unused code and fix some warnings 2022-07-29 11:17:25 +02:00
Filip Sykala - NTB T15p
f7eef00abb Separate actual style from styles
(save button will save only actual style no others)
2022-07-29 09:06:20 +02:00
YuSanka
a7930cdedd Cut WIP: Cut by line: Some rework for its behavior.
Line can be drawn by :
Shift +
1. LeftDown, Dragging, LeftUp
2. LeftDown, LeftUp, Move, LeftDown
2022-07-28 17:01:05 +02:00
YuSanka
31800bb85d GizmoScale: Suppress ununiversal scale for cut objects
+ Gizmos/GLGizmoRotate: Deleted changes which was made for GizmoCut, but aren't used any more
2022-07-28 14:23:51 +02:00
Lukáš Hejl
394494b3ac Fix of #8530: Pressure equalizer unintentionally decelerates before ironing.
This is the follow-up to: 39404be75a723bde17add6acab7beba237821ebc
2022-07-28 11:42:57 +02:00
Lukáš Hejl
9168b60463 Prevented the pressure equalizer from emitting G-code settings feed rate when there are no G-code lines that will be affected (empty block of G-code lines with set feed rate). 2022-07-28 11:42:53 +02:00
enricoturri1966
0388132acd Tech ENABLE_SHOW_NON_MANIFOLD_EDGES set as default 2022-07-28 08:55:53 +02:00
enricoturri1966
0063734e78 Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE set as default 2022-07-28 08:33:46 +02:00
Merill
72aba9a5be
Little fix: back() isn't front() 2022-07-28 03:02:29 +02:00
enricoturri1966
5cf71bb094 Tech ENABLE_SHOW_TOOLPATHS_COG set as default 2022-07-27 15:52:40 +02:00
Lukas Matena
31baf5859b Measuring: Add detection of polygons and their centers 2022-07-27 15:37:51 +02:00
enricoturri1966
253b24e298 When pressing ESC key to clear the current selection do not repeatedly update the view if the user keeps the key pressed. 2022-07-27 15:35:35 +02:00
YuSanka
05c22604fb Cut WIP: Suppress use connectors for SLA mode 2022-07-27 15:21:37 +02:00
enricoturri1966
828dd5ddf8 Fixed toolpaths generation for gcode line G2 and G3 2022-07-27 15:16:20 +02:00
YuSanka
27f7a8da0f Cut WIP: Added shortcuts for "Edit connectors" ImGuiDialog
+ Added processing for the Ctrl+A ("Select All connectors")
2022-07-27 13:53:54 +02:00
enricoturri1966
7fbaa3e8fd GCodeViewer - Added processing of gcode files produced by BambuStudio 2022-07-27 13:10:45 +02:00
Lukas Matena
f68e7526b2 Measuring: added getters for circle visualization 2022-07-27 11:45:42 +02:00
YuSanka
e990254d52 Cut WIP: set attributes for each connector separately.
+ Allow select/deselect several connectors and apply size/depth for selected group of connectors
2022-07-27 11:32:38 +02:00
enricoturri1966
b8a1ead9f3 Fix incorrect clamping of bounding box in GLCanvas3D::_max_bounding_box() 2022-07-27 10:57:52 +02:00
Vojtech Bubnik
9e6871e5b8 WIP Tree supports: It compiles, but unfinished, missing pieces. 2022-07-27 10:41:11 +02:00
Filip Sykala - NTB T15p
e9d65da046 Add stylename into 3mf 2022-07-27 10:08:03 +02:00
Lukas Matena
c8e9622ab2 Measuring: further separating frontend and backend 2022-07-27 09:58:21 +02:00
Vojtech Bubnik
665d1a94b4 WIP Tree Supports: Major changes, it does not compile yet. 2022-07-27 08:54:26 +02:00
Vojtech Bubnik
8a1e8f97a9 Minor refactoring of BoundingBox: change Eigen point accessor from
indices to .x(), .y(), .z()
Added Polyline vector accessors.
Polished Point hash code.
2022-07-27 08:53:48 +02:00
Vojtech Bubnik
075bf675fa WIP Tree Supports: Refactored the classic FDM support generator
for modularity, so that the rasterization of support layers
is accessible from tree supports.
2022-07-27 08:50:59 +02:00
Lukas Matena
fe9540130a Measuring: Separating frontend and backend 2022-07-26 17:54:51 +02:00
Lukas Matena
00eb8661c0 Measuring: Improved feature detection, added circle center calculation 2022-07-26 16:37:51 +02:00
Lukas Matena
9644fd4c59 Measuring: Improved visualization 2022-07-26 16:37:51 +02:00
Lukas Matena
9aa706c0a7 Measuring: First steps on extracting features 2022-07-26 16:37:51 +02:00
Lukas Matena
985b16e858 Measuring: Simple visualization 2022-07-26 16:37:51 +02:00
Lukas Matena
5d8aaed18f Measuring: Initial plane detection 2022-07-26 16:37:51 +02:00
Lukas Matena
f0cf420a84 Measuring: separated another gizmo 2022-07-26 16:37:51 +02:00
David Kocik
7831b4bd07 Notifications: hovering eject button will show tooltip even with idle mouse 2022-07-26 14:28:56 +02:00
Lukáš Hejl
77f5973c25 Fix of #8446: Non-planar Voronoi diagram.
This is the follow-up to 63c66f4f189b6f3d3a3b95ddd158c66ee5166420. Detection of non-planar (degenerated) Voronoi diagrams was rewritten to check if all neighboring edges of the Voronoi vertex are CCW ordered.
2022-07-26 13:47:40 +02:00
enricoturri1966
4865ca65e8 Fixes in tech ENABLE_SMOOTH_NORMALS 2022-07-26 11:19:50 +02:00
Filip Sykala - NTB T15p
e86477f20a Fix blinking when undo change 2022-07-26 11:00:38 +02:00
Filip Sykala - NTB T15p
1bdc291dba When create new text object discard style changes
Fix style issue 15
2022-07-26 10:24:04 +02:00
Filip Sykala - NTB T15p
5558523b19 Fix for emboss from exactly -Z direction 2022-07-26 09:15:10 +02:00
Filip Sykala - NTB T15p
8396b13902 Fix for issue 44 2022-07-25 14:39:39 +02:00
Filip Sykala - NTB T15p
8e1c08dac3 Fix for Issue number 53
https://cfl.prusa3d.com/display/SPE/Emboss+-+Test
2022-07-25 14:38:39 +02:00
tamasmeszaros
0681f92130 Fix segfault caused by unchecked mesh precondition
CGALProc::does_bound_a_volume(mesh) can throw if CGAL::is_closed(mesh) is not met

affects #8521
2022-07-25 14:07:01 +02:00
Filip Sykala - NTB T15p
20a94c015c fix warn:
../src/libslic3r/CutSurface.cpp:1798:12: warning: variable 'is_same' set but not used [-Wunused-but-set-variable]
../src/libslic3r/CutSurface.cpp:1837:12: warning: unused variable 'distance_sq' [-Wunused-variable]
../src/libslic3r/CutSurface.cpp:2795:22: warning: unused variable 'def_value' [-Wunused-variable]
../tests/libslic3r/test_aabbindirect.cpp:122:12: warning: variable 'distance_sq' set but not used [-Wunused-but-set-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1336:17: warning: unused variable 'was_opened' [-Wunused-variable]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1336:17: warning: 'was_opened' defined but not used [-Wunused-variable]
../src/slic3r/GUI/Jobs/EmbossJob.cpp:398:12: warning: unused variable 'biggest_index' [-Wunused-variable]
../src/slic3r/GUI/Jobs/EmbossJob.cpp:352:43: warning: 'const Slic3r::GUI::UseSurfaceData::ModelSource* get_biggest(const ModelSources&)' defined but not used [-Wunused-function]
2022-07-25 10:31:29 +02:00
enricoturri1966
f0c1f9ebbd Follow-up of 6664ba3b80d2723f89a244096c8575c05477db3b - Fixed part positions after reload from disk called after loading multipart 3mf project 2022-07-25 08:54:24 +02:00
Michael Kirsch
6664ba3b80 fix reload loosing positioning information 2022-07-25 08:21:50 +02:00
Michael Kirsch
a1e37803f7 fix frustum for off-bed origins 2022-07-25 08:21:22 +02:00