Commit Graph

133 Commits

Author SHA1 Message Date
salt.wei 0f1a001fd6 ENH: sync some code change from prusa
Sync some code change and fix from Prusa.
Thanks Prusa.

This also can fix github issue #317

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If6993e0149733ccf85ed85f82553caa03df7ac60
2022-10-20 19:34:37 +08:00
Stone Li 91d5ba2870 NEW: support send gcode to third-party printer
Thanks SoftForever for your works to support
sending a gcode file to third-party printer

Change-Id: I3cba43c8bd878f1f1c2fd5fae202ed4d922e8727
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
chunmao.guo 37723752cd ENH: optimize media file user interface
Change-Id: Ic16133fd366fcbf41dd0c9535907786754186857
2022-10-20 19:34:37 +08:00
salt.wei 4ef50375cb ENH: resume addition cooling fan after filament change
During filament changing, additional cooling fan may
be closed to reduce strings. Force to resume after
changing filament.

This logic is same with part cooling fan.
So no side effect.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I207c8692dbe5b0450ed0a3d11c4c9b70eda0e28c
2022-10-20 19:34:37 +08:00
zhimin.zeng a2d65c0c6a FIX: do not use interface support filament for default support
Change-Id: Ieb9da1df74b17e81a0fdb4d0b7e9bead54d8bb96
(cherry picked from commit b54caf82b1bc6d2097188c75c57e2f4e6b7792fc)
2022-10-20 19:34:37 +08:00
salt.wei d47d82bf43 ENH: add preset for ender3 printer
As title.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I2d9b1aaeadfe945a6a90f34cdb10a1f240a50ae4
(cherry picked from commit a223ab23605c3ef96ae878b9c4d2199520b4f201)
2022-10-20 19:34:37 +08:00
salt.wei cd82f70002 ENH: add preset of voron
As title. Thanks SoftFever.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I752413251b7699f8d1d26c44d71d912e1ef09c7b
(cherry picked from commit 606a69173e10d0a45e1f1987c36e45c3c89a7f09)
2022-10-20 19:34:37 +08:00
tao wang b5979375b4 NEW:add the download path edit in the preferences
Change-Id: I8dfd3373a25bdd9d70360b61605d92f20052d478
2022-10-20 19:34:37 +08:00
Stone Li de5f9dfb12 NEW: add ams mapping info when sending a job
Change-Id: Ic225c34762be7293155befd87b61f9b5056cb937
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
salt.wei 54377760b9 ENH: use different margin for top/bottom and bottom bridge
Too large margin for bridge will cause overflow for
shell model. But too small margin for top/bottom will
cause infill area discontinuous.

Using different margin for top/bottom and bridge to
make a balance.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I9ba8388b85b978ae39caf2df04f96c704b5d2e05
2022-10-20 19:34:37 +08:00
salt.wei ccd7b7fd7b ENH: modify default value to support 3rd-party printer
As title.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id8be38a23e4fe4c19eb255ffb7cabf1befeae85b
2022-10-20 19:34:37 +08:00
Arthur efec8fef2f ENH: move extruder clearance settings to machine setting
Change-Id: Id6d550548f8fb8639349450a4b12c6eef4f441cd
(cherry picked from commit bd4420e4af9626772c90d553bf1f3bb7fd2e20c4)
2022-10-20 19:34:37 +08:00
salt.wei c02dd81c61 ENH: emit printing acceleration before start gcode
As title. Make calibration to use printing acceleration,
although no-using has no influence on calibration.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I98cb791c1e0fba6b77360b60567c29511cff75b8
2022-10-20 19:34:37 +08:00
salt.wei fd0f22b771 ENH: don't calculate overhang degree if disable overhang slow down
When the model has no overhang, user may disable overhang
slowing down.
In this case, it's unnecessary to calculate overhang
degree which make slicing slow when model is complex.

This is improvement for github issue #331.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I2eaeca3ee4068f76709fe97535bbf05c0d27c062
2022-10-20 19:34:37 +08:00
liz.li 81da77d1e0 NEW:DailyTips
Change-Id: I510e96652c9a0c9fe422546b09b2d035d9e46a23
2022-10-20 19:34:37 +08:00
Stone Li 3651066a77 FIX: do not upload auxilary file when send a printing job
Change-Id: I030cb93cf9b34036bf4f9164a2bd691b23328a9b
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
lane.wei c855cdaf54 ENH: refine the text description of collision
Change-Id: Id78537de719cd5081c097694948a81ee735205f9
2022-10-09 10:37:45 +08:00
Arthur c9e8ef3f93 FIX: fix two tree support bugs
1. hybrid(auto) on_buildplate_only option not working correctly because
parent is not set.
2. tree(auto) on_buildplate_only not working correctly because unsupported
branch isn't deleted completely. I add child to track the dangling nodes
and then delete nodes with no child.

