Commit Graph
63 Commits
Author SHA1 Message Date
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
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
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
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
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
salt.wei aca131cfc0 ENH: change picture size of ender3
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I2b7c2b4e7d35dd8d19473e13918cc27bf9d75649
2022-10-20 19:34:37 +08:00
salt.wei 4172ad8a8e ENH: some po change for new settings
Some po change for new setting option

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I804355868ff2507b038d3c163ba5c4ce30901f7f
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
salt.wei 78ff2f4daa ENH: allow higher z speed
This is change requirement from printer developer
for github issue #393

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ief306d89dba70d8515050cbd842edc4e1d22822e
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
salt.wei 52cdf4930d ENH: modify start gcode of voron
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I1bd10f930cbe7572b9419dd5930fc0ba4f2f6a52
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
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
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
salt.wei a0524cd25d ENH: set some settings to be readonly when printer vendor is Bambu Lab
It's meaningless to edit some settings, for example, machine limits
of Bambu Lab printer.

Set these settings to be read-only for Bambu Lab printer.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I61a21cfa2a2f574f690725125e226f4f258aa92f
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
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
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
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
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
salt.wei 1d1e12901b ENH: max e speed is 30mm/s
As title. Sync with printer limitation

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I5f9f594d5f6f33b0035f8200bf8b46b43e5955c5
2022-09-29 11:16:43 +08:00
salt.wei ec347aba3a ENH: po change to add some translation
As title

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I25acd3ff199ac04f5f86f21859dec441c90e6925
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
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
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
salt.wei 4e1caa428d ENH: wipe_distance should not to be 0 or negative value
As title, fix github issue #220

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If63c839da1341ac2e16bbfa287c4e32564284d59
2022-09-08 21:49:36 +08:00
salt.wei b957878ba0 ENH: change po file for new setting
As title

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id339808069f4662456fab3df3361cf563350c7f2
2022-09-08 21:49:36 +08:00
salt.wei 72221d2760 ENH: add slice_closing_radius back
For github issue #182

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I38c69bed03b6d70cb21d58b5f724b4dc3a8992a4
2022-09-08 21:49:36 +08:00
salt.wei ee16e75a9c ENH: move overhang fan speed to advanced group
Show these two settings in advanced mode

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ic7ef16ef3a9940d81839cce15de05bf6e32d9315
2022-09-08 21:49:36 +08:00
salt.wei d9ad79e922 ENH: add back random seam
As title. Random is useless in some cases.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I169edb005574c43fae5aafbdbe4b6e901b8d0c74
2022-09-02 12:52:18 +08:00
salt.wei 5bea8a76fc ENH: cherry pick some fix about seam from PrusaSlicer
Synced from PrusaSlicer. Thanks

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I043088d9795f5352d4e0b5060402b70897fd7592
2022-09-02 12:52:18 +08:00
salt.wei 36528738fe ENH: force retraction and wiping when leave external wall
This can reduce dragging and reduce seams

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I60e3c11493ca9ef00a8fd22c437f67cddac32724
2022-09-02 12:52:18 +08:00
salt.wei d73142c2f9 ENH: new seam strategy from prusa2.5
As title. Thanks @Prusa

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I2fa177e27ac53211952ea9b6c62e98182b8f05ce
2022-09-02 12:52:18 +08:00
salt.wei 440bcc8090 ENH: speed up the progress of loading step
Make the shape triangulation to be parallel

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I0fe68359111b498458d431492841c54d13d7a7df
2022-09-02 12:52:18 +08:00
salt.wei d6a6fad04e ENH: topmost layer can be controlled by only_one_wall_top
For github issue #124

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ieb4a2c0cdb185d1cc565a20754327eeb1c599237
2022-08-26 09:25:59 +08:00
salt.wei 40531c8ad9 ENH: fix crash when add G2_G3 in start gcode
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I7d7133122b0d7e478fd2b0fa8849be09cb0c8353
(cherry picked from commit 2095960596e85ef970016701afd201c9bd36b262)
2022-08-26 09:25:59 +08:00
salt.wei aab8a12801 ENH: add arachne engine for narrow internal solid infill
ConcentricGapFill pattern was used for internal narrow
solid infill. Use arachne engine instead to remove
gap fill inside the pattern and improve the extrusion path

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I758d7c72eb71cc37026b7cebf746cc345014c3f5
(cherry picked from commit 0b6bacd21a091afc13d7b36a69e5b10f155bc6f8)
2022-08-26 09:25:59 +08:00
salt.wei 70313deaf0 ENH: fix one bug which cause zero speed when flushing
filament_max_volumetric may be 0 which cause zero
flushing speed. Add protection for this issue.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I866b9d97c9c6d97122a4a2beaf508ce9c72ee3b2
2022-08-08 22:19:42 +08:00
salt.wei 7fb886a03c ENH: provide filament_start and end gcode options
Requirement from user to set filament_start_gcode
and filament_end_gcode. Set these two settings to
advanced mode

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I0d8ddb394b37614d0ef0f10f8434553cb20e9ffd
2022-08-08 22:19:42 +08:00
salt.wei bfe46a67d5 ENH: recover setting id to be old value
Don't change setting ids to avoid potential user preset
loading issue

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Idbc8cfcbbbf7531f09e156844e286c672494af86
2022-08-05 16:11:42 +08:00
salt.wei a00e58c3bf ENH: sync filament_id with RFID
Make filament_id to be same with information
from nectarine

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I3012d74bb8fe849fbaf9fabab791a6b06335dcf6
2022-08-05 16:11:42 +08:00
salt.wei 7ced9f4e23 ENH: add M400 before switch temperature when change filament
Add M400 to avoid temperature switched before flush end.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I118bb240357e5c820c15e46ae34efa62248fdacc
2022-08-05 16:11:42 +08:00
salt.wei 97ffa093c3 ENH: align the filament type with app/machine/RFID
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I534e6b619efbb7fe6b813bf51640f46066f378c5
2022-08-05 16:11:42 +08:00
salt.wei e850f83030 ENH: update start gcode
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I85dfbc8d23b78f50c9695f5118136d4bbf0873c2
2022-08-05 16:11:42 +08:00
salt.wei 2dba113512 ENH: 0.8 nozzle should use monotonic pattern for top surface
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I73b2bb17175b50d91ba6c755884937a4c80de10d
2022-08-05 16:11:42 +08:00
salt.wei 099e72b885 ENH: fix overflow which is caused by wrong spacing
Disable the spacing adjustment by bounding box before
fixing, to avoid overflow in some cases.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I13c751c8d46040156d79c1fdfc513f22f5e40fe2
2022-08-05 16:11:42 +08:00
salt.wei e7f379f4de ENH: change spiral mode to be spiral vase
Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I3df7e0534c6b8e899c145a1b9ee199eeeaad54d0
2022-08-05 16:11:42 +08:00
salt.wei a713573544 ENH: add extruder offset for X1 and X1 carbon
The extruder offset of X1 and X1C is (0,2).
All generated gcode should minus this value.

Also change the min speed of cooling buffer for
better cooling for small area(from pineapple)

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I06e58a26f8736ae24fa9da02477a9d19114daeca
2022-08-05 16:11:42 +08:00
salt.wei 89959400da ENH: separate PA and PA-CF filament type
Filament type of Bambu PA-CF in RFID is PA-CF.
Change it to PA-CF as well in preset to avoid
failure of AMS mapping.

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ic6b6269123d59863fea2b7d262a124468c95b8af
2022-08-05 16:11:42 +08:00
salt.wei 7a5771419a ENH: don't show extruder index when only has one
As title

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I752a43ccda1711a13f2fd152e9b7341195450cb0
2022-08-05 15:28:01 +08:00
salt.wei 5a2669dcc2 ENH: privide setting option of exclude_area
As title. User can delete the value to enable 256x256 printable
size

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ia10454b7a7a1b28c04d8d41df9f3251875f6e74e
2022-08-05 15:28:01 +08:00
salt.wei e0c4453c46 ENH: some preset change
1 change bambu PC and TPU temperature by pineapple

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Id2bc603893ce9e2c33f15de420c79b94cd6dd89a
2022-08-05 15:22:16 +08:00