Commit Graph

323 Commits

Author SHA1 Message Date
Stone Li bde96c1542 FIX: several small fixs
Change-Id: Iee10daeedae924fa829148841556e31eb5e9d225
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:33:48 -05:00
salt.wei f01cf37ead ENH: preset improvement
Reduce infill/wall overlap

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I7999f278fdba620bd463ecd315bc35a7b725c2bd
2022-12-15 04:33:48 -05:00
salt.wei e863d1054a ENH: add clipper2 for preparing
Add clipper2 code into repo

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib98ea3085055db7d125a92879c46b54e39bdc6b1
(cherry picked from commit 7398e71236a300531a172163c71f15440c37bd5e)
2022-12-15 04:33:48 -05:00
yifan.wu f258da6add FIX: remove gap btw internal bridge and inner wall
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I7223cedb4ab5394b370d8e413dbbf478b9928c42
(cherry picked from commit be4daaf6fc5428b51b239c5692d1735d4e47b1f6)
2022-12-15 04:33:48 -05:00
zhimin.zeng aa1bd63d61 FIX: WipeTowerIntegration::append_tcr error when slicing
Change-Id: I8055c7c8586fec3dbdc757daf18b740835ce4b13
(cherry picked from commit 5bf6f1b9d5c1ce376bee149df0110d1e44f1d343)
2022-12-15 04:33:48 -05:00
zhimin.zeng 82325973f8 FIX: prime tower start position is incorrect
when support material is used in first tool change

Change-Id: If06459b8404fd599b42187859f476efded57deba
(cherry picked from commit 71f9ed69a3eff4cf3139d04a76176f798a1e1e0d)
2022-12-15 04:33:48 -05:00
zhimin.zeng 118a13200b FIX: variable layer height prompt an error when enable the prime tower
Change-Id: I80b3965d25a9e1faaff1298f42b171660974463e
(cherry picked from commit a519f82ce7c1b169ad995d10a28e873e133f2373)
2022-12-15 04:33:48 -05:00
Arthur a330429af7 ENH: change manual support names
Add (manual) to normal and tree for better understanding.

Change-Id: I6d39764a16510707912dfdeb80787d63a6e5ad96
(cherry picked from commit 46a0e9a1bb5da747f7d8c90a9235ae59ddf68bc4)
2022-12-15 04:33:48 -05:00
Arthur 7bdba58b98 ENH: save bed type in 3mf for first layer scan
Change-Id: Id3d83a58f0cca4899e3247b5854500af79cf1b34
(cherry picked from commit d192ae2d8c7d404048e980cfaa0846be48c5fbad)
2022-12-15 04:33:48 -05:00
liz.li 9f4a2c0c1c FIX: layer height cannot edit after changing layer_height by parameter
Change-Id: I7da6c7d4ed1a0392ec2a1d961cf75be8426167ac
2022-12-15 04:33:48 -05:00
salt.wei 13ca93adc8 ENH: some change to support layer height edit
1 delete adaptive layer height config
2 support load and save layer heights profile with 3MF

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I109b3b791c3130b5ab2df445e8ae5cb55a78cec1
2022-12-15 04:33:48 -05:00
salt.wei c1599aa138 ENH: add back even-odd mode
Add back even-odd mode to support slicing 3DLabPrint
airplane models

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id3efcfb0ecf98350add7a19885750df74d4fdedd
(cherry picked from commit 553371e61e35355b3a73694d4cf9acb179b2a427)
2022-12-15 04:33:48 -05:00
chunmao.guo 0da5585582 FIX: [STUDIO-1193] jump to object in slice object warnings
Change-Id: Ic6445d81a31e3ecaa069c5fd49b177dc454dc1b9
2022-12-15 04:33:48 -05:00
liz.li 22dd20ab58 NEW:add variable layer height
Change-Id: Idef7f0dea32e4faaeb4d6eb188695cc7b554099c
(cherry picked from commit 4969835159eebb356e9b26dab223ad0a18882b70)
2022-12-15 04:33:48 -05:00
lane.wei 6be79946f4 FIX: fix the appconfog:save exception under virtualbox of linux
Change-Id: Iadf682727d8ac2ac8694b03e999790866120bf10
2022-12-15 04:33:48 -05:00
lane.wei 55f55e3ad9 ENH: CLI: refine logic
1. return error when there is object partly inside the plate;
2. add the status callback for progress indicating
3. add the version in help
4. fix the return state of validation from 1 to -51

