Commit graph

365 commits

Author SHA1 Message Date
PavelMikus
12f1cd0bc0 added semi support for lightning infill 2023-03-14 12:08:28 +01:00
PavelMikus
487d9209ed Fix and improve region filtering 2023-03-14 12:08:28 +01:00
PavelMikus
76209d89ff Fixed lighting infill crash.
TODO filtering of small ensuring regions
2023-03-14 12:08:28 +01:00
PavelMikus
d223eef38d Do not generate other than sparse infill lines
Split jobs if candidates bounding boxes do not overlap - otherwise it can become completely linearized and very slow
Improve formatting
2023-03-14 12:08:28 +01:00
PavelMikus
ad693532d3 Fixed clustering for threads issue - inverse comparison, lower job idx incorrectly initialized 2023-03-14 12:08:28 +01:00
PavelMikus
3782d24ccf Fixed bugs with bridging area determination 2023-03-14 12:08:28 +01:00
PavelMikus
f8e7d1b01c core implemented, now fixing the issues 2023-03-14 12:08:28 +01:00
PavelMikus
f4e44f9750 rework of bridiging over sparse infill in progress 2023-03-14 12:08:28 +01:00
Vojtech Bubnik
6f5b71b7df Fix of ca0b218a56 2023-03-10 09:48:02 +01:00
Vojtech Bubnik
9ce81d6d12 Organic Supports improvements:
Added support_tree_branch_distance parameter to UI
Fixed error in calculation of placeable areas, which made some trees to cut through an object.
Locked the tree tips against smoothing of their centerline path.
Reduced density of tips with zero interface layers (see continuous_tips).
Reduced default support_tree_top_rate to 15%
Refactored placement of interfaces for readability.
2023-03-10 09:42:22 +01:00
Lukas Matena
ca0b218a56 Fix of a crash in bridging over sparse 2023-03-10 08:38:27 +01:00
Lukas Matena
1fbbaaae9b Fixed several warnings 2023-03-07 14:47:25 +01:00
PavelMikus
bc58a570eb Fix: bridge over sparse infill was not generated for more than one LayerSlice 2023-03-03 17:09:47 +01:00
PavelMikus
d5a1b59869 Remove "ensure_vertical_shell_thickenss" option, it is now permanently ON 2023-03-03 10:52:29 +01:00
PavelMikus
475c77ca96 fix some double to float truncation warnings 2023-03-02 17:06:06 +01:00
PavelMikus
92f8ed6d6b Merge remote-tracking branch 'origin/master' into pm_anchor_bridges_on_sparse_infill 2023-03-02 16:57:10 +01:00
Vojtech Bubnik
22b26883ff Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-03-02 15:17:34 +01:00
Pavel Mikus
10d04529d6 Implemented dynamic fan control. Cooling buffer does not yet relfect that 2023-03-02 15:30:41 +01:00
Pavel Mikus
a496444b7e make fixed overlap levels for dynamic overhang speed 2023-03-02 15:30:41 +01:00
Vojtech Bubnik
00cc73f65f Raft improvements:
1) Object 1st layer fill direction is locked if printing on raft.
2) Object fill direction is referenced to object layer ignoring
   the raft layers, thus the fill direction depends no more
   on number of raft layers.
2) Raft contact perpendicular to object 1st layer fill direction.
3) Raft interface / contact layers are produced with alternating
   directions.
