Commit graph

1427 commits

Author SHA1 Message Date
lane.wei
e76be77cfc ENH: 3mf: refine the rels to correct link
JIRA: STUDIO-4231
Change-Id: I02ff6343124ef2ea3642e5799469249538a4b97f
(cherry picked from commit 781793a4c84b3e8a01f38d990d34bee9add8850a)
2023-09-22 16:21:26 +08:00
maosheng.wei
bf8afa9889 FIX: [STUDIO-3743] 3mf consistence correction
Jira: 3743

Change-Id: I65d868753c380d5399c743d101668ef013549a38
(cherry picked from commit 0b87e3257a0c2806680768e152e2d35b322099a3)
2023-09-22 16:21:26 +08:00
zhou.xu
754085734e FIX: calculation error in overhang area
bug: There is a part of the overhang area in the model that cannot be applied

Change-Id: Ia1045225776ccb0e8730912aae1d4c7509f40c5b
(cherry picked from commit daa3e131564690e9e169313d147fd84537b898ca)
2023-09-22 16:21:26 +08:00
zhou.xu
a20ae7ec5b FIX: normal_matrix calculation lack transpose in overhang
Jira: STUDIO-4244
Change-Id: If706f098c43f15aa407dde68e8a914bd53ab7188
(cherry picked from commit ea78555dada3d7bb0d3ad87f09ed371f5b327352)
2023-09-22 16:21:26 +08:00
lane.wei
ac988a5c53 ENH: add the smooth pei bed type
smooth pei plate uses the same parameters as high temp plate
JIRA: STUDIO-4181

Change-Id: I9db8ca7440b5b205902fd4b35af6c24440e1104d
(cherry picked from commit 97e803f62e7d02ff171c2c63e261d319d49ce398)
2023-09-22 16:21:26 +08:00
zhimin.zeng
144abfca27 ENH: Allow machines that do not support timelapse
STUDIO-3935

Change-Id: I8b65c1d24fdee744af10d4112b0f8bee7554ad3c
(cherry picked from commit 1802c2e8c4fc68fce3dc5b025814aec84e7653a3)
2023-09-22 16:21:26 +08:00
Merikesh Dev
570a98fd45 ENH: Format: Add ModelIO support on macOS
Github pull request: #2439

Change-Id: I4464a735a0a20b3e8103a344a64500b3d14b70e6
2023-09-22 16:21:26 +08:00
lane.wei
4bb913bcc8 ENH: Support: set the float air warning also to non-critical
JIRA: STUDIO-4217
Change-Id: Ic587acde0a566e4ea5217a5dc4f1ab8b6b155f5c
2023-09-22 16:21:26 +08:00
xun.zhang
caf30b21ea ENH: rename chamber_temperatures in placeholder
Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id4d853d479cfb9b6c3fda177891f11a34f7d29e8
2023-09-22 16:21:26 +08:00
xun.zhang
8d2a5dedc1 FIX: use extruder list to decide chamber temp
As title.Use the same way to decide exhaust fan.
Removes end print exhaust fan control.

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Id14f3d91171b81239b336ef879061c6de7d68edf
2023-09-22 16:21:26 +08:00
xun.zhang
9b20cad55e ENH: add support for chamber_temp and exhaust_fan
Support controlling chamebr temperature and exhaust fan for air filtration

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I31627ce4f8acce99e132b0436ab7dcd0bcebf81d
2023-09-22 16:21:26 +08:00
Stone Li
be19c137fe NEW: generate small thumbnail size in 3mf
JIRA: STUDIO-4282

Change-Id: I2f6e35bd643e950d15dcfacb9f6ecae8f8bd80fa
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-09-22 16:21:26 +08:00
zhimin.zeng
50226b8b23 FIX: Incorrect exploded view after split to objects
and modify the incorrect assemble view after cut
Jira: 4182

Change-Id: I813a9179c54d544e745153186e09a4d82fc50dbc
(cherry picked from commit f60762ddefcaa9ba6bd9d61fb328fc42f1a2c5d0)
2023-09-22 16:21:26 +08:00
Arthur
ef2cc4b65c ENH: add load_model_objects_and_custom_gcodes
Add cmd line option to pass layer change gcode.
This is useful for lithophane auto change colors.
Cmd: --custom-gcode custom_gcode_toolchange.json

Examples of the input json file can be found in the jira.

Jira: STUDIO-4070

