Commit Graph

19958 Commits

Author SHA1 Message Date
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
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
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
ba22eb600e MSVC specific: Enabled /permissive- to enforce C++ standards. 2022-10-26 19:19:28 +02:00
tamasmeszaros
9da14ba321 Remove redundant header from Astar 2022-10-26 16:28:40 +02:00
YuSanka
a68dcb68a3 Localization: Updated NL dictionary
+ Fixed format issue from a856cb29e1
2022-10-26 16:24:36 +02:00
brightstonesong
a856cb29e1 Update PrusaSlicer_ko_KR.po
filling in blanks and rewriting.
2022-10-26 15:55:54 +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
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
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
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
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
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
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
rtyr
53e9a8f687
Removed BETA label. 2022-10-14 13:01:34 +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
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
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
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
rtyr
0219709d1f
Sync with PrusaSlicer-settings. 2022-10-06 22:03:26 +02:00
rtyr
934d51d26f
Taz Workhorse thumbnail 2022-10-06 22:00:48 +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
Pavel Mikus
c86deb92db improve function name to reflect that it does unscaling (to_unscaled_linesf) 2022-10-06 12:19:33 +02:00
rtyr
8484f74967
Sync with PrusaSlicer-settings 2022-10-05 16:28:41 +02:00
Pavel Mikus
e02aed31d2 Added new query to AABBTree: all primitives (triangles/lines) within radius 2022-10-05 14:51:32 +02:00