2023-03-02 15:17:05 +01:00
PavelMikus
b9872b8a3f Fix problem with filtering of small ensuring regions - the filter needs to consider ExPolygons, not just polygons 2023-03-02 15:01:40 +01:00
PavelMikus
a3430a5b51 Completely removed Bounded Rectilinear infill
Improved bridge over sparse infill logic - now does not bridge the whole area but only neede part
Filtered out tiny regions of ensuring created after bridge_over_sparse infill expanded the regions
2023-03-01 16:42:57 +01:00
PavelMikus
b90e8eb6ec Merge remote-tracking branch 'origin/master' into pm_anchor_bridges_on_sparse_infill 2023-02-28 15:08:59 +01:00
PavelMikus
b5fc26ab0a Filter out very small esnuring regions 2023-02-28 15:07:17 +01:00
Vojtech Bubnik
3349644964 Reworked handling of approximate / snug bounding boxes
at Model / ModelObject / PrintObject
Fixes   
Also fixed variable layer height editing for case such as mentioned
in the github issues above.
Also likely fixed some of the sinking objects issues.
2023-02-28 11:27:15 +01:00
PavelMikus
21cd23167e Merge remote-tracking branch 'origin/master' into pm_anchor_bridges_on_sparse_infill 2023-02-27 13:15:18 +01:00
PavelMikus
43a155c476 improve the filters of regions that will be turned into bridges 2023-02-27 12:52:46 +01:00
Vojtech Bubnik
825c954b44 WIP: Organic Supports & Raft
Object is lifted, trees are routed to the ground.
2023-02-27 11:04:03 +01:00
PavelMikus
e4910381b4 optimize the brdige over infill by extractng only the sparse infill lines from previous layer 2023-02-24 16:47:07 +01:00
PavelMikus
feb9310fe3 Support tiny floating islands inside sparse infill. You never know what can grow out of them. 2023-02-24 14:38:08 +01:00
PavelMikus
5656d4ea6d Fix crashes.
Set common bridging angle to touching surfaces, otherwise bad stuff happens.
2023-02-24 11:56:24 +01:00
Pavel Mikus
86729aa499 use vector instead of boost small vector 2023-02-21 19:53:39 +01:00
Pavel Mikus
61e623eda9 fix issues after merge with new ensuring branch 2023-02-21 16:44:03 +01:00
PavelMikus
3e8501624a Merge remote-tracking branch 'origin/vb_ensurovani' into pm_anchor_bridges_on_sparse_infill 2023-02-17 15:44:14 +01:00
PavelMikus
739bee354d lower angles span so that briding direction is better 2023-02-17 15:38:57 +01:00
PavelMikus
7c603a53e0 fix first layer over sparse sometimes not labeled as bridge when there was no expand space 2023-02-17 15:38:57 +01:00
PavelMikus
ce73bce780 fixed multiple regions, fixed artefacts in morphological operations 2023-02-17 15:38:57 +01:00
PavelMikus
59c58397c9 Fix bug with special infill 2023-02-17 15:38:57 +01:00
PavelMikus
6521b72274 Fix problems with adaptive infills, but the anchoring itself is not used on them
Fix briding angles for octagram and hilberts curve
2023-02-17 15:38:57 +01:00
PavelMikus
2b0a7ccb2c invalidate posPrepareInfill on pattern change, since that influences anchoring
filter out sparse infill with 100 density from bridgeable areas
2023-02-17 15:38:57 +01:00
PavelMikus
9054aa74b3 Filter out tiny areas, Fix issue where partial surfaces were cleared and empty when over solid infill 2023-02-17 15:38:57 +01:00
PavelMikus
5e83ecf387 Fixed crashes, smoothened polygon, some bug fixes 2023-02-17 15:38:57 +01:00
PavelMikus
d843d0d981 Fixed most of issues, TODO expand by half extrusion width, smoothen sides, crashes 2023-02-17 15:38:57 +01:00
PavelMikus
95ec803a06 Another bunch of fixes. There is still problem with bridging direction 2023-02-17 15:38:57 +01:00
PavelMikus
9f5f03099e fixing bridging angle, avoiding too small areas, fixing final area rotation 2023-02-17 15:38:57 +01:00
PavelMikus
df20302eef various bug fixes
debug images
2023-02-17 15:38:57 +01:00
PavelMikus
dfbea5976e bunch of bug fixes, but still does not work 2023-02-17 15:38:57 +01:00
PavelMikus
3d158e545e Debug version, threading disabled for the first part currently and crashing. But core should be finished 2023-02-17 15:38:57 +01:00
Pavel Mikus
a57f98961e reconstruction of polygon from vertical slices TODO 2023-02-17 15:38:57 +01:00
PavelMikus
ebcedca211 write down general idea how to continue 2023-02-17 15:38:57 +01:00