Change-Id: I716057bd5b28a4beb2871614b94708a0860af1a2
2022-12-15 04:33:48 -05:00
salt.wei c70e8d486f ENH: update jerk strategy according to printer
Jerk handling has been changed in printer.
Changed in slicer as well.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ic3aef43a534a7f0b85b734e747dc3ca883faaa46
2022-12-15 04:33:48 -05:00
Arthur 4b7ad20159 FIX: tree support may crash for faulty models
Root cause: overhang offset may be empty
Jira: STUDIO-1197

Change-Id: If472be8ed6d209366f118f1f0e5e14b41ce26b3c
(cherry picked from commit 663e7f29f01395bf335b6bccc91f192b64be69ae)
2022-12-15 04:33:48 -05:00
lane.wei dbcdc876ac FIX: fix the print config status not correct issue
the print object updating is behind the .normalize_fdm
which will cause some issue in corner cases

Change-Id: I57e9e7aa2acff81b89aedd95ffc7a7effb76cc6b
2022-12-15 04:33:48 -05:00
Arthur 5fa771c6cb ENH: improve auto-arrange in several ways
1. reduce expansion of exclusion regions
2. expand extrusion calib regions to let them touch bed boundary, to
   greately simplify auto-arranging with avoidance option on
3. improve dist_for_BOTTOM_LEFT to allow objects be put left to
    exclusion regions temporarily
4. improve on_preload for better handling objects around exclusion regions.
5. improve debug tools
6. fix a bug with wipe tower estimation (don't estimate if wipe tower is
    explicitly disabled)
7. use larger y-overlap threshold to estimate rod height confliction
   better in per-object print ordering (now we use half the clearance
   radius)

Change-Id: Iab29d47a072d8515f28a09855432f92fcffa8c5f
(cherry picked from commit 3a4f242a3a6fd2f82dcc8306cde4d1cb107a5099)
2022-12-15 04:33:48 -05:00
Stone Li cd1210b0ca ENH: save error code to slice info
Change-Id: Ic70ef81775c23d160f40ff29f02cc9e1f9d336d6
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:33:48 -05:00
qing.zhang 1167225348 ENH: fix extrusion of interface on the first layer
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I08a3599e349f2137a53737010220209dc2a54d6a
2022-12-15 04:33:48 -05:00
qing.zhang 8d71053b08 ENH: allow to print PETG with other filaments
and do not check temp when print by object

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I4a89b181df478cdb2fb925ab5fc7d9415059a1f6
2022-12-15 04:33:48 -05:00
qing.zhang d0def61ca0 ENH: fix the warning msg of nozzle hrc check
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0cb6d10e002b3053624a970ecca12801576d8250
2022-12-15 04:33:48 -05:00
Stone Li e4198ad63a NEW: add a new slicing warning
Change-Id: I62a31e505318441699141a5c86355c8d41b890f2
2022-12-15 04:33:48 -05:00
salt.wei 47302b0cf9 ENH: support force cooling for outer wall only
For PA-cf material, forcing cooling for all outer
wall and using lower fan speed for infill and inner
wall can get more high strength.

Add this cooling strategy.

When set overhang fan threshold to be 0%, then bridge
and all outer wall will be force to cool with
the overhang fan speed.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ideed1ac8690f1eeb68aad760678db76bb4dae8ec
2022-12-15 04:33:48 -05:00
salt.wei 35edf03eca ENH: add "ensure_vertical_shell_thickness" back
See the new requirement of the latest update at
github issue #317

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I68c9922a272b1d426126a531bfdee7a4f7e53620
2022-12-15 04:33:48 -05:00
zhimin.zeng 687476bc27 FIX: modify the translation
Change-Id: Ia147871df754f5188fb7a0a8fcfac01e2db18c1d
2022-12-15 04:33:48 -05:00
salt.wei bd577fafb2 ENH: don't apply new fan speed until filament change finished
This patch can make sure that the cooling fan will not
be enabled during change fimanet.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I9f480b99116d62fe7522233b69b5bca209663821
2022-12-15 04:33:48 -05:00
qing.zhang 99eee4a2d6 ENH: reroder the path seq for concentric fill pattern
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I06bb9c5666e2205364d7031815e868eccfee6fd5
2022-12-15 04:33:48 -05:00
qing.zhang 6ca5df9118 NEW: add nozzle_hrc and filament required hrc
hrc determine which filament could be printed by the nozzle
if the filament required hrc smaller than the nozzle hrc
the fillament could be printed

