Commit graph

4878 commits

Author SHA1 Message Date
Lukas Matena
a09c269584 Measurement: make the edge endpoint detection threshold smaller for short edges 2022-11-08 12:31:26 +01:00
enricoturri1966
8681770eaa Tech ENABLE_NEW_CAMERA_MOVEMENTS set as default 2022-11-08 09:05:57 +01:00
enricoturri1966
5df2713010 Measuring - Fixed transformation of distance_xyz 2022-11-07 14:46:21 +01:00
Lukáš Hejl
411535ecdf Fixed undefined behavior (dereferencing std::unique_ptr pointing to nullptr) in the G-Code processing pipeline. 2022-11-07 10:09:49 +01:00
enricoturri1966
a0a0b0d253 Measuring - Keep showing dimensioning after scaling 2022-11-07 09:58:25 +01:00
Lukas Matena
0c88b5712a Measurement: Circles filtering (part 2) 2022-11-04 11:52:44 +01:00
Lukas Matena
d07537c1f0 Measurement: Merge adjacent edges 2022-11-04 11:52:44 +01:00
Lukas Matena
4b9630c23b Measurement: Circles filtering (part 1) 2022-11-04 11:52:44 +01:00
enricoturri1966
7650be770c Measuring: tweak to calculation of edge-edge distance 2022-11-03 14:24:28 +01:00
enricoturri1966
05e82b1fc5 Measuring: validation for zero distance moved from backend to frontend 2022-11-03 13:20:35 +01:00
Lukas Matena
dda0b50b5c Fixed a crash in measuring backend when handling broken models 2022-11-03 12:14:27 +01:00
enricoturri1966
48e90be2bc Fixed conflicts after merge with master 2022-11-02 09:08:35 +01:00
enricoturri1966
da5a9277fa Tech ENABLE_MEASURE_GIZMO set as default 2022-11-02 08:50:12 +01:00
YuSanka
8914dfa1f6 Next fix, related to #8800
* PrintApply: Suppress to apply print when just a physical printer was changed, but printer preset stays the same
* Tab: Layout the buttons bar when switch from the physical printer to printer preset and vice versa
2022-11-01 14:57:19 +01:00
enricoturri1966
2c9d047520 Fixed conflicts after merge with master 2022-10-31 14:59:41 +01:00
YuSanka
e32d03318d Fix for #9104 - MMU can't change extruder when Split to Objects is used in PS2.5. 2022-10-31 10:42:54 +01:00
YuSanka
cf0f257d05 Merge remote-tracking branch 'PRIVATE/ys_cut' into master 2022-10-27 10:21:23 +02:00
tamasmeszaros
9da14ba321 Remove redundant header from Astar 2022-10-26 16:28:40 +02:00
YuSanka
bba6d8b94d Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-10-25 16:16:36 +02:00
YuSanka
ae21667786 Cut WIP: First implementation for detection of the invalid connectors position
Implemented cases:
* overlap of some connectors
* check if some connector position is outside of clipper
2022-10-24 16:57:02 +02:00
enricoturri1966
ca923c084f Measuring - Gizmo measure - Fixed measure of distance point-circle when the point is the circle's center 2022-10-24 15:13:56 +02:00
enricoturri1966
7ae4472827 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_surface 2022-10-24 12:57:39 +02:00
enricoturri1966
a331c9d018 Measuring - Gizmo measure - Fixed measurements for circles for scaled volumes 2022-10-24 12:57:29 +02:00
YuSanka
7bb0b7eefc Cut bug fixing: Fixed a place of connectors after several cutting
+ Added info about camera direction to a DEBUG window
+ Code factoring (deleted unused code)
+ Fixed build warnings
2022-10-20 16:34:21 +02:00
YuSanka
2880704de9 Cut improvements/ bug fixing:
* Wrong position of grabber is fixed
* OSX specific: ObjectList: Fixed update of the info items after cut
* Show info line, when Cut plane is invisible

+ Fixed non-Win build: added missed include
2022-10-19 17:38:04 +02:00
Vojtech Bubnik
2ced762948 Integrating a C++20 like span library
https://github.com/tcbrindle/span

Replacing a homebrew const pointer wrapper const correctness helper
with the C++20 like span library.

