Commit Graph

25 Commits

Author SHA1 Message Date
zhimin.zeng c782fbb8d9 ENH: Separate the number of color bleed layers from top_shell_layers
jira: none
Change-Id: I32c14be306ad3fa5970f8c8af8622e086cbca3d9
2025-03-24 09:04:48 +08:00
Noisyfox a21779dd30 NEW: Port of Cura's multi-material interlocking (#5775)
* Init port of Cura's MM interlocking

* Refactor a bit

* Fix crash when bottom surface is multi-color

* Fix crash when boundary avoidance is 0

* Add config

---------

Co-authored-by: zhimin.zeng <zhimin.zeng@bambulab.com>
jira: none
Change-Id: I81cacddf46ad5921a7a2a23fff07cc17addceb6f
2025-03-22 20:58:36 +08:00
zhimin.zeng dcd9fd5013 FIX: backend get the extruder id based on filament_map
Change-Id: Ib7679c0fc67336e462467dab9f5b4d4684d6eb19
2025-03-22 20:31:44 +08:00
zhimin.zeng 6b09cfee71 FIX: modify parameter type of process preset
jira: none
Change-Id: I5c973a29e5b983e3f480d55aeeb2b14d13e950ee
2025-03-22 20:30:22 +08:00
zhimin.zeng 4829d22f8c FIX: crash when slice model
Due to accuracy issues, some points are not within the boundingbox.
github: 4615 associated with 3749

Change-Id: Ic2fb359d9779191c8c98660e13275147b0cc09cd
2024-10-28 20:51:35 +08:00
zhimin.zeng 63d59f0104 FIX: the slicing result is incorrect in multi-color case
jira: udesk: https://bblcs.s5.udesk.cn/entry/ticket/show/7173936
Change-Id: I183a45448b6cc5cff094c2d0567797e7220485f5
2024-10-15 15:50:26 +08:00
Arthur 68625a6e60 ENH: add vertical support enforcer
Previously painting support enforces on vertical faces doesn't work, as projecting the facets downwards will give empty polygons.
Now we use a different mechanism to enable vertical paint-on enforces, by directly adding contact nodes.
Note: this feature only works with tree support as only tree support has contact nodes.

jira: none
Change-Id: Id171b1665566d142a6427285baccb40c0aa00949
(cherry picked from commit 9c882f61eb37350a4486df58de48f0ae489f2d15)
2024-10-15 15:50:26 +08:00
zhimin.zeng a1c3a99011 FIX: crash when top_shell_layer = 0 and is sinking
github: 4673
Change-Id: I260b48e833f47383c582f813d979a4fdc2926dd2
2024-10-15 15:50:26 +08:00
zhimin.zeng 0b0e03df1f FIX: Multicolor slicing error when contours self-intersect
github: 4138
Change-Id: I08375e2cf66d4fa4c7322f5aa1b8e86a7c49bf2d
(cherry picked from commit b2a1f816605615cbd2e47c62a00d3b87998e3213)
2024-06-11 18:17:08 +08:00
zhimin.zeng 922e533fdf FIX: interlocking_depth does not take effect
jira: none
Change-Id: I5298c3fd9ca20273f7e84262d35a59f6aa6e5f41
2024-06-11 18:17:08 +08:00
Lukas Matena 551ba96205 ENH: modify the multi-material segmentation and voronoi
This patch is cherry pick from Prusa, thanks to Prusa

Rework multi-material segmentation to work directly on the Voronoi diagram without creating a copy of it.

Previous algorithms assume that they can get an invalid Voronoi diagram. Because of that, during the multi-material segmentation, a copy of the Voronoi diagram was created, and there were several attempts to fix missing vertices and edges. But as it shows, this wasn't a good enough approach and sometimes led to several issues like bleeding layers.

After generalization, our approach for detection and repairs of invalid Voronoi diagrams from Arachne, we could assume that multi-material segmentation gets non-invalid Voronoi diagrams.
With this assumption, we reimplement multi-materials segmentation to work directly on the Voronoi diagram. That should make multi-material segmentation more stable.

So, this should fix several issues like bleeding layers. Also, memory consumption should decrease by a lot. Also, there should be some speedup of multi-materials segmentation.

Jira: none
Change-Id: I72aa6e1f9634d9ee8759aa469a0b39a36ace62f5
2024-04-08 19:50:03 +08:00
zhimin.zeng 92d125c41f FIX: Slicer creates invalid color pattern
github: 3749
Change-Id: I3fd74a9ca59b75873fcbca4437e4858c749ee853
2024-04-08 19:50:03 +08:00
zhimin.zeng 0ba47b8e06 FIX: Color Bleed in slicer
github: 3681 jira: 6450
Change-Id: Icb6274f7ddb238c238c133b95167310b1af905f7
2024-03-25 15:29:19 +08:00
zhimin.zeng 32399c9ff2 FIX: unexpected layers in multi color print
github: 3131
Change-Id: I2a42e3bbd2247fbc0957022e1baae43c9375a8fb
2024-03-25 15:29:19 +08:00
qing.zhang d98a3053ab FIX: fix crash while outer wall width is 0
Jira: 4437

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I5e4a15d3e8b428612cc7988789719697f23dde2e
2023-11-01 09:33:21 +08:00
Lukáš Hejl 11b55ccd73 ENH: Added option for enabling interlocking between segmented regions
by the multimaterial painting.
This commit is cherry pick from Prusa, the commit number is
9bce0fcf9bb479c289c396e7e23ce95841a61628
Thanks to Prusa.
Jira: XXXX

Change-Id: I29ad1fa9ab3ccc393a1e2affde1ae869d0a33afa
2023-11-01 09:33:21 +08:00
zhimin.zeng 639bf63af5 FIX: filament painting doesnt work properly #2078
STUDIO-3731

Change-Id: Ifc93baf194d5e81eb7e00facf85344bfc05878fc
2023-11-01 09:11:19 +08:00
zhimin.zeng 4d958df4b3 FIX: Concave painting of thin objects does not work.STUDIO-2334
Change-Id: I4812e7940f4f2764a51881d10bc513e7e6c028b6
2023-04-17 15:39:02 +08:00
zhimin.zeng abf12366e7 FIX: Problems due to precision errors. STUDIO-2051
Change-Id: I8005f2879b33408df44c476e4297928ca0c52ed9
(cherry picked from commit e789ddd050ee69404a9f6a88686eeed0880da00f)
2023-04-17 15:39:02 +08:00
zhimin.zeng ebaf87f033 FIX: The paint on the top surface is embedded in the sparse fill
Change-Id: I5e95bd22684d79413322fce2924fa4ff8f668c0e
2023-04-17 15:39:02 +08:00
zhimin.zeng 8887bc3af9 FIX: Incorrect results for multi-color object slicing
Change-Id: Ia2f96d3afb128faa72b6872bcbe2914ddcbe71fe
2023-02-02 12:14:41 +08:00
zhimin.zeng fe3a1f724c FIX: special model slice color is incorrect
Change-Id: I35eb51920e4d586354a98aac61aa4a806ea66464
(cherry picked from commit 7eae730907e25733968853a850762458bf0682ac)
2022-12-15 04:38:15 -05:00
yifan.wu b6a077b128 FIX: top shell filament does not hide the internal filament
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I143b49075992bb9556f248886ab5f1a442db8deb
2022-09-29 11:16:43 +08:00
yifan.wu 3f5e88b9a1 FIX: abnormal color line in multi-color slicing
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Ie9c7242f2c320a1ece24df4690b74b599e32f7c6
2022-09-29 11:16:43 +08:00
lane.wei 1555904bef Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00