either of it be zero means use other printers
or user want to print it anyway

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ic32dfaed4f9c80774a670c362de612254f3a5ed0
2022-12-15 04:33:48 -05:00
chunmao.guo 711f5906b9 FIX: save and restore filament colors and flush volumes
Change-Id: I04b80d95e6a3e23ef3561e512673ea39dfc3ff0c
2022-12-15 04:33:48 -05:00
salt.wei 11f74c21d3 ENH: add bridge direction option
In some complicated cases or irregular shape, the direction
of external bridge is not good when calculated automaticlly.
So user may use modifier to change bridge direction.

This is handling for github issue #340

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I3baf313f47925fa7e6aa087f5896b0af560f902d
2022-12-15 04:33:48 -05:00
zhimin.zeng 09c4a08cb5 FIX: Prompting flush options not take effect when disable wipe tower
Change-Id: Id1195880ebe6021136446dc02ea46224aff4e801
(cherry picked from commit 7edd7f389c97acad8baa0bb809914d3aeeb75fd8)
2022-12-15 04:33:48 -05:00
zhimin.zeng 13df80ffb7 ENH: remember the filament_opts and limit minimum flushing volumes
Change-Id: I7b2538fcaf5b5fc5e4f86191207de981bd766a89
(cherry picked from commit 392be8d2a4e9465fffc4018da77c6ee00ad46ade)
2022-12-15 04:33:48 -05:00
zhimin.zeng eb80720e75 NEW: import svg files
Change-Id: I1658308f9d9529c969f7067d053f16f779f8b6a6
(cherry picked from commit bfcb05e24ef5224cabc42772e94cc0cbed3de412)
2022-12-15 04:33:48 -05:00
yifan.wu 795c03164f ENH: move raft to advanced mode
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I805e9059405680926a5423b5aa0e23d97840a51a
2022-12-15 04:33:48 -05:00
yifan.wu e363966f9b ENH: support to set bed type for each plate
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I654743ce8b49057587545c3acfe0b78504242d46
2022-12-15 04:33:48 -05:00
salt.wei c61fd447c9 ENH: fix duplicate setting name
As title.

Test multi-color 3MF loading OK

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I9b2791f8d020a051f934cda3027293a948b07088
2022-12-15 04:33:48 -05:00
qing.zhang 4d8eefb1ea ENH: open the filament_color preset
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Idca08be5401aad1672adc46f9604338e3456f519
2022-12-15 04:33:48 -05:00
salt.wei 569f76ecf1 ENH: provide settings for fuzzy skin
When fuzzy skin is enabled, show more related settings
so that user can tune.

This is enhancement for github issue #44

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I35e3883983b62117c4306dd894a04edd40c70f8e
2022-12-15 04:33:48 -05:00
Arthur f8fc565dd8 ENH: ease tree support removal
We discover a good quaility interface can help remove support. When
enabling interface, directly generating circles from overhang polygons
gives fairly good quality.

Change-Id: I5d347fa7abaacea839650b6fd3a8c2c73abd5e56
(cherry picked from commit 474cbf7d59beda63e9ef1ec8b52636f2674811c7)
2022-12-15 04:33:48 -05:00
salt.wei 5e024f75b9 ENH: support specific acceleration for outer wall
So we can set lower acceleration for outer wall now.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib4728bf16f6c540afca62f423c8aab4c9e0c4d02
2022-12-15 04:33:48 -05:00
qing.zhang 9c32cff1dd FIX: modify the max volumetric speed of default fliament
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I6c84b35d0b4a663a3f2fdd96ce2fa5a7dd3208b7
2022-12-15 04:33:48 -05:00
yifan.wu 9e89a1e10e ENH: optimize the performance of slicing
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Ic769fabf641eb07eaf5cb55bf308a49831998470
2022-12-15 04:33:48 -05:00
lane.wei d641f947d6 ENH: some small refines
1. don't sync_tooltip for it is not used
2. enable the dll black list
3. add some log

