350 Commits

Author SHA1 Message Date
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 #9467 #9519 #9646
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
PavelMikus
fd81d7a460 Compute bridging direction. Now what is left is to stretch the bridge lines across infill and cut them to ideal length 2023-02-17 15:38:57 +01:00
PavelMikus
696b316e2b initial implementation, trying to filter out surfaces that need expansion 2023-02-17 15:38:57 +01:00
Vojtech Bubnik
978f5c8b47 Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani 2023-02-17 15:20:47 +01:00
PavelMikus
664e923f3c Fix autopaint tool when using RAFT layers 2023-02-17 13:34:50 +01:00
Vojtech Bubnik
edd6c7c9d9 Removed an obscure "clip_multipart_objects" option, which caused more
harm than good and it is not compatible with the new layer island
Z graph.
Partial fix of #9679
2023-02-16 16:31:29 +01:00
Vojtech Bubnik
5b94971fce Organic supports: Added check for variable layer height, with which
Organic supports are not compatible.
Fixes #9528 and similar.
Moved the object max Z against build volume Z to Print::validate().
Updated layer_height_profile_from_ranges() to compress the resulting
ranges.
2023-02-03 15:27:50 +01:00
Vojtech Bubnik
001358cbba Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani 2023-02-02 09:53:14 +01:00
Pavel Mikus
66a4b5b82a Refactored stability alert step from object step into print step,
implemented stability issues grouping based on number of issues and objects,
maximum of single warning message emitted
2023-01-29 20:11:50 +01:00
PavelMikus
8cb414c262 fix worng step type passed into set-done in new alert step 2023-01-27 15:00:10 +01:00
PavelMikus
05c4e759cf Move checkbox for support alerts into AppConfig preferences.
Separate Alerts into new print object step so that not warnings are thrown for autopaint.
finally fix -1 access int SupportSpotGenerator bridge detection
2023-01-27 15:00:10 +01:00
PavelMikus
d16f9e0410 add check button for disabling the support alerts 2023-01-26 15:50:18 +01:00
enricoturri1966
92d26883a5 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into vb_et_instances_synch 2023-01-26 10:00:58 +01:00
enricoturri1966
643d50813d Removed function double rotation_diff_z(const Vec3d &rot_xyz_from, const Vec3d &rot_xyz_to) and remaining code using it 2023-01-26 10:00:35 +01:00
PavelMikus
c38bd9adde missing space in description 2023-01-25 17:01:58 +01:00
PavelMikus
c09a44779d brim integration into SupportSpotGenerator 2023-01-25 17:01:58 +01:00