Commit Graph

17118 Commits

Author SHA1 Message Date
enricoturri1966
90874c1953 Tech ENABLE_WORLD_COORDINATE - Fixed translation in local coordinate for single instance selection 2021-10-19 10:04:22 +02:00
enricoturri1966
8cf66f52f6 Tech ENABLE_WORLD_COORDINATE - Modified method Selection::requires_uniform_scale() 2021-10-18 15:26:31 +02:00
enricoturri1966
5649151444 Tech ENABLE_WORLD_COORDINATE - Fixed volumes rotation in world coordinate
Added sub-tech ENABLE_WORLD_COORDINATE_VOLUMES_LOCAL_OFFSET which enable showing world coordinates of volumes' offset relative to the instance containing them

Show 'Drop to bed' button in sidebar whenever the selected instance or volume is not laying on the printbed
2021-10-18 15:13:47 +02:00
enricoturri1966
84c0b816cb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_world_coordinates 2021-10-15 11:58:42 +02:00
enricoturri1966
4fdd58e80a Tech ENABLE_WORLD_COORDINATE - Fixed gizmo Scale in world coordinates 2021-10-15 11:58:32 +02:00
kocikdav
df30dfc2bc
Merge pull request #7117 from jurriaan/patch-1
Fix missing `wx/timer.h` header compile issue
2021-10-15 11:37:51 +02:00
Jurriaan Pruis
43d952779a
Fix missing wx/timer.h header compile issue
Tried to compile the latest git version on my system and got an error that wxTimer could not be found. Fixed it by adding in the header.

cc @kocikdav
2021-10-15 10:44:19 +02:00
enricoturri1966
7e5c214b91 Other refactoring plus some fixes into GLGizmoScale3D 2021-10-14 13:59:27 +02:00
Vojtech Bubnik
a6f4b9b71f Snug supports: Extrude interface layers 45 degrees from the base layer,
flip direction of the infill layer with each interface layer.
Unfortunately the flipping of support interface directions may not work
reliably due to base support layer heights growing at different rate
from the interface layers.
2021-10-14 13:56:04 +02:00
David Kocik
c838aabf1d Merge branch 'dk_tips' 2021-10-14 14:30:29 +02:00
David Kocik
ffc29a2536 Preferences Highlighter 2021-10-14 14:29:53 +02:00
YuSanka
aecd7e2b93 GalleryDialog: Added context menu for custom shapes
+ Added possibility to delete custom shaped by "DELETE" key
2021-10-14 12:16:14 +02:00
Vojtech Bubnik
64a3866ad5 Making GCC happy. 2021-10-14 09:33:39 +02:00
Vojtech Bubnik
0222533273 Fixed compilation on non MS systems 2021-10-14 09:31:53 +02:00
Vojtech Bubnik
7ff76d0768 New ClipperUtils functions: opening(), closing() as an alternative
for offset2() with clear meaning.
New ClipperUtils functions: expand(), shrink() as an alternative
for offset() with clear meaning.
All offset values for the new functions are positive.

Various offsetting ClipperUtils (offset, offset2, offset2_ex) working
over Polygons were marked as unsafe, sometimes producing invalid output
if called for more than one polygon. These functions were reworked
to offset polygons one by one. The new functions working over Polygons
shall work the same way as the old safe ones working over ExPolygons,
but working with Polygons shall be computationally more efficient.

Improvements in FDM support generator:
1) For both grid and snug supports: Don't filter out supports for which
   the contacts are completely reduced by support / object XY separation.
2) Rounding / merging of supports using the closing radius parameter is
   now smoother, it does not produce sharp corners.
3) Snug supports: When calculating support interfaces, expand the projected
   support contact areas to produce wider, printable and more stable interfaces.
4) Don't reduce support interfaces for snug supports for steep overhangs,
   that would normally not need them. Snug supports often produce very
   narrow support interface regions and turning them off makes the support
   interfaces disappear.