Change-Id: I4f7ea008121cf7252ef32680b68f063d146661e5
2022-12-15 04:33:48 -05:00
lane.wei 157b081363 FIX: fix the version key treated as unrecognized issue
Change-Id: I0c0a85cb021af54c150e505ed0e11ffa037ed9e6
2022-12-15 04:33:48 -05:00
Arthur 867a5c982c ENH: modify some words to simplify translation
Some sentenses are only slightly different which is
unnecessary. Making them the same can save a
translation and also keep consistency.

Change-Id: Ie59c0bf788a31ee0c6a0d792af7b3d532fe34f75
(cherry picked from commit eb69195569518e3be61e5a8887ea317fbe3e7302)
2022-12-15 04:33:48 -05:00
salt.wei 1c6c8ff696 ENH: regenerate wall when switch to manual brim
The first layer order should be outer wall first,
when the object indeed has brim.

So must regenerate wall when switch to manual brim.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I44fd0686b7a0e836337f5e6ff8ee311ea0c7bceb
2022-12-15 04:33:48 -05:00
liz.li 0b84ca62bf NEW: add custom printer config wizard
Change-Id: I48f34039635803c3f1cee4cc2c853a0ffa5b451a
Signed-off-by: Stone Li <stone.li@bambulab.com>
(cherry picked from commit 387ba2a5aac05d3b3af0923f88415188ae8cb44e)
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:33:48 -05:00
zhimin.zeng 96707fc4b4 FIX: tool change time is too long
Change-Id: Iaecc3dc832c6a20a2acc180a79923e45b97f18f3
(cherry picked from commit a3528545af4176bdba3240120ebde32abf8a9d8d)
(cherry picked from commit cbdab12b2e218427e51f39d6860b00a844caef7a)
2022-11-07 19:59:23 +08:00
Stone Li 239f7e3e32 FIX: clean preset_folder when logging out
Change-Id: I0a61db6b6ae0fc4bad1f178e1492384a42de1501
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-11-07 19:59:23 +08:00
猫山王 c21c84c62f remove: "ENH: add paint-on support on vertical faces"
This reverts commit ccf1746530a6f68d38a9b6714e70a0acdbec5b8c.

Reason for revert: multi color printing has problem

Change-Id: Ibc53b99a715b987ee447d7c3b03407de2790abaf
2022-11-07 19:59:23 +08:00
qing.zhang eae71a5184 ENH: remove the dulicate warning msg of temp
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I978f2de34e277c6747adc783cb91c341f159a67e
2022-11-01 20:52:23 +08:00
lane.wei 7086a3fb5a ENH: add some logs for appconfig::save exception
Change-Id: Ic65345af7debdb340fce5dd03fe09257d7c2c395
2022-11-01 20:52:23 +08:00
Arthur 8dd401d35f FIX: auto-arrange reads wrongs first_bed_temp
Also change words for extruder clearance parameters.

Change-Id: I736fd9049d184c140b33078d78f764b4fe172765
(cherry picked from commit e70c0c0ea133cffa5788efbfc9633332b196e8df)
2022-11-01 20:52:23 +08:00
Arthur f16f5afec5 FIX: 2 auto-arrange bugss with per-object printing
1. use strict ordering to ensure the printing order is right
2. reduce height-to-lid to 100mm considering towline is lower than lid
and may collid with objects

TODO: printing brim may still collide, need to subtract inflated boundary of
others during brim generation

Change-Id: Icf0cba10c579d28fabd97764c1b3abec267ebd9b
(cherry picked from commit 46c6f5ff94488b2f4481bf1d34555f4a7c45e135)
2022-11-01 20:52:23 +08:00
Arthur c8c073a199 FIX: print ordering didn't consider object height
This may cause tall objects be printed before short ones. There are two
possible solutions:
1. do strict ordering only when y-overlap is large enough (the one
   chosen in this commit)
