Commit Graph

1483 Commits

Author SHA1 Message Date
53c10fc4f9 Tech ENABLE_SEAMS_USING_MODELS set as default 2021-11-30 08:36:55 +01:00
60d6500d56 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_print_volume_fit 2021-11-24 12:55:09 +01:00
3ed2fa0bce Fix of missing update after changing the value of Max print height into Printer settings tab - SPE-1133 2021-11-24 12:31:27 +01:00
c93a0e8a55 Tech ENABLE_ENHANCED_PRINT_VOLUME_FIT - 1st installment, Scale to print volume command for circular printbeds 2021-11-24 10:55:48 +01:00
9c00efa6f9 Localization: Next text improvements
+ new POT
 + new CZ translation
2021-11-23 14:56:41 +01:00
1724673dd4 Fix for #7328 - Filename containing chars not usable on FAT result in error and crash in gcode export 2021-11-23 13:53:58 +01:00
9d3c5665d2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-11-22 10:57:44 +01:00
e6ae724f20 #7326 - Fixed crash when starting GCodeViewer 2021-11-22 10:57:38 +01:00
137683b865 Fixed a typo in 02c18dbc52.
Id of the WipeTower is equal to 1000
2021-11-22 09:52:02 +01:00
77589c1069 Check unsaved preset changes only when presets have been changed in the project 2021-11-19 16:33:28 +01:00
bf486bf439 Resin colors: Set default value when color wasn't set in config 2021-11-16 12:48:13 +01:00
cce3410f59 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-11-16 10:18:58 +01:00
537df6b503 New BuildVolume class was created, which detects build volume type (rectangular,
circular, convex, concave) and performs efficient collision detection agains these build
volumes. As of now, collision detection is performed against a convex
hull of a concave build volume for efficency.

GCodeProcessor::Result renamed out of GCodeProcessor to GCodeProcessorResult,
so it could be forward declared.

Plater newly exports BuildVolume, not Bed3D. Bed3D is a rendering class,
while BuildVolume is a purely geometric class.

Reduced usage of global wxGetApp, the Bed3D is passed as a parameter
to View3D/Preview/GLCanvas.

Convex hull code was extracted from Geometry.cpp/hpp to Geometry/ConvexHulll.cpp,hpp.
New test inside_convex_polygon().
New efficent point inside polygon test: Decompose convex hull
to bottom / top parts and use the decomposition to detect point inside
a convex polygon in O(log n). decompose_convex_polygon_top_bottom(),
inside_convex_polygon().

New Circle constructing functions: circle_ransac() and circle_taubin_newton().

New polygon_is_convex() test with unit tests.
2021-11-16 10:15:51 +01:00
0598c91676 Fixed a crash when loading STL file (from 02c18dbc52)
+ Added info_icon next to the "Volume" value
2021-11-16 09:42:20 +01:00
ee45aab6bd Sidebar: Info box: Fixed value of the "Volume"
+ Hidden "Materials" item
2021-11-15 17:36:01 +01:00
a739cf3543 Localization + new POT
+ added hyperlinks for Ironing parameters
2021-11-15 08:32:40 +01:00
f84b89af93 Fix of Changing purge volumes doesn't set project as unsaved #7265 2021-11-12 17:05:19 +01:00
24134d92a2 Localization fixes + new POT 2021-11-12 09:21:41 +01:00
3bf9451705 Fixed endless "New project" possibility 2021-11-11 08:46:39 +01:00
9d650e1ab3 MsgDialog: Some code refactoring.
Use style for whole Dialog instead of wxWindowID for just one default button
2021-11-10 10:49:43 +01:00
e1104626de Implemented possibility to show resin colors from the Plater (Bottles with resin are colored now in preset combobox)
+ Added nsvgParseFromFileWithReplace() to replace some colors before parsing from SVG file
+ Thumbnails are saved with selected resin color in SL1 or SL1S files
+ "white" folder is deleted from "icons" now. THere is no needed anymore.
2021-11-09 17:01:50 +01:00
c4c68f1a89 Added "Color" parameter for SLA material 2021-11-05 17:22:37 +01:00
eacc7f5c96 MSW: DarkMode: Improvements for message Dialogs
* A little bit reworked MsgDialog: Checkbox and buttons are placed under the Static line
 * Implemented wrapper for wxRichMessageDialog
 + Implemented wrapper for wxStaticLine
