Commit Graph

683 Commits

Author SHA1 Message Date
lane.wei 8b42a8b7e9 ENH: refine the skip_object&&cached_object logic
when the cached object is skipped
we need to reslicing it;

also do overhang detect for all objects

Change-Id: Ic842fd5a441426983a760145aeff9285e398d430
2023-07-07 17:52:43 +08:00
salt.wei 5e36c36f70 ENH: don't need to skip object in cali mode
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I3c71f442e8d1e94786912ddf6a4367597073cbac
2023-07-07 17:52:43 +08:00
Stone Li 2368d929fe NEW: rearch calibration
Change-Id: I20ee304eba1a63e08d0a36abdf06ebe6a6e4451f
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 17:52:43 +08:00
lane.wei ced9e43be6 FIX: fix a typo in GCodeProcessor
Change-Id: I56b9eaedc3cb062d17facf7352eb469524db5b60
(cherry picked from commit 1bb3b64cfc1aabad9ece3e5d5c0f55a9cb3367c5)
2023-07-07 17:52:43 +08:00
Arthur 04bfe7e405 ENH: ease removal of tree supports
Previously tree supports are harder to remove than normal
supports. We learn from normal supports and improve the gap between
object and supports.

Jira: STUDIO-3530

Change-Id: I229a7b869b334bdf4c5aba96c9450213b83457f2
2023-07-07 17:52:43 +08:00
salt.wei 73059c79af ENH: move filament compatibility checking to public
As title. This function need to be used in calibration
page.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia4228cbd195d87f433b59bc14129bd4acdd9df68
2023-07-07 17:52:43 +08:00
chunmao.guo dac0a90605 FIX: xml_escape thumbnail paths
Change-Id: I781b529162b70945156c13796806db507042ad7c
2023-07-07 17:52:43 +08:00
lane.wei c06e47069f FIX: config: fix a typo of skip_objects
Change-Id: I986da5d677820dfb73fbab5bff43ee26147e431a
2023-07-07 17:52:43 +08:00
chunmao.guo d63316fe7e FIX: [STUDIO-3130] skip parse object in slice_info.xml
Change-Id: Iae50320f06404ba1bfddcda351f8b642bc35debb
2023-07-07 17:52:43 +08:00
salt.wei 7910e681e4 ENH: remove duplicate height pair in layer height profiles
This is fix for jira-3493

Remove duplicated height pairs when add height range

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If74c1f8af1c911d709b9582a15ea8852630c1a67
2023-07-07 17:52:43 +08:00
lane.wei 7c76cf99b9 ENH: CLI: add option repetitions for future use
Change-Id: I97bdc04b542f9725a047348450c2c677d8807427
(cherry picked from commit d5a20f689cade6cc5b28bbec70931c6d122ef6f4)
2023-07-07 17:52:43 +08:00
Arthur ecfffca12d FIX: raft contact distance should not trigger warning
Jira: STUDIO-3344
Change-Id: I1d0e7431cad468acaf4830caf002a47c6a33be41
(cherry picked from commit f2a926da614443fdf8631f4412f70fa741a8bf11)
2023-07-07 17:52:43 +08:00
salt.wei 145d7a4f8e ENH: add protection for filament_id in height range
See comment in code...

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I5c68a86e1d740a54d4ca6c647fd923575600b1ca
2023-07-07 17:52:43 +08:00
lane.wei d385384907 ENH: skip_objects: optimize the label_id logic in ModelInstance
Change-Id: Id20fe9b084426036d6cf4f54859655579bec7197
(cherry picked from commit ebb5343eef6aea9e54d11f3d6b98cf11ff941aa5)
2023-07-07 17:52:43 +08:00
zhimin.zeng 0962b23904 FIX: sync the modify from master
Change-Id: I8d1ab3803d0c0813923192569354f93e6022a1e7
2023-07-07 17:52:43 +08:00
chunmao.guo 1be8ea44e5 FIX: [STUDIO-3406] load/save thumbnail relationships
Change-Id: I515fd2339ec16ff39b8fcfbc278a0d998b8b53f4
2023-07-07 17:52:43 +08:00
salt.wei a29507dfa3 ENH: avoid invalid gcode when id is duplicated
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia710f4423d0c95ff24e4c73d4a0aee19543feed4
2023-07-07 17:52:43 +08:00
lane.wei ef06dfc931 ENH: object_skip: use identify_id for cli when skipping object
Change-Id: Ibbe3262b4817f82b7ac824ba6d4b3efd7f0ed886
2023-07-07 17:52:43 +08:00
xun.zhang 7b0b24e64e ENH: add PLA-AERO,add default key in common json
Change-Id: Ia6551f50e0f921a196a3a94659b367ca1ec4424f
2023-07-07 17:52:43 +08:00
liz.li 257e2e0bbb ENH: calibration: filaments compatibility
Change-Id: Ibdbf25905b7f0fff2371247437624ec4645b35ee
2023-07-07 17:52:43 +08:00
Arthur 0cad88309c FIX: fitst layer bbox was wrong for multiple plates
brim bounding box is now shifted w.r.t. plate origin, need to modify the
no-brim shift the same way.

