Skip to content

Commit be69c8a

Browse files
committed
Clean and document code
CURA-12361
1 parent f599050 commit be69c8a

File tree

3 files changed

+247
-227
lines changed

3 files changed

+247
-227
lines changed

include/bridge.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ std::optional<AngleDegrees> bridgeAngle(
4343
const SupportLayer* support_layer,
4444
Shape& supported_regions);
4545

46+
/*!
47+
* @brief Make sure the bridging above infill (below skin) is properly printable by expanding the area below the skin so that the bridging would always provide anchoring points
48+
* from the infill lines below
49+
* @param infill_contour The complete outer contour of the infill
50+
* @param infill_below_skin_area The infill area that should be printed as bridging
51+
* @param mesh The mesh being printed
52+
* @param completed_layer_plan_below The plan of the layer just below that has been completed by now
53+
* @param layer_nr The current layer number
54+
* @return A new shape containing the expanded infill below skin area, and the angle to be used to generate bridging in this area
55+
*/
4656
std::tuple<Shape, AngleDegrees> makeBridgeOverInfillPrintable(
4757
const Shape& infill_contour,
4858
const Shape& infill_below_skin_area,

0 commit comments

Comments
 (0)