Change-Id: I24c69a7cf400d2961b22a720a6069cf95db6c1a5
(cherry picked from commit bce77c16128d35c668b175e7135b9fe9acd71d13)
2022-10-09 10:37:45 +08:00
zhimin.zeng d7a8219a8f FIX: modify reorder extruders time
Change-Id: Ib72faf039dee6a08770617c4c2f341079d7e02e9
(cherry picked from commit 5e9d479bd7d7ef54bcafe7181dcdd8c03adaae51)
2022-10-09 10:37:45 +08:00
salt.wei 63a33c8d1a ENH: revert the bridge change
Find some problem for the change of bridge, revert.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib195a9b4425fa54408bcd3842bbafc41a3c79409
2022-09-30 17:37:38 +08:00
SoftFever 5200e03257 Fix an issue that bed temperature for other layers is not set properly 2022-09-29 11:46:21 +08: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
zhimin.zeng cb569fdb55 FIX: fix the extrude speed
Change-Id: I11d91c3bc422664d5a851966297a6b874fc1815a
2022-09-29 11:16:43 +08:00
chunmao.guo 35bb20b2cf FIX: use thread stack to keep shared ref of PrinterFileSystem
Change-Id: I86dce263f43eb65074d4fec777cb08885505b7cf
(cherry picked from commit 1dbc32b2335c33831ac94a787c8e7ec7d898ccba)
2022-09-29 11:16:43 +08:00
zhimin.zeng b468b0da0e FIX: wipe tower lose step in the printing process
Change-Id: I17b72dd2fb7332a39859a5c3727b34d14ff827d8
(cherry picked from commit dbdd71f0b89e3d4d188e4937cdb1db1510b5f208)
2022-09-29 11:16:43 +08:00
zhimin.zeng 92a59a60b4 FIX: Incorrect color of a layer after slicing
Change-Id: I8b53d4cdf23d8f3389b1063ec84572ede3706ca2
(cherry picked from commit 608150a1b823e5c728540dc62df9a03571acfe9a)
2022-09-29 11:16:43 +08:00
zhimin.zeng e2d65994f9 FIX: disable wipe tower still prompting too close to the tower
Change-Id: Ie6a3be2fb6021bc6f5e18cd061667e02d7b36f0b
(cherry picked from commit b83337f56b61d3b80679ec2714594012550e6f4b)
2022-09-29 11:16:43 +08:00
salt.wei 80575cd269 ENH: some change for external bridge
1 move thick bridge from support to quality page

2 Fix the issue that some times the external bridge angle
is not the best, and the bridge line is not the shortest one.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ie26570fb289898f6b62960f9333e79aa92c08ae4
2022-09-29 11:16:43 +08:00
chunmao.guo c5024af7e2 FIX: move preset dirty suffix to prefix
Change-Id: I52d4d6e3dea28d071eb7bf2f3b5e77b5e1b8c8bb
2022-09-29 11:16:43 +08:00
Stone Li 2996affc55 ENH: save uniform scale to an app_config item
Change-Id: Ib4a42597308382ea195d73776790e9cd4a122b76
2022-09-29 11:16:43 +08:00
Arthur abddb1edc3 NEW: add support_critical_regions_only for tree support
When this option enabled, only generate supports for sharp tail, cantilever,
thin pillar (not well supported). So holes are safe from unnessary supports.

Currently only works for tree supports, will need to copied to normal
supports if it works fine.

