Commit Graph

6428 Commits

Author SHA1 Message Date
ba2662378c Fixup of cc44089 (bed bounding box 2D vs 3D)
The mentioned commit has changed behaviour of GLCanvas3D::get_size_proportional_to_max_bed_size(double)
function so that it uses XYZ bounding box instead od just XY. As a result, adding a box object through
the right panel added a huge box when printer max_print_z was higher than x/y. Offset at which a new
object instance is added was also affected.
2021-11-24 10:41:21 +01:00
b65adac8f1 Preferences: Beautification
Text settings: Wrap a label_text to the max 80 characters
MSW specific: Update alignment of the "Dark mode" tab
2021-11-23 16:39:53 +01:00
084a0585d5 Fixed minor bug - Added missed layout of the Tab, when preset is saved with new name.
"Delete" button wasn't observed
2021-11-23 15:54:41 +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
2a0a7d0b30 Fix for horizontal slider limits the top non-gray layers to two, not one, SPE-1130 2021-11-23 11:42:22 +01:00
2cac85f11d #3385 - Fixed broken 3Dconnexion settings imgui dialog layout 2021-11-23 09:43:03 +01:00
9f5fb08388 Clamp radius in variable layer height dialog, negative values led to a crash 2021-11-22 15:22:43 +01:00
f95c08c800 Increased 3D connexion translation speed maximum to 30 (#3385) 2021-11-22 15:22:43 +01:00
fb19e3d8c5 Merge branch 'tm_fix_hollowing_preview' 2021-11-22 14:01:00 +01:00
f493007244 Show an error dialog when opening simplification on incompatible selection 2021-11-22 11:00:17 +01:00
022e405b40 Do not open simplify dialog on top of the main toolbar 2021-11-22 11:00:17 +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
3cacb200ce Follow-up 172b97cc2a - Show context menu only on right mouse click 2021-11-21 18:15:59 +01:00
9e8535f926 Code refactoring for 69731b1d => nsvgParseFromFileWithReplace() is extracted from nanosvg.h to BitmapCache 2021-11-19 17:00:38 +01:00
77589c1069 Check unsaved preset changes only when presets have been changed in the project 2021-11-19 16:33:28 +01:00
8f5a1f9bfd Merge branch 'tm_sla_fast_slow' 2021-11-19 16:15:25 +01:00
eedb26e5a8 Follow-up to 9994e0bcbc
Start updater during start of prusaslicer.
Don't search the directory if only verifying that a file exists
is sufficient.
2021-11-19 15:48:03 +01:00
946023c553 Improved some string initialization and zeroing.
Assigning = "" in constructor does not make sense,
.clear() is better than = "",
default paramaeter = {} is cheaper than = ""
2021-11-19 15:34:22 +01:00
535c61c1d9 Generalize PrusaLink 2021-11-19 15:32:42 +01:00
8125118dd0 Add material print speed parameter for sla printers except sl1 2021-11-19 15:08:53 +01:00
a57aa19b75 Changed gizmo entering/leaving string handling to make localization easier 2021-11-19 12:16:46 +01:00
6d56e2e303 Removed check for a 64bit build running on a 32bit system,
such condition could never be fulfilled.

Slightly polished the wording of the warning.
2021-11-19 11:07:25 +01:00
a7073284bf Tiny eigen vectorization beautification. 2021-11-19 10:56:07 +01:00
e7fe6703fd Follow-up to 77548df00f
(Fixed missing sinking property in objects list for multipart objects
with a part completely below the printbed):

It was not possible to slice an object with some part completely below
the print bed. The BuildVolume collision check newly supports
a "completely below print bed" return status,
Model evaluates this "completely below print bed status" allowing
objects with some volumes completely below the print bed to print.
2021-11-19 10:32:46 +01:00
4e3a069df5 Fix for #7270 - Feature Request: Right-click object table name-field should bring up context-menu - same as in 3D Editor View
+ removed unused code
2021-11-19 10:24:02 +01:00
47629d1e13 Trying to solve forward compatibility for SLA relative_corrections 2021-11-19 09:47:57 +01:00
256207bcc6 Fix broken hollowing preview with defined holes and unchecked hollowing
fixes SPE-1121
2021-11-18 17:40:25 +01:00
1d28dda5df Fix for #6124 - Looped "Wipe Tower" message box, can't quit
Always add overloaded parameters for Object/Parts Settings to avoid lopped messages
2021-11-18 17:30:52 +01:00
702ab6164b Fixed non-WIN builds 2021-11-18 17:03:49 +01:00
36f6dcbca2 Fix of #7313
Missing boolean change.

Test string length before substr in text rendering.
2021-11-18 16:29:12 +01:00
ca23b73caa DoubleSlider: Added calculation of the new color for "ColorChange" 2021-11-18 14:28:58 +01:00
751b04a2c1 Fixed the layout of the painting gizmos after the edit icon for sliders was added. 2021-11-17 11:44:38 +01:00
1883916d39 Do not use __FILE__ macro (#7293) 2021-11-16 16:09:30 +01:00
916d66fa43 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-11-16 15:48:17 +01:00
ceb0559983 Higher resolution G-code and volumetric rate legend, disabled. 2021-11-16 15:48:06 +01:00
4130010759 Fixed wrong color of toolpaths in pre-gcode preview 2021-11-16 14:52:07 +01:00
62da1adb8a Partially ported https://github.com/supermerill/SuperSlicer/commit/ff195fc9(Add max_literal to setting def, to set the threshold for popup warning for float% fields) from @SuperSlicer
(related to https://github.com/prusa3d/PrusaSlicer/issues/2829#issuecomment-955606863)
2021-11-16 13:44:48 +01:00
53a0c31412 Fix for broken zoom to bed command 2021-11-16 13:40:24 +01:00
7e9289655a Removed obsolete gouraud shader files 2021-11-16 12:56:08 +01:00
bf486bf439 Resin colors: Set default value when color wasn't set in config 2021-11-16 12:48:13 +01:00
33bbb249cf Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS set as default 2021-11-16 12:39:54 +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
fbebab4156 #7066 - Ignore purge line in 'Volumetric Flow' display when Custom extrusion paths are set to invisible 2021-11-15 14:25:15 +01:00
74e730149b Commented code for different icon for UpdatedItemsInfo Notification. 2021-11-15 13:54:02 +01:00