Change-Id: Iefa7287e2848aadbfc4a468bca394ecec48a1e7c
2023-07-07 17:52:43 +08:00
salt.wei c5d70a846e ENH: add setting of extruder type
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ic126466f6b579dd6a55a1ba16a63c015d538c750
2023-07-07 17:52:43 +08:00
Arthur 40b8d9b87f ENH: improve mesh boolean
1. Don't use mcut on splitable volumes
2. If MCut fails, try again with CGAL.

Change-Id: I55d352b166633db9e4548b5c9e6913cf931f5f8f
(cherry picked from commit c1bde5358524d2291db6efa584ff072308ed9d20)
2023-07-07 17:52:43 +08:00
qing.zhang 1368501508 ENH: add Generic HIPS
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I0fd861db6137c39f59630ae443661ddeb7a7b060
2023-07-07 17:29:08 +08:00
liz.li 9b2e13a0fa FIX: fix some issues about CalibrationWizard
1. fix STUDIO-3238、STUDIO-3233、STUDIO-3138、STUDIO-3210
Change-Id: Id7586a8a7a9e4ea04c2616099759c3527acdb1de

Change-Id: Ibb943e587edc464e2982bfee0d02a072dcf9ffd3
2023-07-07 17:29:08 +08:00
zhimin.zeng e6a03b48ad ENH: get result for pa and flow ratio cali
Change-Id: I78c967abcdaf8c75fe6b31f1697377b72ad10e06
(cherry picked from commit fb6cd5a7c71fe6e5c4e9fed71f0c61f3a7a0c8e4)
2023-07-07 17:29:08 +08:00
chunmao.guo 03054a3b80 FIX: [STUDIO-3313] fix preset selection on load_user_presets
Change-Id: I46849869d2b84211b1b7802cf886bb0d83d10649
2023-07-07 17:29:08 +08:00
salt.wei 0d1b8b18ed FIX: should not throw in noexcept function
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I6753615903d218698fb5cabafcba46e97b8fdf18
2023-07-07 17:29:08 +08:00
salt.wei 766abf92fa ENH: add back use_relative_e for third party printer
Useless for BambuPrinter. But used by third party printer

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ib6a63e78816b25696c25952508f76c3d9221e363
2023-07-07 17:29:08 +08:00
Arthur 501e73913c FIX: empty layer replacement may crash
When there are multiple empty layers needs to be replaced, error_msg is
assigned multiple times simutaneously by tbb, which causes problem.

Jira: STUDIO-3320
Change-Id: I52a48c9fe284d15aeb8e4e9e5d1db7e0c3321ad6
(cherry picked from commit fba54c063637a1bab4d835e2e5f8558b2affa4e6)
2023-07-07 17:29:08 +08:00
salt.wei 2fe7629388 ENH: normalize comment from OrcaSlicer
Mark code from OrcaSlicer with same comment tag for follow easily

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If4db502a1b0e6d0648c73f2f383b6d1cc8e1aa01
2023-07-07 17:29:08 +08:00
salt.wei 53ea77b67b ENH: show filament vendor in develop mode
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ice9c3a86ce22c4c6dde784afb2e7c23e929ac7d2
2023-07-07 17:29:08 +08:00
Stone Li 14cb2449c6 FIX: fix plate name encoding issue
Change-Id: Ia89b2c5bbb4519ed938ae23ff124719cfe6203de
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 17:29:08 +08:00
liz.li e2934516ed NEW: support restore calibration status of printer
1.store each printer's calibration status to appconfig.
2.add retraction calibration
3.add choose fine calibration directly at flowrate calibration
4.add start pages for every calibration
5.add history window for pa calibration