2. when considering vertical collision with rod, the actual expansion
   can be much smaller (because the rod is only slightly off extruder).
   But this solution requires an extra parameter. Let's hold it for a
   while.

Change-Id: Icc9a4796d49dad93cbcc20d4103e641a48886e5e
(cherry picked from commit 6a958b1fa9e58e4ca3be63b4918da77bcdc53314)
(cherry picked from commit ceff67789c27ea576afd663a2e5bae9a10241728)
2022-11-01 20:52:23 +08:00
Arthur Tang 5544e9602c FIX: rewrite per-object printing order logic
1. Previous logic can't guarantee left-to-right printing order, so
   toolhead may crash on the right side. In the new algorithm printing
   order is guaranteed.
2. Clearance radius should be the max of 3 directions (left, bottom,
   up), not including right, otherwise collision may happen on bottom or
   up directions.
3. Add is_extrusion_cali_object property to handle extrusion brim
   overlap better.

Change-Id: I44868b9925d983f5cca0c31d35dfa28d895fadbf
2022-11-01 20:52:23 +08:00
qing.zhang 59dfcb98fc FIX: fix the empty layer after adding modifier
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Iad6c149cb5f1a50a199fdf1dd50f4971898972e2
(cherry picked from commit 6065729c6febb9f3a704dde12bda6ad34f62caec)
2022-11-01 20:52:23 +08:00
yifan.wu aaa70fed23 FIX: fix print order issue of flush_into_support
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: Icc4cef72bed7e439b63a0f0fd02a85bbf890ea38
2022-10-20 19:34:37 +08:00
qing.zhang e3d256ca5e FIX: fix the empty layer after adding modifier
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Iad6c149cb5f1a50a199fdf1dd50f4971898972e2
2022-10-20 19:34:37 +08:00
salt.wei cc853d9061 ENH: revert "ENH: fix for modifier region issue"
The original patch can't fix empty layer issue

Revert.

This reverts commit 152a650fb80a84523e977b15f5f30d28837d80e9.

Change-Id: Ib6d47ac981fca24ca953b45068703bbcd231cf95
2022-10-20 19:34:37 +08:00
chunmao.guo f16d2f337e FIX: add process id to save file name
Change-Id: I359d75ef4f7f63e6f5eb5138f18921faa09593fa
2022-10-20 19:34:37 +08:00
yifan.wu 946ba89cd7 FIX: fix an flush_into_support bug for copied objects
Copied objects share extrusion paths but they should be treated
seperately.

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I891c70d261a2fa5b198ec776694d74eeb8fd987f
2022-10-20 19:34:37 +08:00
zhimin.zeng 92c6f85586 FIX: Revert uniform scale modify
Revert "ENH: save uniform scale to an app_config item" Revert "ENH: do uniform scale if uniform_scale is true"

Change-Id: I069baecec143e77d796247f29cd5478b877971fb
(cherry picked from commit c7cf95cf5c365f314a53fead6612fac84a0a5f71)
2022-10-20 19:34:37 +08:00
salt.wei 10d8b6c609 ENH: first layer nozzle temp doesn't work sometimes
This is a bug when printing multi filament

When the filament changing is finished before printing
first layer, the temperature should be resumed to be
initial layer nozzle temperature as well.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I82231f8a47fac1995d8f1ba12c4f7797afce2891
2022-10-20 19:34:37 +08:00
yifan.wu 76b40c9636 FIX: fix an flush_into_object bug for copied objects
Copied objects share extrusion paths but they should be treated
seperately.
Thanks hisptoot for the fix.

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I24d3050df7d284e92fc50a0213023a43ee8c529c
2022-10-20 19:34:37 +08:00
yifan.wu 65f57882b9 FIX: fix an exception happened in flush option in debug mode
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
Change-Id: I02847ac516f560863c126ee8bf7bfc9018c2d69e
2022-10-20 19:34:37 +08:00
MusangKing 6f13d5cbf4 ENH: add paint-on support on vertical faces
Add paint-on support on vertical faces of slender rods

