Commit Graph

1303 Commits

Author SHA1 Message Date
978b359492 Fix normal direction when exporting STL (#6406)
The export function does not depend on Model/ModelObject::mesh() family of functions,
changing them might break the already too brittle code.
2021-04-26 19:58:08 +02:00
b600540411 Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying scale gizmo 2021-04-23 09:11:55 +02:00
d4695827ce Tech ENABLE_ALLOW_NEGATIVE_Z -> Keep sinking instances as sinking after applying rotate gizmo 2021-04-23 08:29:29 +02:00
38bb7d2950 1) New methods PrintObject::num_regions() and ::has_region() to make
the code more readable and to highlight where PrintObject::region_volumes
   are actually set and consumed.
2) Replaced Slic3r::clamp() with std::clamp(). They differ in the order
   of their parameters, thus hopefully no new bugs were introduced.
3) Some refactoring of MultiMaterialSegmentation for efficiency.
2021-04-22 11:41:26 +02:00
c8b83ae011 Tech ENABLE_ALLOW_NEGATIVE_Z -> Allow move gizmo to place an object under the printbed 2021-04-21 12:41:43 +02:00
c7771a576b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_custom_gcode_detection 2021-04-21 12:32:17 +02:00
bf1fc7d436 Info in ObjectList: Added variable layer height 2021-04-20 15:07:05 +02:00
0e3090fb28 Removed mutable members from class GLCanvas3D 2021-04-20 12:16:55 +02:00
c140974bf4 Changed ToolpathOuside error notification from plater to slicing error notification type so it is grayed out correctly 2021-04-20 09:18:50 +02:00
dfe926ef63 Info in ObjectList: Added variable layer height 2021-04-19 16:10:40 +02:00
e3c33844d5 WIP: Duplicated the FDM support gizmo for the MMU segmentation 2021-04-19 07:01:11 +02:00
94b28f9b8d Do not use custom gcode in out of bed detection 2021-04-10 11:07:08 +02:00
144e37c274 1st installment of project dirty state manager 2021-04-06 10:00:17 +02:00
db71a6308d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-15 11:27:43 +01:00
972dbe238f preventing hidden notification to show when updated and close them correctly. 2021-03-14 18:01:10 +01:00
c41df487bb Notifications management and rendering refactoring.
With warning notification Model out of bed reworked to not show after dismiss.
2021-03-12 10:32:26 +01:00
14aca210cb Tech ENABLE_GCODE_WINDOW_USE_MAPPED_FILE merged into ENABLE_GCODE_WINDOW 2021-03-08 10:20:07 +01:00
8027c94a41 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-08 08:35:49 +01:00
0472c84525 G-code window uses file mapping 2021-03-08 08:35:32 +01:00
1efa9a06f6 Adjustable wipe tower brim 2021-03-05 16:41:02 +01:00
da7d7ae11b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window 2021-03-03 09:07:28 +01:00
2c8f385c7f 1st installment of g-code window in preview 2021-03-02 10:01:06 +01:00
a3b60c09bc Tech ENABLE_CTRL_M_ON_WINDOWS set as default 2021-02-25 15:22:12 +01:00
c3a52f9b01 Tech ENABLE_RENDER_PATH_REFRESH_AFTER_OPTIONS_CHANGE set as default 2021-02-19 15:38:05 +01:00
0a1448196b Tech ENABLE_NEW_NOTIFICATIONS_FADE_OUT set as default 2021-02-19 12:18:09 +01:00
7c3e3272aa Tech ENABLE_ARROW_KEYS_WITH_SLIDERS set as default 2021-02-17 17:21:06 +01:00
125fcd0623 Removed obsolete class GLCanvas3D::WarningTexture 2021-02-15 11:00:37 +01:00
8049dd1f72 Trying to fix the remaining OSX warnings 2021-02-10 19:07:09 +01:00
5e9a8ea700 Fixed some clang warnings 2021-02-09 19:23:58 +01:00
2e55898d78 Removal of not numerically robust libraries "poly2tree" and "polypartition".
Adjustment of GUI/3DBed.cpp,hpp to use the more stable triangulation algoritm
derived from SGI glut.
Fix of an extremely slow bridging calculation, caused by an extremely
slow bridged area detection function, of which the results were never used.
Fixes "slicing fails or takes too long #5974"
2021-02-09 18:36:28 +01:00
1834ebe981 Fixing Clang warnings 3 2021-02-08 17:52:29 +01:00
6846ba0b59 Localization: Fixed localization of some 3d-Scene notifications
+ Move a call of the load_language() before SplashScreen creation
2021-02-03 17:30:32 +01:00
73c9f939e0 Squash merge of lh_brim_rework,
brim separated to Brim.cpp,hpp
Refactored accessors to PrintObjectPtrs, PrintRegionPtrs, LayerPtrs,
SupportLayerPtrs for const correctness.
2021-02-03 15:12:53 +01:00
d9c9de8eee Fixing GCC warnings 3 2021-01-29 10:47:02 +01:00
5161643fc6 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_splitted_vbuffer 2021-01-20 13:48:09 +01:00
1efa129b67 Fix of #5619 - Copying Item with Printable Property 2021-01-18 15:19:02 +01:00
67e144f329 ENABLE_SPLITTED_VERTEX_BUFFER - fixed export of toolpaths to obj files 2021-01-13 10:45:52 +01:00
f43b34fb57 wxWakeUpIdle when render timer ends to ensure idle function spawns and triggers rendering 2021-01-07 12:54:53 +01:00
b93c2aea44 #5690 - Fixed thumbnail generation when a gizmo is active 2021-01-05 11:58:48 +01:00
240dc8b697 Follow-up to 19b52da260: Fixed scale for view toolbar on HDPI (GTK3 specific) 2020-12-18 11:27:28 +01:00
d791720b5e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-12-18 09:03:45 +01:00
156019d9d0 Fixed color of shells in preview 2020-12-18 09:03:18 +01:00
19b52da260 Fix of #5501 - 3D Editor / Layer View widget DPI regression (Linux GTK3 specific) 2020-12-18 08:40:17 +01:00
8b980d4b77 Localization: Updated PrusaSlicer.pot and CZ dictionary
+ Fixed some phrases.
2020-12-16 17:29:38 +01:00
1dae057f15 Some refactoring of the fade out of notifications:
1) Use different wxWidgets call to get current time on Windows vs Unix
   for efficiency reasons.
2) Don't call this function multiple times in a single function, it is
   both expensive and not correct: One shall work with the same timestamp.
3) Added missing unbind of the new timer.
2020-12-16 16:15:58 +01:00
3ae40139b3 render timer 2020-12-16 14:15:12 +01:00
0592d15c50 render timer draft 2020-12-16 14:15:12 +01:00
a13b35ce92 Support for HiDPI in OpenGL on Linux / GTK3.
wxGTK3 HiDPI support seems to emulate what OSX does quite closely,
thus the changes are relatively minimal.

Also fixed an ugly rounding issue when populating the ImGUI font map
with image thumbnails.

Fixes Gtk3 issue on 4k+ screens #4135
Fixes HiDPI screens with Wayland on Fedora 30 cause Plater view to be too small. #3245
2020-12-15 12:14:38 +01:00
82fe571cdc Give focus to 3D scene when activating any gizmo to allow related imgui dialogs to receive keyboard input 2020-12-15 10:57:16 +01:00
4911b36bfd #5470 - Fixed switching camera views with alphanumeric row on a czech keyboard 2020-12-15 09:21:09 +01:00