Change-Id: I5beb5ff7d6d81028e95013e79f955e498cd3ba30
(cherry picked from commit bed6152b95c965ea87958d94ec069d8c883a8037)
2023-09-22 16:21:26 +08:00
lane.wei
c00caad244 ENH: CLI: add support of rotate
JIRA: STUDIO-4183
Change-Id: I091cc3142ce867d2ac75ba27b3cb2e4e569c9681
(cherry picked from commit 7eab9ba9f22dc8f00e13caf27c7cf72b8675562a)
2023-09-22 16:21:26 +08:00
lane.wei
bf8ac4c436 ENH: CLI: optimize the logic for message
1. treat the critical slicing warnings as error
2. save more information into result
including the triangle counts and the non-critical warnings

JIRA: STUDIO-4217

Change-Id: I25b746d06c9a1ef2d642c67852577982a2986322
(cherry picked from commit 1d9707ed04cbb6dc12b440b70f3581c619136ac3)
2023-09-22 16:21:26 +08:00
xun.zhang
17621eb3e8 ENH: change PA6-CF filament type to PA6-CF
PA6-CF is disabled in AMS

jira:STUDIO-4196

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: Iff32388a15f32da6b28034130d5ddadd107a3185
2023-09-22 16:21:26 +08:00
lane.wei
6d5fad236e ENH: refine the logic of extruder_clearance_radius
1. use extruder_clearance_max_radius instead
2. set the value of P1P/P1S to the same value of X1C
JIRA: STUDIO-4214

Change-Id: I1ae5e4203db0933854b4388b5505dbf34b40edae
(cherry picked from commit 19cb6a0fbad0192d39813e449baed090baa163c5)
2023-09-22 16:21:26 +08:00
lane.wei
d5b9dcfbbe FIX: CLI: fix the brim related issues
1. move the global functions to Model
2. set brim automation paremeters before process
JIRA: STUDIO-4208

Change-Id: I3f75175ec74d214ca2a6d5f3ade56d08e0ecd4f3
(cherry picked from commit bcc88bc01ec396e8fb8af1186b47a75cd5116f3c)
2023-09-22 16:21:26 +08:00
wenjie.guo
c97a88069b NEW: Z hop restriction
Z hop will only come into effect when it is between retract_lift_above and retract_lift_below.
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: If43aea7024018eb8f532c6af5d8000973f2edee3
2023-09-22 16:21:26 +08:00
PavelMikus
a15700e5de FIX: short edge collapse algortihm
so that it does not decimate all triangles on very high detailed models
Relevant issue 8834 Access Error when slicing
Github: #2283

Change-Id: I047361c88c561962ef4d3cf67bc0126402c41941
(cherry picked from commit f8aaa5c69d59c5fced4b7bb112376e4df94b5ddc)
2023-09-22 16:21:26 +08:00
lane.wei
e1b3a5b6d5 ENH: CLI: add a flag to allow minimum size save
JIRA: STUDIO-3752
Change-Id: I0277c34d108185d10130630a72811122f8ee9ae2
2023-09-22 16:21:26 +08:00
Arthur
064f3ee0aa FIX: unify cli and GUI auto-arrange
Make sure cli uses same params as GUI's auto-arrange.
Previously cli uses wrong skirt_distance.

