Commit Graph

12029 Commits

Author SHA1 Message Date
YuSanka
a59f8aea6e Follow-up ba22eb600e - Fix for string formatting
(by @bubnikv)
2022-11-02 16:27:49 +01:00
YuSanka
0468250298 ObjectDataViewModel: Fixed a check of m_bitmap_cache existence.
There was a crash after app's recreation, when we try to get some bitmap from m_bitmap_cache, but it is null for this moment
2022-11-02 16:26:09 +01:00
YuSanka
69d1ad2cad CutGizmo: Bug Fixing :
* Crash - when click to Whipe-tower
* Crash - when the bed is empty and the top bar is pressed +. Note: There was a bug in detection if we can increase/recrease instances
* After cutting the object in SLA does not work clipping of view
 Improvements :
* Connectors mode of CutGizmo : Add "Cancel" button to Discard all conectors and switch to the CutPlane mode
2022-11-02 13:35:05 +01:00
Vojtech Bubnik
409fae6183 WIP Refactoring of Layers: LayerIslands filled in with perimeter
extrusions, gap fill extrusions and fill regions.
2022-11-02 12:59:31 +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
f5e782233e Tech ENABLE_RAYCAST_PICKING - Fixed update of raycaster active state in GLCanvas3D::reload_scene() 2022-11-01 09:15:38 +01:00
enricoturri1966
2c9d047520 Fixed conflicts after merge with master 2022-10-31 14:59:41 +01:00
YuSanka
7742ebb813 ObjectList: Fixed position of the added sub-object, when it is Slab 2022-10-31 12:55:43 +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
Vojtech Bubnik
d041fa6c0c Refactored PerimeterGenerator to output out_fill_surfaces as ExPolygons,
not SurfaceCollection.

Reworked combineinfill.t, 07_extrusionpath.t, 08_extrusionloop.t to c++.
Removed Layer / ExtrusionPath / ExtrusionLoop / ExtrusionEntityCollection
from Perl bindings.
2022-10-27 19:08:43 +02:00
YuSanka
ece63f5d81 Follow up previous cdf07c3cce - code improvements 2022-10-27 17:16:44 +02:00
YuSanka
cdf07c3cce Fix for #8800 - Switching to a physical printer based on same printer preset requires reslicing 2022-10-27 15:34:23 +02:00
YuSanka
1c061dc7a1 After merge fixes 2022-10-27 14:23:50 +02:00
YuSanka
fbcdd4191b Merge remote-tracking branch 'PRIVATE/master' into ys_emboss_with_master 2022-10-27 13:09:55 +02:00
Vojtech Bubnik
237e56c7ce Follow-up to ee626eb65a
Refactored PerimeterGenerator for functional style, better constness
with the goal of calling PerimeterGenerator::process_xxx()
for each surface at once to collect its fill expolygons.
2022-10-27 13:04:52 +02:00
YuSanka
cf0f257d05 Merge remote-tracking branch 'PRIVATE/ys_cut' into master 2022-10-27 10:21:23 +02:00
YuSanka
dd8234512b Changes in wxWidgets.cmake to support of the updated wxWidgets v3.2.0-patched
+ ObjectList: Deleted code, which is no needed after update of wxWidgets
2022-10-27 09:11:06 +02:00
Vojtech Bubnik
f8c67e07a4 Follow-up to ee626eb65a 2022-10-26 19:05:50 +02:00
Vojtech Bubnik
9e9792756b Merge remote-tracking branch 'remotes/origin/master' into vb_treesupports 2022-10-26 18:43:03 +02:00
Vojtech Bubnik
ee626eb65a WIP: Layers split into islands, islands overlapping in Z interconnected
into a graph with links to the layer above / below.

In addition:
Members of LayerRegion were made private, public interface const only.
this->m_xxx replaced with just m_xxx
SurfacesPtr was made a vector of const pointers.
2022-10-26 18:41:39 +02:00
tamasmeszaros
9da14ba321 Remove redundant header from Astar 2022-10-26 16:28:40 +02:00
YuSanka
9b0a69e50e CutGizmo: Fixed grabbers hovering after merge with master
+ Added possibility to use circle cut plane
+ Deleted unused code
2022-10-26 15:26:35 +02:00
Filip Sykala - NTB T15p
59fc9328f4 Cache Font config configuration into static variable 2022-10-26 10:12:23 +02:00
Filip Sykala - NTB T15p
1a285dd5f1 Revert "Temporary test for performance on Ubuntu"
This reverts commit b88d2655fb.
2022-10-26 09:47:26 +02:00
Filip Sykala - NTB T15p
b88d2655fb Temporary test for performance on Ubuntu 2022-10-26 09:08:21 +02:00
YuSanka
bba6d8b94d Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-10-25 16:16:36 +02:00
YuSanka
18edc71254 Cut WIP: Code refactoring for ae21667786
+ ObjectList: Fixed list of the types for "Change type" dialog, when object is cut.
+ CutGizmo:
  * Warning line is extended for information about invalid connectors
  * Fixed a crash on undo/Redo, when cutGizmo is active