Change-Id: I117fd46e689e0573e70e8579f5a52ba62d99f3d6
2023-07-07 17:29:08 +08:00
qing.zhang 546322d1cc ENH: add solid infill pattern
Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I8878c8d5f0024c9cbde6040f317d0783dfc5eccd
2023-07-07 17:29:08 +08:00
Arthur 4e5f4ee366 FIX: FillBed crashes when accessing unset print config option
1. When the option is not set, print.full_print_config() is empty, so we
can't access opt_bool("scan_first_layer") or opt_bool("enable_support").
Should use wxGetApp().preset_bundle->full_config() instead.
Jira: STUDIO-3264
2. Allow different object having different brim_width to encode support's brim width.
In this way the arranging logic is simpler and more objects can be arranged in a plate.

Change-Id: Ic7178652147b0519d50b2eb9ceb214b4ef4c0251
(cherry picked from commit 0f163d59b40009cd29b8b1e32f730258ad0786dc)
2023-07-07 17:29:08 +08:00
Arthur 9ad9ba213a FIX: fill in bed may shift objects outside bed
Do not do final align for filling in bed.

Jira: STUDIO-3265
Change-Id: I2ce2ebed575ba05b1d78ec89923f8e91c4de6648
(cherry picked from commit 581aa4fd0ff1c6f64026d7b934d4bd8a79b803ae)
2023-07-07 17:29:08 +08:00
salt.wei e567afdcb5 ENH: support exclude objects for klipper printer
Thanks OrcaSlicer.

This is just function for klipper printer.
NEVER used for BBL printer.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I910abceb67f4dcb4260f74f5dd1b4fb614812670
2023-07-07 17:29:08 +08:00
Stone Li 5a7e3cebcb ENH: load bed type from app config
Change-Id: I60a7ccff55e30bedb2cdd2e90224c93c04dc0622
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 17:29:08 +08:00
lane.wei b9afbd92c3 ENH: CLI: add logic to recompute flush volume matrix for mmu
Change-Id: Id9ce0cc054492762da31d2bd9dea53c73421d972
2023-07-07 17:29:08 +08:00
qing.zhang ec756bc2df ENH: add acceleration para
thanks SoftFever

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ie82934e2fb5cdb4ec77246e2d5cd6be36fdc7d5a
2023-07-07 17:29:08 +08:00
qing.zhang 739d8c9b28 ENH: filter small gap
thanks SoftFever

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I9bffe629419455b2a7b4494aa595b711619939da
2023-07-07 17:29:08 +08:00
qing.zhang 346321379a ENH: add decel para
thanks SoftFever

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I95a1240c8d6ce7365055e840e526f279a55939e4
2023-07-07 17:29:08 +08:00
qing.zhang aa62c6e870 ENH: add jerk parameter
thanks SoftFever

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I6aadbffebc069167a460c991aa8fb711b754ff37
2023-07-07 17:29:08 +08:00
salt.wei 208f7c32da ENH: fix another assert in wall generator
Thanks PrusaSlicer.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I9173f91629fa6c90d8bc3756d7d1fdbfd8605eab
2023-07-07 17:29:08 +08:00
qing.zhang 112712e966 ENH: add top & bottom infill flow ratio
thanks SoftFever

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: If4b2d203d8568a7c640425702b0a77ccea3b596b
2023-07-07 17:29:08 +08:00
salt.wei 68c990a1de ENH: fix one assert in wall generater
Thanks PrusaSlicer

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I39456246c0fa1bde68fdd86690e4ef015a349898
2023-07-07 17:29:08 +08:00
salt.wei 568ad6f851 ENH: avoid overflow of 2D boolean in brim
This is fix for jira-1774, jira-2260, jira-2997.
This is also fix for github issue 1821.

Very old issue...And all caused by same reason.

Instance shift are too large for multi-plate,
which causes overflow in 2D boolean and generates
overlapped brim line.

Only apply local instance shift without plate shift.
And apply the plate offset at last step.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I23f7d1ec75c76dea1b4f5332f16ea8a3db14bddc
2023-07-07 17:29:08 +08:00
lane.wei 0fcc235e14 FIX: fix the crash issue when change setting after .gcode.3mf loaded
Change-Id: I47ae6c6b14f94858ff9789ef3ed927930b611203
(cherry picked from commit ad548cdc7491fd432603c80ea2fcf151115efd10)
2023-07-07 17:29:08 +08:00
salt.wei 026eaf6bc4 ENH: manual setting for PA for 3-rd party printer only
Should never use these two setting for bambuPrinter.
Thanks original code from OrcaSlicer.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ifda4086b71fd2ef170b044c7632d15fe2ef490fd
2023-07-07 17:29:08 +08:00