Jira: BLPIOT-255
Change-Id: Iaccfb76acf7413ec614fff006feb770dcd6783cf
2023-09-22 16:21:26 +08:00
qing.zhang
3a87ded0c5 FIX: no soild ironing if top or bottom shell is 0
fix the ironing be apply to the preview layer of bridge

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I53cb4e6ff80176953c2927c1d9dc5eecc590764c
2023-09-22 16:21:26 +08:00
Noisyfox
685e058c35
Parallelized PrintObject::bridge_over_infill() (#2132)
Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-17 11:22:11 +08:00
igiannakas
61437b2c76
Detection of curled edges to enhance slowdown for overhangs algorithm (#2056)
* Overhang perimeter handling

Updated code to handle overhang perimeters as an overhang and not as a bridge.

* Preparing to add curled extrusions identification

* Porting curling calculations from Prusa Slier 2.6.1

* Prototype 1 - slowdown extended to detect curled edges and further reduce speed

First prototype of the code submitted.

* Working prototype - 2

Code is now finally working - external perimeters are slowed down as needed when there is likelyhood of curling up.

ToDo:
1. Reslicing the model causes the algorithm not to run - need to find where this fails to trigger the call for this.
2. Slowdown of internal perimeters not working yet.

* Updated to use overhang wall speed instead of bridging speed for this algorithm

* Fixed bug in speed calculation and tweaked parameters for high speed printer

Fixed bug in speed calculation and tweaked parameters for high speed printer

* Attempting to fix "set started" not being set

* Parameter tweak after print tests

* Fixed estimation not running when model is re-sliced.

* Removing debug printf statements and fixed threading flag.

* Fixed threading

* Parameter tweaks following print tests

* Made this as an option in the GUI

* Reintroduced handling of bridges as per original design

* UI line toggling when option makes sense to be visible.

* Fixed bug in field visibility & made it default to off

* Code optimisation

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-09-16 22:24:18 +08:00
SoftFever
e6269dd852 tweak default organic tree settings. 2023-09-13 20:10:33 +08:00
SoftFever
40c2eccfd6 handle edge cases when Cooling tube position is 0 2023-09-12 20:12:54 +08:00
SoftFever
0b3dfa3f45 Overhang improvement max vol speed 2023-09-10 11:39:29 +08:00
Noisyfox
f2da5b39a1
Fix GCode viewer first layer height in vase mode (#2051)
Follow-up of 6be84d529d740c44c1e9bf533e70e167b3442063 - Fixed processing of spiral vase mode in GCodeProcessor::process_G1

Co-authored-by: enricoturri1966 <enricoturri@seznam.cz>
2023-09-10 11:38:37 +08:00
SoftFever
5269e3a2cd small tweaks 2023-09-09 17:47:25 +08:00
SoftFever
9246f01fea Merge branch 'purge_tower' 2023-09-09 13:20:32 +08:00
SoftFever
e624632969 semm 2023-09-09 13:19:59 +08:00
Lukas Matena
ee4705d6b7 Wipe tower: changed the way how initial wipe tower preview depth is calculated 2023-09-09 13:19:43 +08:00
SoftFever
cd3bbdb5f5 estimate tower size 2023-09-09 13:19:43 +08:00
SoftFever
6ff9ff03db wip 2023-09-09 13:19:43 +08:00
SoftFever
aae647fc19 Properly pasrse toolchange 2023-09-09 13:14:10 +08:00
SoftFever
309b218a58 klipper object exclusion name fix 2023-09-09 11:04:45 +08:00
SoftFever
adf65ceeb8 wipe improvment 2023-09-09 11:04:45 +08:00
igiannakas
c20b01f37a
Updated inner outer inner algorithm to cater for edge case where an internal island with two perimeters on both sides of an external wall was causing a secondary island to not reorder the walls correctly (#1861)
* Updated inner outer inner algorithm to cater for edge case where an internal island with multiple internal perimeters would cause the external island to fall back to outer-> inner wall ordering.

Updated inner outer inner algorithm to cater for edge case where an internal island with multiple internal perimeters would cause the external island to fall back to outer-> inner wall ordering.

* Reworked the inner outer inner algorithm to better work with more than 3 perimeters.

* Code comment updates. Removed error check code.

* Cleaned up code and comments

Cleaned up code and comments

* Disabled inner outer inner algorithm on first layer

Disabling inner outer inner algorithm and using inner to outer wall ordering to promote bed adhesion as having isolated perimeters on the bed has resulted on occasion to warping or incomplete adherence  to the bed.

* Code optimisation
2023-09-09 10:56:03 +08:00
SoftFever
5cef22ee66 klipper object exclusion name fix 2023-09-08 00:01:22 +08:00
SoftFever
75328a2de8 wipe improvment 2023-09-08 00:01:22 +08:00
Noisyfox
4011a0d748
Fix double quotes escape (#1397 #1435 #1946 #1990) (#2002) 2023-09-05 20:18:43 +08:00
xxxcq
9e0dbd91ff
Add option to enforce first layer min wall width (#1974)
Add option to set first layer min wall width
2023-09-04 00:07:40 +08:00
Noisyfox
f9abebac22
Fix "unknown vector variable type" error when using bambu filament ch… (#1982)
* Fix "unknown vector variable type" error when using bambu filament change ( #1979)

* Update comment
2023-09-03 14:49:54 +08:00
Noisyfox
1fdfc2fa45
Fix raft size when non-organic tree support is enabled (#1973) 2023-09-03 00:43:28 +08:00
Noisyfox
a1464735ce
Initial port of organic tree support from PrusaSlicer (#1938)
* Initial port of organic tree support from PrusaSlicer

* Port missing Organic support parameters from PrusaSlicer

* Update parameter naming

* Reorganize the `raft_first_layer_expansion` and `raft_first_layer_density` parameters as they are not only used by rafts

* Reset support style only in simple mode

* Sync latest update from PrusaSlicer & copyrights

* Fix organic tree support crash with invalid parameters

---------

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-02 17:29:43 +08:00
SoftFever
9bf8cbc7de update locale and default filament color 2023-08-31 21:53:12 +08:00
SoftFever
a63ddc33e2 Fix Linux build errors 2023-08-31 20:35:43 +08:00
SoftFever
33ac24d35a Support Marlin 2 2023-08-30 23:39:00 +08:00