2021-11-05 15:20:06 +01:00
562b60a3db MSW_DarkMode: Next Improvements
* Refreshed title bar for all Dialogs and MainFrame
* Refreshed header of the DataViewCtrl and ListView
* Refresh tooltips
* Redraw SpinCtrls
* Use system menu with is colored in respect to the color mode
* Preferences: Added parameter "Use system menu for application" and moved to the "Dark mode" tab with "Enable Dark mode parameter"
2021-11-05 10:01:13 +01:00
bc9be829c3 ExportOutgoing notification should not show on upload 2021-11-02 10:51:45 +01:00
2c49e3149e Fix of #7170. Delayed notification is not moved until push will succeed. 2021-11-02 10:51:45 +01:00
207187ed79 Fixed encoding of gizmo entering/leaving undo redo snapshots,
which was broken by adding an extra TakeSnapshot overload in 41dc265
2021-10-29 21:47:47 +02:00
13ec55a4dd Implemented possibility to apply conversion from inches/meters to mm for all loaded objects at once
+ Added MessageWithCheckBox dialog
+ some code refactoring for MessageDlg
2021-10-26 14:52:45 +02:00
bcdf25a22f MSW Dark mode: Set mode colors for RichToolTips 2021-10-26 08:28:03 +02:00
c3088f8139 Documented the new print bed collision detection algorithm requirements:
Only convex print bed is supported.
Optimization of collision detection by precomputing the print bed shape type.
2021-10-23 15:29:18 +02:00
079d40b77e Fixed wrong showing of the default context menu if right button was clicked on empty space when several objects are selected in 3DScene 2021-10-22 13:00:19 +02:00
be11f7613c Obvious fixes to stupid warnings 2021-10-21 09:55:12 +02:00
22253d2289 open simplification on center when open from notification 2021-10-19 18:53:42 +02:00
689d623d7b Added a missing include (GCC 11.1). 2021-10-19 11:53:21 +02:00
b38cd284bd Fixed conflicts after merge with master and ported changes into gouraud shaders to gouraud_mod shaders 2021-10-19 11:27:11 +02:00
e86a1b4d89 Export ongoing notification with delay 1000ms to prevent quick opening and closing on fast systems 2021-10-15 15:04:44 +02:00
dcfebd0e60 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-07 14:22:06 +02:00
2a367f6774 Check if object's size appears to be zero, when loading the model file. 2021-10-07 09:12:31 +02:00
d83b2e0d3d ObjectList: Fixes
* Fixed update of a warning icon for multi-part object, when some part with errors was deleted
 * Fixed a crash when selecting non-Object and non-Volume item (in get_mesh_errors_info() was missed check of the obj_idx)

+ Follow-up 1cc7b4ba97 - some code refactoring:
  * fixed RepairedMeshErrors.merge()
  * get_mesh_errors_count() renamed to get_repaired_errors_count()
2021-10-06 17:24:40 +02:00
805a589ccd Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-06 13:48:27 +02:00
46bff60e16 RichToolTips: Don't set a Timer for Tooltip but dismiss the tooltip when a mouse leave the button 2021-10-06 13:15:21 +02:00
cb570079ef Follow-up e2f2ed4172 and 80844ca337 - Allow RichToolTips just under MSW 2021-10-05 16:45:54 +02:00
033f498b1f actualize warnings on empty background process 2021-10-05 15:52:44 +02:00
a7ea88befb Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-05 15:33:37 +02:00
86f2dcff00 RichTooltips for the buttons on a sidebar: Fixed wrong positioning of the tooltip when PrusaSlicer is on secondary display
Show a right triangle tip in the bottom right corner of the tooltip.
2021-10-05 13:36:32 +02:00
46f7d946c9 Changed conditions for the warning icon.
If mesh isn't manifold then always show the red "exclamation" icon
It mesh is manifold but was repaired then show the gray/white "exclamation" icon
2021-10-05 13:21:38 +02:00
a1ee03b86f Fix for #6218 - Button tooltip in the way
Use wxRichTooltip instead of wxTooltip for buttons on the bottom of a sidebar
2021-10-05 11:05:20 +02:00
921d2bdee7 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-05 09:51:04 +02:00
b35a04b99a Fix for #7040 - Missing auto slice after Undo / Redo of deletion of height range modifier 2021-10-04 15:33:32 +02:00
1f3f0363d2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-10-04 15:04:34 +02:00