Jira: Studio/STIDIO-970

Change-Id: If280b570a8076059b5583f385ba6517bf305723b
(cherry picked from commit 6832ee98ac146421c061fa90840c2751c3b3d875)
2022-10-20 19:34:37 +08:00
Stone Li 13377992f7 FIX: fix flushed filament
Change-Id: I57965d0679d94da483f4ea3b1ada3600e7aa340a
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
lane.wei 0693f8c8c6 Fix: fix the user directory not found issue
wrongly delete by update_user_presets_directory with empty username

Change-Id: I88521cddde5db5aeaccdbc62b09db74f5f596fbe
2022-10-20 19:34:37 +08:00
salt.wei b829419c54 ENH: fix one typo
As title

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ief2cf0129f06ebf3bd1f9eb947ad17ad595cee79
2022-10-20 19:34:37 +08:00
Arthur 3fecdd6e7d FIX: tree support has empty layers for some models
Root cause:
support_floor_layers_above is not properly set,
so adjust_layer_height() fails to detect extremes,
and then deletes the middle layers.

Also reduce max_bridge_length to 10mm.

Jira: STUDIO-1084

Change-Id: I1e72a0600ec7e2b812705e45b47b76189152daac
2022-10-20 19:34:37 +08:00
lane.wei 631897c0a6 ENH: add logic to load default filaments of newly added model
1. fix the prefer_model issue
2. when a printer is visible and no filament is selected, just set its default materials to visible
3. add some log for shutdown debug

Change-Id: I599dbd9c8b180c944ff4086c7638267ff002f94a
2022-10-20 19:34:37 +08:00
Stone Li f968374b46 ENH: some improvements and fixs
1. create user folder if not exists
2. add a tips for binding a printer
3. fix sdcard tips
4. modify icons
5. refine layout of task options

Change-Id: Ic0529cf1e8bdde0128052bc42454f6e6aaae87ca
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
salt.wei 99974c7f59 ENH: add warning info when bed temperature is too high
Add bed temperature checker in gcode processer. And
save slice warning into GcodeProcessorResult.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Iee96e4ab165a3171a5a1e165450bfc360401647f
2022-10-20 19:34:37 +08:00
lane.wei 033830f73b Fix: fix the volume saving issue caused by left-hand logic
now we save volume's matrix seperately,
so we don't need to adjust the vertex order anymore while saving to 3mf

Change-Id: I71b865c44f0d99e2e88e34cd253fcfba583f345c
2022-10-20 19:34:37 +08:00
Stone Li 82a1a38c30 NEW: add slice warning msg to slice_info
Change-Id: I145a14b7ab6f4aff2158ca0f86191e57b7efa643
2022-10-20 19:34:37 +08:00
Stone Li ee62ffcc7d NEW: add confirm dialog after check conditions
confirm to check printer model and slice warnings

Change-Id: I07a272fda1a5e2ebc0f4e106815fe07da5aaa4df
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
Arthur d402e302f3 FIX: hybrid support is too slow
Change-Id: I5c0d0432a0ce4010de044816780fbfbd9aabe30c
(cherry picked from commit 6be3b9cd71ac5708ba03fe6678966c31b73c90eb)
2022-10-20 19:34:37 +08:00
salt.wei c423577e1d ENH: fix for modifier region issue
empty region after adding the modifier cube
this fix for STUDIO-1025

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I5ed35b54f8ee9d2fdc387d1b4391021e4e82aaad
2022-10-20 19:34:37 +08:00
lane.wei 5cee2208d7 ENH: do not throw exception when data directory creating failed in some cases
if the directory already created by other instance
do not throw exception

Change-Id: I3ebde1ab62fa85ea946b6aeafc87aa7468327ce6
2022-10-20 19:34:37 +08:00
Stone Li 35d2e91d68 NEW: support to display internal Version
Change-Id: If074529312fe3f5e32f061280b8c8914fdcaf7e0
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-10-20 19:34:37 +08:00
salt.wei 6c8015ca28 ENH: avoid crossing wall when travel
Provide related two options to avoid crossing wall
when travel.