One day when we switch to C++20 we will just use the C++20 spans instead.
2022-10-19 16:27:15 +02:00
Vojtech Bubnik
acbc60f3e3 Better const correctness 2022-10-19 16:27:15 +02:00
Vojtech Bubnik
24f671e924 Little clean-up of ConstVectorOfPtrsAdaptor to be more vector like. 2022-10-19 16:27:15 +02:00
enricoturri1966
71660a281b Tech ENABLE_WIPETOWER_OBJECTID_1000_REMOVAL set as default 2022-10-19 08:52:35 +02:00
enricoturri1966
03f2f1478a Removed tech DISABLE_MEASURE_GIZMO_FOR_SCALED_VOLUMES 2022-10-19 08:38:50 +02:00
YuSanka
3a21f156c0 Cut Improvements/Bug Fixing
* Context menu: Suppress "Simplify model" for cut object
* CutGizmo:
  * Disable gizmo for dowel object
  * Invalidate cut plane position after update of Bounding box
  * Suppress Frustum style for connectors with Dowel type
  * Rectangle selection: Fixed processing on LeftUp
* Selection on Canvas: Suppress to move NEGATIVE_VOLUME if it's a connector
* Model:cut: Fixed a bug in add_cut_volume(). Cut info wasn't copied to the new volume
2022-10-18 14:13:50 +02:00
YuSanka
13e4e85e3d Cut bug fixing:
Model: fixed looks_like_imperial_units(). This function respects to cut status now.
To be detected as looks_like_imperial_units, all parts of cat object have to be looks_like_imperial_units().

ObjectList: Fixed update after adding/deleting of the modifiers for cut object

GUI_Factories: Fixed a place of the "Invalidate cut info" item in object menu
2022-10-17 15:49:43 +02:00
YuSanka
64c57faf8f Cut Improvements: Fixed Undo/Redo for cut performance
+ ObjectList: Fixed items update after Invalidate cut information
+ CutGizmo: Fixed wrong mode selection after delete object and that add new
2022-10-17 12:15:10 +02:00
Vojtech Bubnik
b6e1a7ed52 WIP TreeSupports highly experimental: Add 2nd perimeter
to thick tree supports for stability.
2022-10-13 14:43:03 +02:00
Vojtech Bubnik
842283cd3b WIP TreeSupports - organic supports: Partial fix for bottoms
of supports over object locked against laplacian smoothing
2022-10-13 14:42:25 +02:00
Vojtech Bubnik
2365b3a8dd WIP TreeSupports: Now it is possible to switch between the normal
and the "organic" supports.
2022-10-12 14:33:36 +02:00
Vojtech Bubnik
009fe1cab4 New method ConfigOptionDef::set_enum_values() to initialize enum
names / values for UI combo boxes using an initializer list of pairs
of values.
2022-10-12 14:12:07 +02:00
enricoturri1966
cf11101d16 Measuring - Gizmo measure - Measuring data converted to world coordinates 2022-10-12 13:38:53 +02:00
enricoturri1966
ada7618ddb Measuring: Gizmo measure shows dimensioning for distance circle-circle 2022-10-12 09:46:11 +02:00
enricoturri1966
7002b94419 Measuring - Gizmo measure disabled for scaled volumes 2022-10-12 09:46:11 +02:00
enricoturri1966
d561fb97c7 Measuring - Gizmo measure shows dimensioning for distance edge-plane 2022-10-12 09:43:19 +02:00
enricoturri1966
e37187a546 Measuring - Gizmo measure shows dimensioning for distance plane-circle 2022-10-12 09:43:19 +02:00
enricoturri1966
29d6127774 Measuring - Fixes in plane-plane measurement - Measurements validation - Fixes in dimensioning rendering 2022-10-12 09:43:19 +02:00
enricoturri1966
afa003f3cb Fixed warnings 2022-10-12 09:43:19 +02:00
enricoturri1966
ab3eb723c9 Measuring - Gizmo measure shows value of distance dimensioning in 3D scene 2022-10-12 09:43:18 +02:00
enricoturri1966
00fb180c70 Measuring - Gizmo measure shows dimensioning for angle plane-plane 2022-10-12 09:43:18 +02:00
enricoturri1966
3f8820bf20 Measuring - Calculation of angle between edge and plane moved to backend 2022-10-12 09:43:18 +02:00
enricoturri1966
0a8f500819 Measuring - struct AngleAndPoints reworked as struct AngleAndEdges 2022-10-12 09:43:18 +02:00
enricoturri1966
1c084c4f62 Measuring - Some refactoring 2022-10-12 09:43:18 +02:00
enricoturri1966
f051847ac6 Measuring - Added a bunch of utility functions in Measure.hpp 2022-10-12 09:43:18 +02:00