Commit Graph

4559 Commits

Author SHA1 Message Date
Lukas Matena
deac513faa Fixed conflicts after merge 2022-08-15 15:23:59 +02:00
Lukas Matena
bce2b148f4 Merged 2.5.0-beta1 into master (NO CONFLICTS FIXED) 2022-08-15 13:41:40 +02:00
Lukáš Hejl
17e7b182ee Follow-up to 0161a59a93: Too big epsilon created tiny unconnected extrusions, so epsilon was changed to the smallest value that allows resolving rounding issues after division by two. 2022-08-12 09:48:34 +02:00
Lukáš Hejl
4fa76b2d8b Reconnected endpoints of closed polyline when PolylineStitcher produced an open polyline mark as closed. 2022-08-12 09:48:34 +02:00
Lukáš Hejl
f60b88ba3e Fix of #8597 - Assert on Windows about decrementing of std::vector::begin() in a specific case. 2022-08-12 09:48:34 +02:00
Lukáš Hejl
e838acdcd1 Added a lot of debugging outputs (SVG) into SkeletalTrapezoidation. 2022-08-12 09:48:34 +02:00
Lukas Matena
661bb522cf Fixed compiler warnings 2022-08-12 09:40:19 +02:00
Lukas Matena
ea0a68a073 Merge branch lm_tm_step_sq into master_250 2022-08-11 16:51:32 +02:00
Lukas Matena
41f5bd006a STEP: Improved error reporting on Linux 2022-08-11 16:49:13 +02:00
Lukas Matena
620b89d1c6 Add STEP into menu label, enable drag and drop 2022-08-11 16:49:13 +02:00
tamasmeszaros
aff337067b Switch to statically linked OCCTWrapper on Apple.
Due to dmg notarization issues
2022-08-11 16:49:13 +02:00
tamasmeszaros
3f8979c95f Use prusa-slicer executable dir to search for occt shared lib 2022-08-11 16:49:13 +02:00
tamasmeszaros
1fd4659f0e Use resources dir for occt shared lib 2022-08-11 16:49:13 +02:00
Prusa Research a.s
7d3f0b4b32 Fixes on MacOS 2022-08-11 16:49:13 +02:00
tamasmeszaros
88ba89dbbc STEP: Implementation ported from BambuStudio:
CMake handling is different

STEP: Removed preprocessing stage

STEP: Small refactoring

STEP: Bigger refactoring

STEP: Changed naming on loaded object and volumes:
If the STEP contains exactly one named volume, the object and its first
volume will both have that name. Otherwise, filename w/o suffix is used
as object name and volumes are named using names from the STEP (if there
is none, untranslated "PartN" string is used).

STEP: Load the libraries dynamically on Win

wip
2022-08-11 16:49:13 +02:00
PavelMikus
d39d35cc83 better curling fix, removed resamping, fixed the feature disable from previous commit 2022-08-11 15:30:51 +02:00
PavelMikus
8812036c25 slowly decreasing angle seam placement feature disabled 2022-08-11 15:30:51 +02:00
PavelMikus
0479387b20 reduce wavy seams for all layer heights, improve painting 2022-08-11 15:30:51 +02:00
PavelMikus
06084b0bc5 lower segment count on smooth parts 2022-08-11 15:30:51 +02:00
PavelMikus
3f36187101 increase segments count for smooth long strings 2022-08-11 15:30:51 +02:00
PavelMikus
52b9325f7c improving dynamic segmentation, simplifications in snapping angle logic 2022-08-11 15:30:51 +02:00
PavelMikus
44a388d560 prefer enforcers over blockers, lower the threshold distance,
dynamic modification of segments count in alignment based on smoothnes
2022-08-11 15:30:51 +02:00
PavelMikus
a41435d044 fixed overhang estimation correclty 2022-08-11 15:30:51 +02:00
PavelMikus
af95b6ecbd fix issue with enforced patches
refactor end_index to mark index after the last point
hackfix issue with overhang seem placement
2022-08-11 15:30:51 +02:00
PavelMikus
cb3678e1e2 fix bug in seam string weight - use seam string length as quality score 2022-08-11 15:30:51 +02:00
Lukáš Hejl
7dac30714b Follow-up to 394494b3ac: Fixed deceleration/acceleration issue also for gap-fill. Also, deceleration before bridge infill is now working. 2022-08-09 13:59:56 +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
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
tamasmeszaros
b45bb84fa6 Another fix to find_merge_pt 2022-07-29 13:05:39 +02:00
tamasmeszaros
a55be29568 Fix failing tests for merge point search
Improvements and comments to find_merge_pt
2022-07-29 13:05:39 +02:00
tamasmeszaros
f3d4a90721 Fixes to compile on MSVC 2022-07-29 13:05:39 +02:00
tamasmeszaros
bf1303b9cf Fix double parallelization 2022-07-29 13:05:39 +02:00
tamasmeszaros
064e9935d1 Fix dangling pinheads 2022-07-29 13:05:39 +02:00
tamasmeszaros
2cb74013be Remove junk 2022-07-29 13:05:39 +02:00
tamasmeszaros
de3cbd483d Try to increase query size with each failed attempt
TODO: check performance gain
2022-07-29 13:05:39 +02:00
tamasmeszaros
e6d49b75de Make branching tree algorithm cancellable 2022-07-29 13:05:39 +02:00
tamasmeszaros
725f5c05e3 Change build_tree return value to void as its not used anywhere 2022-07-29 13:05:39 +02:00
tamasmeszaros
36ec731adf Replace KDTreeIndirect with boost::rtree for queries of PointCloud
- rtree can be populated with junction points gradually
- Use repeated queries of 5 nearest reachable points in branching tree alg
2022-07-29 13:05:39 +02:00
tamasmeszaros
d7c5243300 Further increase widening scale 2022-07-29 13:05:39 +02:00
tamasmeszaros
1a8cf3b029 Change UNQUEUED to Unqueued to keep convensions 2022-07-29 13:05:39 +02:00
tamasmeszaros
63a58ce1ad Require higher values for widening factor to have the same effect 2022-07-29 13:05:39 +02:00
tamasmeszaros
95374f9ed4 Fix some crashes
Fix minor bugs
2022-07-29 13:05:39 +02:00
tamasmeszaros
688c9c644f Prevent merging with node being lower than closest point 2022-07-29 13:05:39 +02:00
tamasmeszaros
91c0741f61 Minor performance optimization 2022-07-29 13:05:39 +02:00
tamasmeszaros
8a78428d10 Add tests to find_merge_pt and make them pass 2022-07-29 13:05:39 +02:00