2022-10-25 15:54:52 +02:00
enricoturri1966
377ff4a519 Measuring - Gizmo measure - Commented out hovered feature section from imgui dialog 2022-10-25 14:50:54 +02:00
enricoturri1966
a0c1648f36 Measuring - Gizmo measure - Allow to unselect the first feature by clicking on it (also reworked the imgui dialog to show the action taken by left click in dependence of mouse position) 2022-10-25 14:09:27 +02:00
Filip Sykala - NTB T15p
3eb09a9842 Prevent double instances of embossed text on canvas.
Fix issue 73 (use surface)
2022-10-25 13:55:09 +02:00
enricoturri1966
2f130ca6e1 Measuring - Gizmo measure - Do not close the gizmo when the user clicks outside of any volume 2022-10-25 12:12:33 +02:00
enricoturri1966
402fe908c1 Measuring - Gizmo measure - Fixed crash when selecting two parallel planes 2022-10-25 10:03:35 +02:00
enricoturri1966
5561e22ba7 Measuring - Gizmo measure - Render dimensioning auxiliary lines in light gray color 2022-10-25 09:25:05 +02:00
enricoturri1966
59f1c349fc Measuring - Gizmo measure - Show dimensioning while the user pans/rotates the 3D view 2022-10-25 08:25:31 +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
YuSanka
98d7fe335b Cut WIP: experiments with detection of the position for CutPlaneLine
Note: It still doesn't work properly

