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
dbe9355672
Use dynamic cast for perimeter extrusion entity as it might not always be an ExtrusionLoop
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
YuSanka
d1d9a82cce
Fix for #12898 - Wrong tooltip on macos
...
+ Fixed tooltips for layers double slider
2024-07-10 15:15:42 +02:00
Martin Šach
925f92c4a5
Fix debug includes
2024-07-09 10:03:11 +02:00
Lukas Matena
381a19fc04
One more fixup...
2024-07-08 16:57:26 +02:00
Lukas Matena
f7d8e20beb
Fixup of previous commit (4ae7a7c): actually add the files into the repository
2024-07-08 16:06:13 +02:00
Lukas Matena
8fff3fd8a1
Merge branch 'ms_refactor_includes'
2024-07-08 15:37:16 +02:00
Lukas Matena
4ae7a7c885
Moved libvgcode to src for now (to avoid conflicts)
2024-07-08 15:37:02 +02:00
Martin Šach
76231632a5
Fix mac include on in WxFontUtils, fix missing include in debug mode
2024-07-08 15:37:02 +02:00
Martin Šach
919740fb3e
Apply fix includes.
2024-07-08 15:37:02 +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
21116995d7
Refactor CMake and improve #includes.
...
* 1. Remove all global include_directories.
* 2. Move 3d party dependencies from src to budled deps if possible.
* Unify and enforce one way of including headers:
e.g. #include "libslic3r/GCode.hpp" vs #include "GCode.hpp"
(always use the "libslic3r/GCode.hpp" option).
* Make all dependencies (also header only) a cmake target.
2024-07-08 15:36:46 +02:00