Skip to content

Commit e2fdd31

Browse files
committed
Add documentation
CURA-12446
1 parent e5dfe7e commit e2fdd31

3 files changed

Lines changed: 16 additions & 7 deletions

File tree

include/FffGcodeWriter.h

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ class FffGcodeWriter : public NoCopy
322322
*
323323
* \param[in] storage where the slice data is stored.
324324
* \param mesh_ptr The mesh to add to the layer plan \p gcode_layer.
325+
* \param slice_layer The layer currently being processed
325326
* \param extruder_nr The extruder for which to print all features of the mesh which should be printed with this extruder
326327
* \param mesh_config the line config with which to print a print feature
327328
* \param gcode_layer The initial planning of the gcode of the layer.
@@ -341,6 +342,7 @@ class FffGcodeWriter : public NoCopy
341342
* \param[in] storage where the slice data is stored.
342343
* \param storage Storage to get global settings from.
343344
* \param mesh The mesh to add to the layer plan \p gcode_layer.
345+
* \param slice_layer The layer currently being processed
344346
* \param extruder_nr The extruder for which to print all features of the mesh which should be printed with this extruder
345347
* \param mesh_config the line config with which to print a print feature
346348
* \param part The part to add
@@ -360,6 +362,7 @@ class FffGcodeWriter : public NoCopy
360362
*
361363
* \param gcodeLayer The initial planning of the gcode of the layer.
362364
* \param mesh The mesh for which to add to the layer plan \p gcodeLayer.
365+
* \param slice_layer The layer currently being processed
363366
* \param extruder_nr The extruder for which to print all features of the
364367
* mesh which should be printed with this extruder.
365368
* \param mesh_config the line config with which to print a print feature.
@@ -384,7 +387,8 @@ class FffGcodeWriter : public NoCopy
384387
* \param gcodeLayer The initial planning of the gcode of the layer.
385388
* \param mesh The mesh for which to add to the layer plan \p gcodeLayer.
386389
* \param extruder_nr The extruder for which to print all features of the
387-
* mesh which should be printed with this extruder.
390+
* \param mesh which should be printed with this extruder.
391+
* \param slice_layer The layer currently being processed
388392
* \param mesh_config The line config with which to print a print feature.
389393
* \param part The part for which to create gcode.
390394
* \param start_move_inwards_length The length of the extra inwards moves to be added at the start of each infill line
@@ -410,7 +414,8 @@ class FffGcodeWriter : public NoCopy
410414
* \param gcodeLayer The initial planning of the gcode of the layer.
411415
* \param mesh The mesh for which to add to the layer plan \p gcodeLayer.
412416
* \param extruder_nr The extruder for which to print all features of the
413-
* mesh which should be printed with this extruder
417+
* \param mesh which should be printed with this extruder
418+
* \param slice_layer The layer currently being processed
414419
* \param mesh_config The line config with which to print a print feature.
415420
* \param part The part for which to create gcode.
416421
* \param start_move_inwards_length The length of the extra inwards moves to be added at the start of each infill line
@@ -492,6 +497,7 @@ class FffGcodeWriter : public NoCopy
492497
* \param[in] storage where the slice data is stored.
493498
* \param gcode_layer The initial planning of the gcode of the layer.
494499
* \param mesh The mesh for which to add to the layer plan \p gcode_layer.
500+
* \param slice_layer The layer currently being processed
495501
* \param extruder_nr The extruder for which to print all features of the mesh which should be printed with this extruder
496502
* \param mesh_config the line config with which to print a print feature
497503
* \param part The part for which to create gcode
@@ -522,6 +528,7 @@ class FffGcodeWriter : public NoCopy
522528
* \param[in] storage where the slice data is stored.
523529
* \param gcode_layer The initial planning of the gcode of the layer.
524530
* \param mesh The mesh for which to add to the layer plan \p gcode_layer.
531+
* \param slice_layer The layer currently being processed
525532
* \param extruder_nr The extruder for which to print all features of the mesh which should be printed with this extruder
526533
* \param mesh_config the line config with which to print a print feature
527534
* \param skin_part The skin part for which to create gcode
@@ -566,6 +573,7 @@ class FffGcodeWriter : public NoCopy
566573
* \param[in] storage where the slice data is stored.
567574
* \param gcode_layer The initial planning of the gcode of the layer.
568575
* \param mesh The mesh for which to add to the layer plan \p gcode_layer.
576+
* \param slice_layer The layer currently being processed
569577
* \param extruder_nr The extruder for which to print all features of the mesh which should be printed with this extruder
570578
* \param mesh_config the line config with which to print a print feature
571579
* \param skin_fill The shape of the skin for which to create gcode

include/infill/LightningGenerator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class LightningGenerator // "Just like Nicola used to make!"
6969
const LightningLayer& getTreesForLayer(const size_t& layer_id) const;
7070

7171
protected:
72+
/*! Helper structure to get the infill wall line count either from a fixed value or depending on the layer */
7273
struct WallLineCount : std::variant<size_t, const std::vector<SliceLayer>*>
7374
{
7475
WallLineCount(const size_t fixed_count)

include/sliceDataStorage.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ class SliceLayer
184184
*/
185185
Shape bottom_surface;
186186

187-
size_t outer_wall_count{ 0 };
188-
size_t extra_wall_count_infill{ 0 };
189-
size_t extra_wall_count_skin{ 0 };
190-
size_t extra_wall_count_flooring{ 0 };
191-
size_t extra_wall_count_roofing{ 0 };
187+
size_t outer_wall_count{ 0 }; //!< The number of walls printed on the outer contour of the model, common to all areas
188+
size_t extra_wall_count_infill{ 0 }; //!< The extra number of walls printed around infill areas
189+
size_t extra_wall_count_skin{ 0 }; //!< The extra number of walls printed around skin areas
190+
size_t extra_wall_count_flooring{ 0 }; //!< The extra number of walls printed around flooring areas
191+
size_t extra_wall_count_roofing{ 0 }; //!< The extra number of walls printed around roofing areas
192192

193193
/*!
194194
* Get the all outlines of all layer parts in this layer.

0 commit comments

Comments
 (0)