+ CurGizmo: Fixed a check of new center position in function set_center_pos().
2022-10-24 16:32:10 +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
121b0f9a60 Measuring - Gizmo measure - Fixed crash when creating a new project using CTRL+N while the gizmo is active 2022-10-24 14:07: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
Filip Sykala - NTB T15p
f7f4b28f73 Change wxString to string 2022-10-21 17:26:25 +02:00
Filip Sykala - NTB T15p
47952e0c08 Add timer for measure time consumption 2022-10-21 09:53:16 +02:00
Filip Sykala - NTB T15p
e85e7a743b Merge branch 'master' into fs_emboss
# Conflicts:
#	src/slic3r/GUI/GLCanvas3D.cpp
2022-10-21 09:52:36 +02:00
Lukas Matena
d7db5bde1a Fixed z-fighting between cut contours and cut plane 2022-10-21 09:06:00 +02:00
enricoturri1966
03a256180a Tech ENABLE_RAYCAST_PICKING - Fixed active/inactive state of scene raycasters when opening/closing a gizmo which hides non selected volumes 2022-10-20 16:35:05 +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
enricoturri1966
43cc8f8cbf Fixed crash in MeshClipper::recalculate_triangles() 2022-10-20 15:46:07 +02:00
Filip Sykala - NTB T15p
ee6e947312 Clean after 9fef0cd091 2022-10-20 10:15:08 +02:00
Filip Sykala - NTB T15p
a752ccb420 Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Technologies.hpp
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/Selection.cpp
2022-10-19 19:35:31 +02:00
Filip Sykala - NTB T15p
9fef0cd091 Fix for whistle model. Issue 51.3
Sort patches by distance to expolygon projection depth center and add patches until expolygon is filled
2022-10-19 19:15:59 +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
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
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
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
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
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
enricoturri1966
e37187a546 Measuring - Gizmo measure shows dimensioning for distance plane-circle 2022-10-12 09:43:19 +02:00
enricoturri1966
3ef040cba8 Measuring - Refactoring in GLGizmoMeasure imgui dialog related to units 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
f4304b15c7 Follow-up of a5a4fc4dcf - Fixed arrows orientations 2022-10-12 09:43:19 +02:00
enricoturri1966
14fc691b36 Measuring - Gizmo measure shows arrows at endpoints of angle dimensioning 2022-10-12 09:43:19 +02:00
enricoturri1966
5127d47fe0 Measuring - Gizmo measure shows value of angle dimensioning in 3D scene 2022-10-12 09:43:18 +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
cbd228731a Measuring - Refactoring and bug fixing in GLGizmoMeasure::render_dimensioning() 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
enricoturri1966
bca8597712 Follow-up of 9b915bdd09 - Fixed crash 2022-10-12 09:43:18 +02:00
enricoturri1966
6990c3faac Measuring - GLGizmoMeasure - Visualization and selection of extra point for edges 2022-10-12 09:43:18 +02:00
Lukas Matena
3449ad0f73 Fixed crashing asserts due to a bug in the just merged branch 2022-10-12 09:43:18 +02:00
Lukas Matena
7ceead76c8 Measurement: moving arrow-drawing functions from frontend to the backend (4/4) 2022-10-12 09:43:17 +02:00
Lukas Matena
79ab1ab1b5 Measurement: moving arrow-drawing functions from frontend to the backend (3/4) 2022-10-12 09:43:17 +02:00
Lukas Matena
8af3e5823a Measurement: moving arrow-drawing functions from frontend to the backend (2/4) 2022-10-12 09:43:17 +02:00
Lukas Matena
9658c8c677 Measurement: moving arrow-drawing functions from frontend to the backend (1/4) 2022-10-12 09:43:17 +02:00
enricoturri1966
1f9d42b14f Measuring - GLGizmoMeasure - Added option to copy to clipboard the result of measurement
Fixed conflicts while rebasing to master
2022-10-12 09:43:02 +02:00
enricoturri1966
e0bfb17e64 Measuring - GLGizmoMeasure - Allow to deselect second feature by clicking on it
Fixed conflicts while rebasing to master
2022-10-12 09:38:39 +02:00
enricoturri1966
aee76f0c11 Measuring - Refactoring in GLGizmoMeasure related to scene raycasters state cache
Fixed conflicts while rebasing to master
2022-10-12 09:33:36 +02:00
enricoturri1966
10459706b8 Fixed bug in get_measurement() function 2022-10-12 09:22:37 +02:00
enricoturri1966
706d05b31f Measuring: Gizmo measure shows dimensioning for angle edge-plane 2022-10-12 09:22:37 +02:00
enricoturri1966
e8a9280843 Measuring: Gizmo measure shows dimensioning for angle edge-edge 2022-10-12 09:22:37 +02:00
enricoturri1966
3bc7418835 Follow-up of 8d98f0869d - Distance edge-edge calculated as in Fusion 360 2022-10-12 09:22:37 +02:00
enricoturri1966
c5fd4d8a7d Follow-up of 81d28c545c - Distance edge-circle calculated as in Fusion 360 2022-10-12 09:22:37 +02:00
enricoturri1966
c01270ca99 Measuring: Gizmo measure shows dimensioning for distance edge-circle 2022-10-12 09:22:37 +02:00
enricoturri1966
a911df78ee Measuring: Gizmo measure shows dimensioning for distance plane-plane 2022-10-12 09:22:37 +02:00
enricoturri1966
0d70bbba8b Measuring: Use eigen library in distance calculations for Gizmo measure 2022-10-12 09:22:37 +02:00
enricoturri1966
124216da02 Measuring: Gizmo measure shows dimensioning for distance point-circle 2022-10-12 09:22:37 +02:00
enricoturri1966
cf55ffbd5e Measuring: Gizmo measure shows dimensioning for distance edge-edge 2022-10-12 09:22:37 +02:00
enricoturri1966
55209dba4b Measuring: Gizmo measure shows dimensioning for distance point-plane 2022-10-12 09:22:37 +02:00
enricoturri1966
5825e85012 Measuring: Gizmo measure shows dimensioning for distance point-edge 2022-10-12 09:22:37 +02:00
enricoturri1966
f9087d5800 Measuring: Gizmo measure shows dimensioning for distance point-point 2022-10-12 09:22:36 +02:00
enricoturri1966
950272aff1 Measuring: Gizmo measure disabled for sinking volumes 2022-10-12 09:22:36 +02:00
enricoturri1966
14224eb38e Measuring: bunch of fixes into GLGizmoMeasure + new tech ENABLE_MEASURE_GIZMO_DEBUG to show a debug imgui dialog containing data related to Measure Gizmo 2022-10-12 09:22:36 +02:00
enricoturri1966
805a793f53 Follow-up of 2b7520dc9e - Use CTRL + mouse right click to restart selection 2022-10-12 09:22:36 +02:00
enricoturri1966
bedfffac39 Measuring: GLGizmoMeasure - Use mouse right click to restart selection 2022-10-12 09:22:36 +02:00
enricoturri1966
d9cb891951 Measuring: Rewritten method SurfaceFeature::operator ==() 2022-10-12 09:22:36 +02:00
enricoturri1966
512073d489 Measuring: Added missing default values to SurfaceFeature member variables 2022-10-12 09:22:36 +02:00
enricoturri1966
e10bd47ba3 Measuring: GLGizmoMeasure - Added colored icon into imgui dialog 2022-10-12 09:22:36 +02:00
enricoturri1966
f95014dce2 Fixed warnings on ARM64 2022-10-12 09:22:36 +02:00
enricoturri1966
1971f0b2cb Measuring: GLGizmoMeasure - Fixed detection of current hovered feature 2022-10-12 09:22:36 +02:00
enricoturri1966
7b8c07c2a4 Measuring: GLGizmoMeasure - show data in inches into imgui dialog, when needed 2022-10-12 09:22:36 +02:00
enricoturri1966
ed7534b8ce Measuring: GLGizmoMeasure - Fixed update of circle geometry 2022-10-12 09:22:35 +02:00
enricoturri1966
9a7fd520b1 Fixed warnings 2022-10-12 09:22:35 +02:00
enricoturri1966
9edc2545ce Measuring: Disable scene raycasters while GLGizmoMeasure is active 2022-10-12 09:22:35 +02:00
enricoturri1966
1e5b01a31d Measuring: Changes in GLGizmoMeasure imgui dialog layout 2022-10-12 09:22:35 +02:00
enricoturri1966
928a642eb9 Measuring: Added features selection in GLGizmoMeasure 2022-10-12 09:22:35 +02:00
enricoturri1966
89ae6cf4ee Refactoring into GLGizmoMeasure.cpp to remove duplicated code 2022-10-12 09:22:35 +02:00
enricoturri1966
19df0dadeb Fixed warnings 2022-10-12 09:22:35 +02:00
enricoturri1966
b64686835b Measuring: Optimization into GLGizmoMeasure::on_render() 2022-10-12 09:22:35 +02:00
enricoturri1966
8d923bb12e Measuring: Measure gizmo - Further improvements in visualization of points for extended selection 2022-10-12 09:22:35 +02:00
enricoturri1966
16aac5f919 Measuring: Measure gizmo - Improved visualization of points for extended selection 2022-10-12 09:22:35 +02:00
enricoturri1966
60aaebc1fe Measuring: Measure gizmo - added visualization of point for extended selection and updates to imgui dialog 2022-10-12 09:22:35 +02:00
enricoturri1966
2bb16b1dc8 Refactoring of GLGizmoMeasure::on_render_input_window to simplify code 2022-10-12 09:22:34 +02:00
enricoturri1966
9f4f09fbbf Refactoring of GLGizmoMeasure to simplify code 2022-10-12 09:22:34 +02:00
enricoturri1966
ed287215db Measuring: Added Measure gizmo imgui dialog + removed tech ENABLE_MEASURE_GIZMO_DEBUG + locking of features by pressing CTRL key 2022-10-12 09:22:34 +02:00
enricoturri1966
6c0aff0d23 Measuring: Measure gizmo features registered for raycasted picking 2022-10-12 09:22:34 +02:00
enricoturri1966
aeb8dec463 Measuring: code for Measure gizmo embedded into new tech ENABLE_MEASURE_GIZMO
Fixed conflicts while rebasing to master
2022-10-12 09:22:20 +02:00
enricoturri1966
7b43786124 Added tech ENABLE_MEASURE_GIZMO_DEBUG to embed debug code related to GLGizmoMeasure 2022-10-12 09:10:52 +02:00
enricoturri1966
86b390e237 Refactoring into GLGizmoMeasure::on_render() 2022-10-12 09:10:52 +02:00
enricoturri1966
62a28c7baf Measuring: refactoring related to plane models cache 2022-10-12 09:10:52 +02:00
enricoturri1966
c30cc15f41 Measuring: circle feature rendered using a torus 2022-10-12 09:10:52 +02:00
enricoturri1966
74d3227703 Follow-up of a7d1c9b5e9 - Simplified code to generate a smooth cylinder 2022-10-12 09:10:52 +02:00
enricoturri1966
adb3d0101d Measuring: reworked rendering of hovered features 2022-10-12 09:10:52 +02:00
enricoturri1966
6a2e7930cf Measuring: allow to select single parts of a multipart object while Gizmo Measure is active 2022-10-12 09:10:51 +02:00
enricoturri1966
a99871a2ab Removed method set_flattening_data() from GLGizmoMeasure 2022-10-12 09:10:51 +02:00
enricoturri1966
a74c070a5e Set Measure Gizmo to be activable for single volume selections only 2022-10-12 09:10:51 +02:00
enricoturri1966
964fa581fa Use unified color for hovering in GLGizmoMeasure 2022-10-12 09:10:51 +02:00
enricoturri1966
1942932229 Partial revert of 1e494e30 2022-10-12 09:10:51 +02:00
Lukas Matena
b646fcad95 Measuring: implemented edge endpoint detection 2022-10-12 09:10:51 +02:00
Lukas Matena
b23e28e9e4 Measuring: refactoring 2022-10-12 09:10:51 +02:00
Lukas Matena
387dfb2b79 Measuring: Add detection of polygons and their centers 2022-10-12 09:10:51 +02:00
Lukas Matena
457afca5de Measuring: added getters for circle visualization 2022-10-12 09:10:51 +02:00
Lukas Matena
7d6d33f92c Measuring: further separating frontend and backend 2022-10-12 09:10:50 +02:00
Lukas Matena
9d5e9e8870 Measuring: Separating frontend and backend 2022-10-12 09:10:50 +02:00
Lukas Matena
4c5fa7a857 Measuring: Improved feature detection, added circle center calculation 2022-10-12 09:10:50 +02:00
Lukas Matena
0e372b8eb2 Measuring: Improved visualization 2022-10-12 09:10:50 +02:00
Lukas Matena
70ea995f4a Measuring: First steps on extracting features 2022-10-12 09:10:50 +02:00
Lukas Matena
7ae40e281b Measuring: Simple visualization 2022-10-12 09:10:50 +02:00
Lukas Matena
2df9198552 Measuring: Initial plane detection 2022-10-12 09:10:50 +02:00
Lukas Matena
bd63320a00 Measuring: separated another gizmo 2022-10-12 09:10:50 +02:00
Lukas Matena
8833fb7ab4 SurfaceMesh testing (to be reverted later)
Fixed conflicts while rebasing to master
2022-10-12 09:10:33 +02:00
Lukas Matena
ac167e29ad First implementation of SurfaceMesh 2022-10-12 08:40:34 +02:00
Filip Sykala - NTB T15p
8511b280bf Heal shape with points close to line
(after conversion to floating point it is on the other side of line)
ExPolygons indexing (fixed)
2022-10-11 13:35:52 +02:00
Vojtech Bubnik
418734f41b WIP Tree supports with circular crossections: Clipping the remaining
collisions with the object.
2022-10-10 16:58:43 +02:00
enricoturri1966
4fb7bb8dec SPE-1342 - Fixed crash after undo in SLA support point gizmo 2022-10-10 14:41:05 +02:00
Vojtech Bubnik
5cb4b63325 WIP TreeSupports: Experimental code draw_branches() to produce
trees with circular cross section
2022-10-10 14:19:06 +02:00
Vojtech Bubnik
5cba1e8319 Improved Point.hpp to_2d() and to_3d() templates to accept Eigen expressions 2022-10-10 14:15:26 +02:00
Vojtech Bubnik
493ada15a5 WIP TreeSupports: fix of calculatePlaceables() by Thomas Rahm 2022-10-10 14:15:26 +02:00
YuSanka
85af9b93f1 Cut: Fixes and improvements for object's context menu
* Disable or delete some menu items, which are inappropriate for cut objects
* For cut objects added menu item "Invalidate cut info" to disconnect related cut parts of initial object
* If just one part is kept after cut performance, than don't apply a cut info for this object.