2021-10-14 09:11:31 +02:00
Lukáš Hejl
2f9ce6bedb Fixed incorrect color assignment in multi-material segmentation caused by intersecting edges due to post-processing of Voronoi diagram.
This issue was occurring mainly on the cylinder objects.
2021-10-14 09:39:23 +02:00
David Kocik
0d86153704 Merge branch 'dk_notifications' 2021-10-13 17:05:08 +02:00
David Kocik
1308b255fe missing include and template type 2021-10-13 17:04:40 +02:00
David Kocik
15ba458f2c Merge branch 'dk_notifications' 2021-10-13 15:39:31 +02:00
David Kocik
ac6259e387 Preferences: notify_relese option with Choice type Field.
OptionsGroup:: Added possibility of the right alignment of the controls
+ Added separator line to Preferences
2021-10-13 15:39:06 +02:00
enricoturri1966
a10bb8e37e Fixed color of the line connecting the grabbers while hovering one grabber and pressing CTRL key in Gizmo Scale 2021-10-13 14:23:51 +02:00
enricoturri1966
934da6d793 Another small refactoring into GLGizmoScale3D 2021-10-13 14:15:20 +02:00
enricoturri1966
63e5c0c5a1 Refactoring into GLGizmoScale3D 2021-10-13 14:00:00 +02:00
enricoturri1966
391e26a2d7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_world_coordinates 2021-10-13 13:12:11 +02:00
enricoturri1966
8c30ddc54f Tech ENABLE_WORLD_COORDINATE - Fixed Move and Rotate Gizmo size when the selected instance is scaled 2021-10-13 13:11:59 +02:00
enricoturri1966
405a7e84d6 Fix in seams detection (restore detection after wiping) 2021-10-13 11:13:31 +02:00
enricoturri1966
d9b3386d08 Tech ENABLE_WORLD_COORDINATE - Fixes in Gizmo Move behavior 2021-10-13 09:03:35 +02:00
enricoturri1966
b350a1d942 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_world_coordinates 2021-10-12 15:49:06 +02:00
enricoturri1966
095f0ee71e Fixed build when tech ENABLE_WORLD_COORDINATE is disabled 2021-10-12 15:41:02 +02:00
enricoturri1966
34ca3d086e Tech ENABLE_WORLD_COORDINATE - Fixed drop to bed button behavior 2021-10-12 15:33:03 +02:00
YuSanka
a4ad4ff4a9 Auto color change: check overhangs lust from Preview when detecting auto color changes
+ fixed typo in equivalent_areas()
 + Added missed include
2021-10-12 15:23:50 +02:00
YuSanka
5990f05418 Follow-up cedfc5e3fb - Next code refactoring to avoid inconsistency between AutoColorChangeDetection in Preview and DoubleSlider 2021-10-12 14:18:39 +02:00
enricoturri1966
b3decbe07f Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_world_coordinates 2021-10-12 13:43:04 +02:00
enricoturri1966
e1619944ad Tech ENABLE_WORLD_COORDINATE - Resize Move and Rotate gizmos in dependence of the selected coordinate system 2021-10-12 13:42:55 +02:00
enricoturri1966
8befc43739 Seams detection now takes in account for overhang perimeters 2021-10-12 12:03:34 +02:00
enricoturri1966
19572068a5 Revert of e28ebf9386 2021-10-12 11:49:51 +02:00
enricoturri1966
b754ee3c84 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_world_coordinates 2021-10-12 11:07:40 +02:00
enricoturri1966
7f6f5dab83 Tech ENABLE_WORLD_COORDINATE - Gizmo rotate oriented in dependence of the selected coordinate system 2021-10-12 11:07:31 +02:00
tamasmeszaros
ac414e226f Minor beautification 2021-10-12 10:55:23 +02:00
YuSanka
cedfc5e3fb DoubleSlider: Code refactoring for auto color change 2021-10-12 10:47:21 +02:00
tamasmeszaros
94843bb6bf Removing search for upstream miniz as its no longer compatible.
Due to 729298c408

fixes #7080
2021-10-12 09:59:59 +02:00
enricoturri1966
e28ebf9386 Removed threshold to detect seams to be shown in preview 2021-10-12 09:53:23 +02:00
YuSanka
b39eb7f222 Gallery: Fixed a naming of the added item with already existing name.
+ Fixed layout after add/delete item to/from Gallery
2021-10-11 11:21:27 +02:00
David Kocik
c1729594eb Merge branch 'dk_notifications' 2021-10-11 10:02:10 +02:00
David Kocik
c4f78fcdc9 Check version string for alpha and beta release versions.
Preferences setting to show / not show alpha beta releases.
2021-10-11 10:01:48 +02:00
YuSanka
e1104d5f7d Win11 specific: Added workaround for implicit set of the dark mode 2021-10-11 09:54:38 +02:00
enricoturri1966
0ed783c6a9 Tech ENABLE_WORLD_COORDINATE - Modified text of tooltips for Gizmo Move 2021-10-11 09:52:39 +02:00
enricoturri1966
2ff2c14f9d Fixed syntax error introduced with 116f928903 2021-10-08 14:43:46 +02:00
enricoturri1966
116f928903 Tech ENABLE_WORLD_COORDINATE - 1st installment
1) Added combo to select world/local coordinate to part manipulator in sidebar

2) Gizmo move oriented in dependence of the selected coordinate system

3) Sidebar hints for position oriented in dependence of the selected coordinate system
2021-10-08 14:32:02 +02:00
YuSanka
c921d6f936 ObjectList: Fixed positioning of the object's part/modifiers when it's added
Use load_modifier() for everything without a respect to the type
2021-10-08 12:14:49 +02:00