Commit Graph

17562 Commits

Author SHA1 Message Date
tamasmeszaros
83fb066c64 Check for required CGAL version
fixes #4912
2021-11-22 15:14:53 +01:00
tamasmeszaros
0b0e5e5040 Merge branch 'tm_fix_hollowing_preview' 2021-11-22 14:01:00 +01:00
Lukas Matena
a22bc7f7c8 Show an error dialog when opening simplification on incompatible selection 2021-11-22 11:00:17 +01:00
Lukas Matena
6180e3a89e Do not open simplify dialog on top of the main toolbar 2021-11-22 11:00:17 +01:00
Lukas Matena
aae8c7a844 Fixed the empty layer warning (again),
it did not work after top/bottom support contact z was separated
2021-11-22 11:00:17 +01:00
enricoturri1966
78a6406219 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-11-22 10:57:44 +01:00
enricoturri1966
a4baecb340 #7326 - Fixed crash when starting GCodeViewer 2021-11-22 10:57:38 +01:00
YuSanka
93bd5ee08b Fixed a typo in 02c18dbc52.
Id of the WipeTower is equal to 1000
2021-11-22 09:52:02 +01:00
YuSanka
1b7975639e Follow-up 172b97cc2a - Show context menu only on right mouse click 2021-11-21 18:15:59 +01:00
YuSanka
21c8f373ff Code refactoring for 69731b1d => nsvgParseFromFileWithReplace() is extracted from nanosvg.h to BitmapCache 2021-11-19 17:00:38 +01:00
YuSanka
244b66649c Check unsaved preset changes only when presets have been changed in the project 2021-11-19 16:33:28 +01:00
Vojtech Bubnik
55a555c848 Tooltip for the new SLA material parameter "material_print_speed" 2021-11-19 16:30:37 +01:00
tamasmeszaros
1280b03a60 Merge branch 'tm_sla_fast_slow' 2021-11-19 16:15:25 +01:00
Vojtech Bubnik
6ebee079c9 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
Vojtech Bubnik
56f409921c 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
Vojtech Bubnik
4a7ac79637 Generalize PrusaLink 2021-11-19 15:32:42 +01:00
tamasmeszaros
a7260e7257 Add material print speed parameter for sla printers except sl1 2021-11-19 15:08:53 +01:00
Lukas Matena
67373ca722 Changed gizmo entering/leaving string handling to make localization easier 2021-11-19 12:16:46 +01:00
Vojtech Bubnik
05ed0a9b60 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
Vojtech Bubnik
d8590ac0a8 Tiny eigen vectorization beautification. 2021-11-19 10:56:07 +01:00
Vojtech Bubnik
f5c23871e8 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
tamasmeszaros
8a0c492583 Remove unused headers 2021-11-19 10:28:23 +01:00
YuSanka
172b97cc2a 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
tamasmeszaros
f8e734cd79 Merge branch 'tm_relative_correction_xyz_2' 2021-11-19 09:48:44 +01:00
tamasmeszaros
c6de3e84eb Trying to solve forward compatibility for SLA relative_corrections 2021-11-19 09:47:57 +01:00
tamasmeszaros
d336dbe1a5 Fix broken hollowing preview with defined holes and unchecked hollowing
fixes SPE-1121
2021-11-18 17:40:25 +01:00
YuSanka
36df8df8b4 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
YuSanka
c447c84d2c Fixed non-WIN builds 2021-11-18 17:03:49 +01:00
Vojtech Bubnik
ecd71e3e80 Some debugging code (asserts) for the optimized G-code number formatter. 2021-11-18 16:42:07 +01:00
David Kocik
1603d7a2c8 Merge branch 'dk_notifications' 2021-11-18 16:29:25 +01:00
David Kocik
f2d53bc389 Fix of #7313
Missing boolean change.

Test string length before substr in text rendering.
2021-11-18 16:29:12 +01:00
YuSanka
5271877182 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into master 2021-11-18 14:34:41 +01:00
YuSanka
b3074ad2cc DoubleSlider: Added calculation of the new color for "ColorChange" 2021-11-18 14:28:58 +01:00
tamasmeszaros
53c5b0331e Fix issue with corrupted sl1 import with substituted profile.
fixes SPE-1119
2021-11-18 12:08:24 +01:00
Lukáš Hejl
8a4323c5b9 Fixed the layout of the painting gizmos after the edit icon for sliders was added. 2021-11-17 11:44:38 +01:00
Lukáš Hejl
9cac904f97 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
rtyr
c1209fe8d7
Sync with PrusaSlicer-settings 2021-11-16 21:07:10 +01:00
Lukas Matena
2c31755bc9 Do not use __FILE__ macro (#7293) 2021-11-16 16:09:30 +01:00
Lukas Matena
a2c3a6ac2f Added missing includes (gcc9.4 without pch) 2021-11-16 16:09:30 +01:00
Vojtech Bubnik
e063fe920e Fix of the last commit, G-code resolution was increased 10x by mistake. 2021-11-16 15:59:43 +01:00
Vojtech Bubnik
135b3fcea8 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-11-16 15:48:17 +01:00
Vojtech Bubnik
0420f63540 Higher resolution G-code and volumetric rate legend, disabled. 2021-11-16 15:48:06 +01:00
enricoturri1966
8d046a577a Fixed wrong color of toolpaths in pre-gcode preview 2021-11-16 14:52:07 +01:00
YuSanka
1aaa4845c5 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
enricoturri1966
cb44542377 Fix for broken zoom to bed command 2021-11-16 13:40:24 +01:00
enricoturri1966
9561fd8cc6 Removed obsolete gouraud shader files 2021-11-16 12:56:08 +01:00
YuSanka
d6306f00b7 Resin colors: Set default value when color wasn't set in config 2021-11-16 12:48:13 +01:00
enricoturri1966
9af9b9b35d Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS set as default 2021-11-16 12:39:54 +01:00
Vojtech Bubnik
58c93196d5 Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2021-11-16 10:18:58 +01:00
Vojtech Bubnik
cc44089440 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