+ CutGizmo: Fixed selection of the mode
   An object has connectors         -> Connectors mode
   An object doesn't has connectors -> CutPlane mode
2022-10-07 16:26:19 +02:00
YuSanka
74a32e3261 Cut: Bug fixing and Improvements
* CutGizmo: Fixed a label scale
* Fixed deselection of selected connectors, when moving the camera
* Implemented update of the settings for selected connectors
* Connector selection: Ctrl shortcut is changed to Shift to compatibility of the selection/deselection with rectangle selection
2022-10-07 11:14:13 +02:00
Sebastian Nadorp
8ba52ae65c Order list of vendors in ConfigWizard:
@lukasmatena 's amendment: PR #8795. Thanks.
2022-10-06 13:18:33 +02:00
Filip Sykala - NTB T15p
bdf8c5ce88 Merge branch 'master' into fs_emboss 2022-10-06 12:25:17 +02:00
Pavel Mikus
c86deb92db improve function name to reflect that it does unscaling (to_unscaled_linesf) 2022-10-06 12:19:33 +02:00
Filip Sykala - NTB T15p
a5190a92cd Fix triangulation check 2022-10-05 15:15:22 +02:00
Filip Sykala - NTB T15p
e340fa6abe Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/AABBTreeLines.hpp
#	src/libslic3r/ExPolygon.hpp
#	tests/libslic3r/test_aabbindirect.cpp
2022-10-05 15:14:54 +02:00