Change-Id: I5eb86484a5b503149e3bfdee8ce73f76a0a849e4
2022-09-29 11:16:43 +08:00
salt.wei 5152a90545 ENH: add some pattern back for user case
For github issue #328

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Iafbb141173f4ebe8352c5247f5de00ee671077e5
2022-09-29 11:16:43 +08:00
zhimin.zeng 0072e5ec37 FIX: prompt when opening 3mf
Change-Id: Ife452f5b16bdcf3f8eb105aeb58ffccdccb9177f
(cherry picked from commit c1e984d0feadef778fd09e61063ac1dacbbf9a64)
2022-09-29 11:16:43 +08:00
Arthur fae9036f01 FIX: tree support floating branches
Change-Id: Id28324e7676b28a315b03055d941b9876b2b3b5b
(cherry picked from commit 8b5d3fae4a476b91caf854cc75d5de36ff984790)
2022-09-29 11:16:43 +08:00
zhimin.zeng 2ee113b9da FIX: Remember the bed typ of the previous project
Change-Id: Id3b0e4ec7f8b4fcb2396f6f9f22789736e48eb8a
(cherry picked from commit 2ea818594b6da0ee323b5e255c36b45ff4247324)
2022-09-29 11:16:43 +08:00
chunmao.guo 673b6418c1 ENH: sync with ams filament
Change-Id: Ifa8b9487c934a18ad1003f380bbb53fa9288e387
2022-09-29 11:16:43 +08:00
salt.wei 6a8d42359a ENH: don't load empty mesh when loading step
This is fix for crash issue for some specific step
file, which generate empty mesh.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I910e3d2da670b623570665265a12361492bd706b
2022-09-29 11:16:43 +08:00
zhimin.zeng 87718e6725 FIX: prompt when opening 3mf
Change-Id: I645bb675ea060ca3827a597b13a86cd56425735f
(cherry picked from commit 743d0bf1757a886784a41cc35c4f13381d27699d)
2022-09-29 11:16:43 +08:00
zhimin.zeng 46a0e67be7 FIX: sort extruders for minimal flush volume
Change-Id: Idf96e10ae5a8809a689c80e38611a14dbb108f0a
(cherry picked from commit cbfa3f17807313b7120e19e5f30836fb49d36b55)
2022-09-29 11:16:43 +08:00
zhimin.zeng 9f74ea5763 FIX: wipe tower does not extruder fill in smooth mode timelapse
Change-Id: Ia6957cfe41ed3624baa4c12b6df90462fc436475
(cherry picked from commit 39ecccc94bea2a43a74ac852f121c5dbc739dc67)
2022-09-29 11:16:43 +08:00
liz.li 07d234825e NEW:show flush of every filament on gcodeviewer
1.show flush of every filament
2.modify first-layer text display
3.show time in seconds when time cost < 1h
4.forbid add-filament when print by-object

Change-Id: Ib8a94b9f620797e367bfc9e8a33abd5d7ab648ec
2022-09-29 11:16:43 +08:00
salt.wei fac58ccefa ENH: reduce infill margin for small nozzle
Small nozzle has higher print accuracy. Reduce
infill margin to improve bridge overlap quality.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I5321c2fe1fe5c3d6422c5f11e8c9f0b82b9ba5bd
2022-09-29 11:16:43 +08:00
salt.wei 6d8887e858 ENH: handle github issue 254 and 286
1 add back Aligned Rectilinear infill pattern

2 allow wall loop to be 0

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id2873b9107b7b269466a8db1768dfead9ebdad0d
2022-09-29 11:16:43 +08:00
salt.wei db9ade2257 ENH: enable arachne for concentric pattern
Enable arachne for concentric pattern by
referring to PrusaSlicer

Also remove useless pattern we added.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ie2574f7fc4751ebdf1caab4de52013f3101e104f
2022-09-29 11:16:43 +08:00
salt.wei 3e0f26c296 ENH: remove old typo
Delete some useless and wrong code

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If103e5ced2c930340e6291a63e2226ecf577f19e
2022-09-29 11:16:43 +08:00
salt.wei 014152f078 ENH: wrong == in brim code
Typo, Should be fixed.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I576b15df9bc738ef2c4440356afc06c9132bd9eb
2022-09-15 16:03:53 +08:00
salt.wei d4854c0df7 ENH: fix empty infill layers
This is fix for github issue #216 that
sometimes the infill layer is empty.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ie3be08b75506e48f5ae9dd6aae2ae729ba666e01
2022-09-15 16:03:53 +08:00
lane.wei d9d88b8022 change the main thread name to bambustu_main
the max length of linux's thread name could only be 16 bytes
bambustudio_main can not be set by pthread_setname_np

Change-Id: Idab83896c81787b32f6a4dde869b101da1d69e5c
2022-09-14 17:39:11 +08:00
zhimin.zeng 084ea583fb FIX: support to import color in standard 3mf
Change-Id: I631e3f62c4d996924efafdfe9352d1585ad4d130
(cherry picked from commit ec08a5194b45a98973eb53ab0022a0799238134c)
2022-09-14 17:39:11 +08:00