This is handling for github issue #106

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I127adbb70f33c3954a08f3087e64c4e75212c7f0
2022-10-20 19:34:37 +08:00
xiang.zeng 9cf95696a4 NEW: enable lightning infill pattern for model and tree support
Change-Id: I6e2cbfdd30f8d222f88301ed0c8cc89e21cfdc24
(cherry picked from commit ddfee7c069cfc42685be509d48b8c609e1dc0cfc)
2022-10-20 19:34:37 +08:00
zhimin.zeng f996eedf49 FIX: allow smooth timelapse without wipe tower
Change-Id: I60d487faa96641dbf88f5502d2fa9ccb83e622c6
(cherry picked from commit 0286a7add9c698a2efd6d40910d72a83f06edba5)
2022-10-20 19:34:37 +08:00
salt.wei a3dcc40f23 ENH: fix compiling issue in debug mode
As title.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I1fa86effc355ee350726fc81eef89f8a43bce89a
2022-10-20 19:34:37 +08:00
salt.wei bea9a0854e ENH: fix compiling issue for github branch
Lighting infill has not been enabled on this branch.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ic3c8d1f57fd36e73eaec190a43bf9f5868667d9b
2022-10-20 19:34:37 +08:00
salt.wei b8d9a2fdf3 ENH: add custom gcode back
Add custom gcode back, which can be inserted in
gcode viewer layer slider.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I270cc438bedf11b30f07f8f9bad6ae5436d5a2dd
2022-10-20 19:34:37 +08:00
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
zhimin.zeng 56fddf988a ENH: add reload from disk and replace with stl
Change-Id: I23088c023141c2f8b76ee6d2de663fb4b311f1f5
(cherry picked from commit d4e4b5eb6ef01ea3a3d097809b229c438ee18169)
2022-09-14 17:39:11 +08:00
zhimin.zeng 2e9174500d FIX: add tips for timelapse
add tips when both print by object and smooth mode are selected

Change-Id: I13f4cc14f2ff7c33c23dcd1708fdb784aef5afa3
(cherry picked from commit a0bfe48df21d4eecf105d41387838f14b22fff3c)
2022-09-14 17:39:11 +08:00
yifan.wu dd1511084e FIX: fix an adapative layer height not work issue
Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
2022-09-13 19:42:32 +08:00
yifan.wu 1f38d12862 FIX: fix a prime tower issue in timelapse smooth mode
Fix the issue that the first 2 layers of prime tower are not generated
when timelapse is set to smooth mode. This issue only happens in single
filament printing.

Signed-off-by: yifan.wu <yifan.wu@bambulab.com>
2022-09-13 19:42:32 +08:00
zhimin.zeng 96e827ca7f FIX: the tree support use interface materials
Change-Id: I6c61c427095bf8157a2e29a8bb81a1754b6fd980
(cherry picked from commit 4b6d5c25599ca8c97184fd977a3bac2f278f8896)
2022-09-09 19:59:27 +08:00
zhimin.zeng 4c063a8a32 FIX: modify the text
Change-Id: If9d6d629288f9016b5d8abfaff5ee44c99d90e30
2022-09-09 19:59:27 +08:00
lane.wei 5b7cf54cf5 fix some building issues under linux
Change-Id: I787024a74e15ef3904dcffe233e4387bdfc139b3
2022-09-08 21:49:36 +08:00
salt.wei a0d4185909 ENH: remove ignore of slice_closing_radius
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I96aa0a07e5e278f0e22f5c2acc5303050ff0cd2c
2022-09-08 21:49:36 +08:00
zhimin.zeng 05625a5e43 ENH: add traditional timelapse without wipe tower
Change-Id: I77792fb1a7af2ee95242c6f2501371dc0745287f
(cherry picked from commit f6d434cc8b6c8d11d16bbabf9600c2f2b63868db)
2022-09-08 21:49:36 +08:00
salt.wei 9e2f227aef ENH: fix wrong extruder offset when loading from gcode
All extruder offset should be extruder_offset[0] when
it is single extruder multi material.

Add handling when load config from gcode.

This is fix for github issue #213

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia881b2bfbbdffa98e3c3db7b35201dc86b520b29
2022-09-08 21:49:36 +08:00