Commit Graph

17429 Commits

Author SHA1 Message Date
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
c8049b5cad Fix of #7299 (Crash in the multi-material segmentation when some projected triangle is outside the bounding box of the current layer. 2021-11-17 11:44:32 +01:00
1bda3f6c58 Sync with PrusaSlicer-settings 2021-11-16 21:07:10 +01:00
1883916d39 Do not use __FILE__ macro (#7293) 2021-11-16 16:09:30 +01:00
f4a5e89aeb Added missing includes (gcc9.4 without pch) 2021-11-16 16:09:30 +01:00
1c330819d3 Fix of the last commit, G-code resolution was increased 10x by mistake. 2021-11-16 15:59:43 +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
ab0596a114 Updated SLA material colors. 2021-11-16 08:02:28 +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
996b390f1f Merge branch 'dk_updater' 2021-11-15 13:00:22 +01:00
617adb1300 Our opening of url in wxHyperlink 2021-11-15 13:00:03 +01:00
ce767f9f34 Notice dialog about no default materials in printer profile. 2021-11-15 12:59:51 +01:00
e1a5575ca3 Mark the source of nanosvg library 2021-11-15 11:11:48 +01:00
8b3f7f77ca Fix for #7301 - Endless loop telling me 'Supports work better if the following feature is enabled: bridging perimeters' when setting 'generate support material' on a single object
This bug was from 0c29eb9943
2021-11-15 10:48:53 +01:00
4b95b57707 Added missing include 2021-11-15 09:02:21 +01:00
a739cf3543 Localization + new POT
+ added hyperlinks for Ironing parameters
2021-11-15 08:32:40 +01:00
516ec79259 Fixed parsing of older PrusaSlicer.ini files. 2021-11-14 20:53:35 +01:00
49588b2b7f Decreased the minimum diameter of the brush in the multi-material painting gizmo to 0.1 with respect to #7108. 2021-11-12 17:52:12 +01:00
493726b34f Empty layer warning is now generated once per object 2021-11-12 17:08:14 +01:00
f84b89af93 Fix of Changing purge volumes doesn't set project as unsaved #7265 2021-11-12 17:05:19 +01:00
183cfe8e78 #7293 - Do not put __FILE__ info in release mode 2021-11-12 15:08:04 +01:00
8cedb75d55 Start print after upload button (instead of checkbox) 2021-11-12 14:50:47 +01:00
d664f718de Linux specific: Using a pop-up menu on the "cog" wheel for changing of an extruder color.(related to #6759)
+ some code refactoring
+ change a little bit gray color in colorchange_del icons to avoid collision in Dark mode
2021-11-12 14:02:18 +01:00
e182a4cd92 Added a missing include (GCC 11.1). 2021-11-12 13:29:17 +01:00
5d342f69b2 OG_CustomCtrl: Code refactoring - Use standard RichMessageDialog instead of own written 2021-11-12 12:13:29 +01:00
24134d92a2 Localization fixes + new POT 2021-11-12 09:21:41 +01:00
17d853d144 Commented out unused line 2021-11-12 08:45:16 +01:00
4d0a74bae0 Added missing include 2021-11-12 08:07:07 +01:00
b35bbc7add Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Fixed imgui slider label 2021-11-12 07:56:47 +01:00
bcef57485a Make sure the object does not float after simplification 2021-11-12 07:37:17 +01:00
91a1ef06ec Merge branch 'lm_simplify_fixes' 2021-11-12 06:51:24 +01:00
d489ec43f8 Remove static flag and extend case when call after will be from unactive Gizmo. 2021-11-12 06:49:09 +01:00
4686a7e051 translation of progress 2021-11-12 06:49:09 +01:00
4af1f4a4bf Some more fixes when switching objects while simplifying 2021-11-12 06:49:09 +01:00
660672a6ee Several more fixes:
- fixed crash on close when worker is running
- refresh percentage in the UI by requesting extra frames
- get rid of extra m_is_worker_running variable
2021-11-12 06:49:09 +01:00
343d981a81 Some more cleanup 2021-11-12 06:49:09 +01:00
aef14c5ce2 Many small fixes 2021-11-12 06:49:09 +01:00