Commit Graph

18366 Commits

Author SHA1 Message Date
Lukáš Hejl
d81c63fad4 Fixed Perl unit tests after 77f5973c25. 2022-08-09 02:31:14 +02:00
enricoturri1966
e0d33ec92a Added missing include 2022-08-09 02:30:04 +02:00
Lukáš Hejl
c9ddf7315e Replaced parameters wall_add_middle_threshold and wall_split_middle_threshold with automatic computation based on extrusion width.
That allows computed better values in cases when the extrusion width of the first layer or for the infill differs from the extrusion width for perimeters.

Parameters min_feature_size and wall_transition_length now can be set in percentages, and then they will be calculated based on nozzle size. Old profiles with default values are forced to replace old default values with new default values in percentages.
2022-08-08 10:21:55 +02:00
tamasmeszaros
b8c3905e82 Fix crashing SLA tests on Win 2022-08-04 15:47:50 +02:00
Lukáš Hejl
1b934518b3 Modified text drawing methods in debugging visualization (SVG) to support changing font size. 2022-08-02 13:21:39 +02:00
Lukáš Hejl
caf3e258b8 Fixed compiler warnings. 2022-08-02 13:21:39 +02:00
Lukáš Hejl
0161a59a93 Fix of #8472: The middle perimeter was missing for some specific configurations due to numeric rounding errors. 2022-08-02 13:21:39 +02:00
Lukáš Hejl
756eaeeb6d Updated the comment about the missing twin edge in the post-processed Voronoi diagram. 2022-08-02 13:21:39 +02:00
Lukáš Hejl
7060f3d1b3 Fixed an issue that when wall_transition_filter_deviation contained a non-percent value, then it contained the wrong value. 2022-08-02 13:21:39 +02:00
Lukáš Hejl
2317e9c2b9 Added information that the concentric infill is also affected by the selected perimeter generator. 2022-08-02 13:21:39 +02:00
Lukáš Hejl
394494b3ac Fix of #8530: Pressure equalizer unintentionally decelerates before ironing.
This is the follow-up to: 39404be75a
2022-07-28 11:42:57 +02:00
Lukáš Hejl
9168b60463 Prevented the pressure equalizer from emitting G-code settings feed rate when there are no G-code lines that will be affected (empty block of G-code lines with set feed rate). 2022-07-28 11:42:53 +02:00
Merill
72aba9a5be
Little fix: back() isn't front() 2022-07-28 03:02:29 +02:00
Lukáš Hejl
77f5973c25 Fix of #8446: Non-planar Voronoi diagram.
This is the follow-up to 63c66f4f18. Detection of non-planar (degenerated) Voronoi diagrams was rewritten to check if all neighboring edges of the Voronoi vertex are CCW ordered.
2022-07-26 13:47:40 +02:00
YuSanka
e0031018a7 Manually merged PR #8544 - Add 2.5.0 translate for zh_CN language 2022-07-22 16:53:11 +02:00
Lukáš Hejl
dd6096bf0b Fix of #8457 and #8461: Made pressure equalizer to modify only GCode lines that are inside the block tags _EXTRUDE_SET_SPEED and _EXTRUDE_END.
The previous approach could modify all GCode lines, even custom GCode or tool change GCode, which was unintentional.
2022-07-22 11:32:37 +02:00
Lukáš Hejl
decfa80bfd Test case for issue when Arachne produce closed ExtrusionLine that have different the first and the last point. 2022-07-22 08:33:27 +02:00
Lukáš Hejl
e14da6224a Fixed an issue when an open perimeter containing part of an overhang perimeter was split into two parts and wasn't extruded as continuous extrusion. 2022-07-22 08:33:27 +02:00
Lukáš Hejl
2a865919a0 Prevented gap fill and Arachne from creating tiny gaps in extrusions in specific cases. 2022-07-22 08:33:27 +02:00
YuSanka
1150639306 Gallery: Update for recycling symbols 2022-07-21 10:44:09 +02:00
Lukáš Hejl
63c66f4f18 Fix of #8474 and #8514: Voronoi generator sometimes produced a non-planar Voronoi diagram.
We introduced detecting for those degeneration cases. When degenerated Voronoi diagram is detected, then the input polygons are rotated, and the Voronoi diagram is recomputed. Usually, rotation of input data solves issues like this.
2022-07-21 08:47:48 +02:00
enricoturri1966
9690919028 Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown 2022-07-19 13:12:13 +02:00
Lukas Matena
a965956cba Removed extra member qualification in declaration (does not build with /permissive-) 2022-07-19 10:53:41 +02:00
enricoturri1966
76562d1e75 SPE-1252 - Fixed update of contours in Cut Gizmo when modifying the orientation or the scale of a part of a multipart object 2022-07-18 15:38:56 +02:00
Lukas Matena
38f10da566 Bumped up version to 2.5.0-alpha3 2022-07-15 14:06:23 +02:00
Lukas Matena
edc0aa4bce Mentioned CuraEngine in the CopyrightsDialog 2022-07-15 13:58:17 +02:00
Lukas Matena
04555862b0 Merge branch 'pm_seam_curling_fix_250' into master_250 2022-07-14 18:07:39 +02:00
Pavel Mikus
70677858a1 Use resampling only with smooth surfaces generated by Arachne 2022-07-14 18:00:59 +02:00
Pavel Mikus
2e437d1761 curling improvements 2022-07-14 11:47:29 +02:00
Pavel Mikus
d5d1633e2b Bugfix: seam enforcers and blockers not respected on different nozzle widths -
now flow width is used instead of fixed distance param
2022-07-14 10:15:05 +02:00
Pavel Mikus
f5efb0d0aa remove global angle computation, wrong results 2022-07-14 10:15:05 +02:00
Pavel Mikus
4a9f9aa89b oversample smooth surfaces, which reduces curling on those surfaces, because the shortest path down is better defined 2022-07-14 10:15:05 +02:00
Pavel Mikus
40408c2178 increase snapping angle 2022-07-14 10:15:05 +02:00
PavelMikus
768bfd5c7f reduce curling 2022-07-14 10:15:05 +02:00
PavelMikus
c65e22e6bb refactored find_seam_string func 2022-07-14 10:15:05 +02:00
PavelMikus
4d8e8afb10 Count seam string weight and try mutiple strings; choose highest weight 2022-07-14 10:15:05 +02:00
Pavel Mikus
f31865a627 increase weight of central seam enforcers 2022-07-14 10:15:05 +02:00
Pavel Mikus
232517fe77 choose seam string with lower variance weighted by visibility 2022-07-14 10:15:05 +02:00
Pavel Mikus
feeb9b2b1b bug fixes in the linear regression 2022-07-14 10:15:05 +02:00
PavelMikus
fec3afa490 cubic spline segment size based on the length of string 2022-07-14 10:15:05 +02:00
PavelMikus
1e05d09324 search points based on updated linear regression model (line), make search raidus dynamic based on layer thickenss 2022-07-14 10:15:05 +02:00
Lukáš Hejl
39404be75a Fix of #8471 - Pressure equalizer caused unintentional deceleration before ironing and acceleration after ironing. 2022-07-14 09:30:37 +02:00
Lukáš Hejl
b4ff9b72a9 Fix of #8455 - Incorrect scale in ExtrusionLine::simplify() prevented removing vertices between collinear and nearly collinear lines. 2022-07-14 09:10:25 +02:00
Lukáš Hejl
e2e1272003 Fix of #8455 - Fixed the incorrect computation of the threshold for grouping ExtrusionPaths with the same extrusion width in thick_polyline_to_extrusion_paths() that was affecting Arachne and gap fill.
The previous behavior didn't merge two ExtrusionPaths with the same extrusion width, and it also could merge two ExtrusionPaths with different widths, which was unintentional, and it could also possibly create visible artifacts in some cases.
Because simplification of ExtrusionLoop in GCode::extrude_loop is working on ExtrusionPath and not on whole ExtrusionLoop, so previous incorrect behavior was preventing simplification and removing small extrusions like in #8455.
2022-07-14 09:10:22 +02:00
YuSanka
200ab7441b Added notification about "Lightning infill" + localization for this line 2022-07-13 11:11:32 +02:00
YuSanka
bd077ae401 Search: Fix of the wrong search, when print technology was changed, but search line wasn't inputted.
Partially reverted a248490507 -> UnsavedChangesDialog:A sort of Sercher's options have to be reverted back an the and of update_tree()
May be related to #8376 - SEARCH {CTRL-F}
2022-07-13 10:14:07 +02:00
Lukáš Hejl
22255822a2 Fix of #8488 - Infinite loop in the lightning infill. 2022-07-12 18:59:48 +02:00
YuSanka
92f874cdea Fix for #8450 - Tip Of The Day - configuration snapshots shortcut not work in the language Portuguese Brazil
Note: This bug was related not just for the language Portuguese Brazil but for all another dictionaries, where
for "&MenuItem" and "MenuItem" are used "&LocalMenuItem1" and "LocalMenuItem2" instead of "&LocalMenuItem" and "LocalMenuItem"
2022-07-12 14:57:11 +02:00
YuSanka
1afc6fb57c Fix for #8459 - Tooltip on "Retract amount before wipe" setting for retractions 2022-07-12 14:17:37 +02:00
Lukáš Hejl
7860cf8811 Follow-up to e86463a369: Forgot to remove useless asserts. 2022-07-12 13:52:02 +02:00