686 Commits

Author SHA1 Message Date
Martin Šach
4db6923a5a Fix sequential print 2024-07-10 15:18:53 +02:00
Martin Šach
8c9b672c0d Refactor extrusion predicate naming and default lambda capture. 2024-07-10 15:18:53 +02:00
Martin Šach
8403edc12c Refactor smooth path generator lambda to be a functor. 2024-07-10 15:18:53 +02:00
Martin Šach
af4a1d67a9 Fix cancel object annotation 2024-07-10 15:18:52 +02:00
Martin Šach
61e015fc38 Fix layer change handling 2024-07-10 15:18:52 +02:00
Martin Šach
796eddd971 Implement get_first_point for extrusions 2024-07-10 15:18:52 +02:00
Martin Šach
131f05c3c4 Add offset to extrusions an make sure to reset origin 2024-07-10 15:18:52 +02:00
Martin Šach
dca7318896 Refactor process layer single object 2024-07-10 15:18:52 +02:00
Martin Šach
a321a97f36 Use smooth path to extrude brim 2024-07-10 15:18:52 +02:00
Martin Šach
e24a781382 Use scaled point as previous position in ExtrusionOrder 2024-07-10 15:18:52 +02:00
Martin Šach
d2d9762322 Smooth path for infills 2024-07-10 15:18:52 +02:00
Martin Šach
d54f20a12c failed arc welder in path ordering 2024-07-10 15:18:52 +02:00
Martin Šach
773c34f906 Move skirt smooth path generation to extrusion order 2024-07-10 15:18:52 +02:00
Martin Šach
a5f6da6bd5 Move get_sorted_extrusions to a gcode generator method 2024-07-10 15:18:52 +02:00
Martin Šach
40da8d7336 Move get_extrusions to a function 2024-07-10 15:18:52 +02:00
Martin Šach
0bc86ace2e Make previous position independent of the object instance (offset) 2024-07-10 15:18:52 +02:00
Martin Šach
17dc776109 Separate extrusions ordering and extrusions exporting into two for loops 2024-07-10 15:18:52 +02:00
Martin Šach
fe1b8134d6 Remove ExtrusionOrder dependency on seam placer 2024-07-10 15:18:52 +02:00
Martin Šach
02c615999b Separate extrusion order utilities to a file. 2024-07-10 15:18:50 +02:00
Martin Šach
09453c3a1e Prepare skirt, brim, overriden extrusions and normal extrusions before gcode export 2024-07-10 15:17:43 +02:00
Martin Šach
bee25a4652 Precalculate noraml and overriden extrusions, before exporting 2024-07-10 15:17:43 +02:00
Martin Šach
e922a8f84f Move slice_extrusions and support extrusions one layer up 2024-07-10 15:17:43 +02:00
Martin Šach
9f91293adf Move support and interface extruder determination to a function 2024-07-10 15:17:43 +02:00
Martin Šach
81940b6aaf Move get_layer_extrusions to separate function 2024-07-10 15:17:43 +02:00
Martin Šach
d41304a42a First extract extrusions than generate gcode 2024-07-10 15:17:43 +02:00
Martin Šach
41987e8271 Separete extract_support_extrusions 2024-07-10 15:17:43 +02:00
Martin Šach
eb6d39afd4 Split get sorted extrusions to multiple functions 2024-07-10 15:17:43 +02:00
Martin Šach
947bdd026a Move entity extraction predicate one layer of abstraction up 2024-07-10 15:17:43 +02:00
Martin Šach
f85382084b Unify predicates in get_sorted_extrusions 2024-07-10 15:17:43 +02:00
Martin Šach
65702bded0 Pass region as part of predicate for extraction 2024-07-10 15:17:43 +02:00
Martin Šach
f021af4b39 Refactor extract_infill_ranges to use prediacate 2024-07-10 15:17:43 +02:00
Martin Šach
1cdca87d27 Refactor extract_infill_extrusions 2024-07-10 15:17:43 +02:00
Martin Šach
a46aa2b5ca Move get_sorted_extrusions to function 2024-07-10 15:17:43 +02:00
Martin Šach
257888513d Separate extrusion extraction from extrusion gcode generation 2024-07-10 15:17:43 +02:00
Martin Šach
e1275f7307 Do not use GCodeGenerator::last_position during extrusion extraction and sorting. 2024-07-10 15:17:43 +02:00
Martin Šach
197362c038 Move init layer delayed to upper scope 2024-07-10 15:17:43 +02:00
Martin Šach
31eab3eb36 Separate 'extrude_infill_ranges' and use 'extract_infill_ranges' 2024-07-10 15:17:43 +02:00
Martin Šach
6d42d16838 Separate 'extract_infill_ranges'. 2024-07-10 15:17:43 +02:00
Martin Šach
9174d10823 Store last position locally while extruding infills 2024-07-10 15:17:43 +02:00
Martin Šach
5a9f9946ba Separate 'extrude_infill_range'. 2024-07-10 15:17:43 +02:00
Martin Šach
b30105d2ea Sort infills before extruding 2024-07-10 15:17:43 +02:00
Martin Šach
4e7d5453f6 Separate 'extrude_perimeters.' 2024-07-10 15:17:43 +02:00
Martin Šach
cee83a0894 Separate 'extract_perimeter_extrusions'. 2024-07-10 15:17:43 +02:00
Martin Šach
79efeae2a7 Separate 'extract_fill_extrusions'. 2024-07-10 15:17:43 +02:00
Martin Šach
96e3e77fef Prepare fe for include optimization.
- Add pragmas to keep necessary headers with symbols not explicitly
stated in the file.
- Use include paths that IWYU understands.
2024-07-08 15:37:02 +02:00
Martin Šach
2b667ffb6b Add two parameters for infill speed limiting.
One for infills that cross itself and one for the others.
2024-06-18 08:01:25 +02:00
Lukáš Hejl
d6136a34e3 SPE-2301: Add a new option that makes a printer print loops clockwise instead of counterclockwise. 2024-06-03 18:24:03 +02:00
Lukas Matena
d8bf4fed18 Merge branch 'lh_ms_seam_improvements' 2024-05-14 07:33:26 +02:00
Lukas Matena
f881526dc2 Remove the checkbox in Printer Settings. The feature will be turned off by setting zero, so it is consistent with bed temperature. 2024-05-14 07:14:19 +02:00
Lukas Matena
7e3e2b577b Added heated_chamber checkbox into Printer Settings 2024-05-14 07:14:19 +02:00