Commit Graph

21017 Commits

Author SHA1 Message Date
Vojtech Bubnik
f57744ad12 Follow-up to 2ced762948
Integrating a C++20 like span library
    https://github.com/tcbrindle/span
2022-10-19 16:40:41 +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
enricoturri1966
83db044f04 Measuring - Gizmo measure - Definition and rendering of circle features in world coordinates 2022-10-19 08:17:53 +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
Filip Sykala - NTB T15p
f75777a948 shows rendered texture of style 2022-10-18 08:49:02 +02:00
YuSanka
5922bf2910 Cut small improvements:
* Disable revert icon if cut_plane position wasn't changed
* Hide CutGizmo for Simple mode.
* Fixed update of bounding box after changing scale during Z axis
2022-10-17 16:59:40 +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
Filip Sykala - NTB T15p
bd6a3bc8a2 Merge branch 'master' into fs_emboss 2022-10-14 19:08:23 +02:00
Filip Sykala - NTB T15p
426fdfb27a Cache only last 32 font preview.
Prevent creation of huge texture for font previews
Add reservation of space for no texture(prevent change of comgo box width)
2022-10-14 19:08:18 +02:00
rtyr
53e9a8f687
Removed BETA label. 2022-10-14 13:01:34 +02:00
enricoturri1966
844d30f64e Measuring - Gizmo measure - Definition and rendering of point and edge features in world coordinates 2022-10-14 09:13:40 +02:00
enricoturri1966
a62a167c1d Measuring - Fixed crash when clicking on Delete All command while the Gizmo measure is active 2022-10-14 09:05:36 +02:00
Filip Sykala - NTB T15p
436384cf65 Fix:
\src\libslic3r\Emboss.cpp(484): warning C4305: '=': truncation from 'double' to 'float'
2022-10-14 07:51:16 +02:00
Filip Sykala - NTB T15p
b7b472f467 Merge branch 'master' into fs_emboss 2022-10-13 17:25:23 +02:00
Filip Sykala - NTB T15p
484bd9cacf Show rendered texture 2022-10-13 17:25:07 +02:00
David Kocik
a77d0dce61 Merge branch 'dk_usb' 2022-10-13 15:26:37 +02:00
David Kocik
bfc1b3be82 Eject removable media with CM_Request_Device_EjectW
SPE-1328
2022-10-13 15:25:59 +02:00
Filip Sykala - NTB T15p
fe90a88b4d Log time for loading fonts 2022-10-13 15:05:28 +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
Filip Sykala - NTB T15p
ce71144c7c Add minimal value for glyph flatness to not create huge amount of points on curve
Fix for font: TREFOIL.TTF issue 74
2022-10-13 13:33:24 +02:00
Filip Sykala - NTB T15p
c60e626cbf Fix for type Scalar 2022-10-12 22:24:32 +02:00
Filip Sykala - NTB T15p
8343e81053 Fix test
+ Comment debug output
+ Add was_canceled in cut surface
2022-10-12 19:26:45 +02:00
Filip Sykala - NTB T15p
6d4830823e Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Point.hpp
2022-10-12 16:21:37 +02:00
Filip Sykala - NTB T15p
3fa3ea0bb4 Projection text for cut surface is made with double preccission 2022-10-12 16:17:38 +02:00
Vojtech Bubnik
0e69572729 Merge branch 'vb_treesupports' 2022-10-12 14:34:04 +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
1c2c012006 Measuring - Gizmo measure - Fixed update of volume matrix 2022-10-12 12:27:04 +02:00
enricoturri1966
22e85d9896 Fixed conflicts after pull from et_surface 2022-10-12 10:19:19 +02:00
enricoturri1966
e3db1879b1 Fixed differences after rebase to master 2022-10-12 10:05:45 +02:00
enricoturri1966
dc27dbb6ff Measuring: Gizmo measure - Fixed rendering of selected circle features 2022-10-12 09:46:12 +02:00
enricoturri1966
1a67da32f2 Fixed warning 2022-10-12 09:46:12 +02:00
enricoturri1966
ada7618ddb Measuring: Gizmo measure shows dimensioning for distance circle-circle 2022-10-12 09:46:11 +02:00
enricoturri1966
bc1e5a0272 Follow-up of 8312dc2454 - Fixed rendering of point on locked features when the object is scaled 2022-10-12 09:46:11 +02:00
enricoturri1966
6971b72766 Measuring - Gizmo measure - Auto-select text when opening imgui modal dialog to edit distance 2022-10-12 09:46:11 +02:00
enricoturri1966
0b85569c3d Follow-up of 2fb59e66c2 - Removed obsolete assert 2022-10-12 09:46:11 +02:00
enricoturri1966
594e91e86a easuring - Gizmo measure - Reworked imgui dialog layout to avoid change in size in dependence of hovered or selected features 2022-10-12 09:46:11 +02:00
enricoturri1966
4b2cc2167d Measuring - Gizmo measure - Handle [Enter] and [Esc] keys input events in imgui modal dialog to edit distance 2022-10-12 09:46:11 +02:00
enricoturri1966
908634d5b7 Measuring - Gizmo measure - Disable background fadeout animation when showing imgui modal dialog to edit distance 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
75baf95d71 Measuring: Fixed rendering of point features when the object is scaled 2022-10-12 09:46:11 +02:00
enricoturri1966
395cab88ba Measuring: prototype for uniformly scale a volume by editing the value of the shown distance
Fixed conflicts while rebasing to master
2022-10-12 09:45:53 +02:00
enricoturri1966
d561fb97c7 Measuring - Gizmo measure shows dimensioning for distance edge-plane 2022-10-12 09:43:19 +02:00