feat(gui,cli): 弹射后等待增加开关控制,版本升至0.6.0
- GUI: 弹射后等待改为勾选框+微调框模式,与热床降温统一 - CLI: 新增 --no-eject-wait 参数跳过弹射等待 - 不勾选时 wait_after_eject_seconds=0,build_swap_block 跳过 G4 - __init__.py: 版本号 0.5.0 → 0.6.0
This commit is contained in:
@@ -70,7 +70,7 @@ def build_command(args: argparse.Namespace) -> int:
|
||||
swap_gcode=args.swap_gcode,
|
||||
output_3mf=Path(args.output),
|
||||
cool_bed_temp=cool_bed_temp,
|
||||
wait_after_eject_seconds=args.wait,
|
||||
wait_after_eject_seconds=0 if args.no_eject_wait else args.wait,
|
||||
show_plate_number=args.show_plate_number,
|
||||
swap_after_final=not args.no_swap_after_final,
|
||||
metadata_mode=args.metadata_mode,
|
||||
@@ -147,6 +147,7 @@ def create_parser() -> argparse.ArgumentParser:
|
||||
build.add_argument("--no-bed-cooldown", action="store_true", help="不在换料代码前插入 M190。")
|
||||
# 时间与编号
|
||||
build.add_argument("--wait", type=int, default=45, help="板弹射后等待的秒数。")
|
||||
build.add_argument("--no-eject-wait", action="store_true", help="不插入弹射后等待指令 G4。")
|
||||
build.add_argument("--show-plate-number", action="store_true", help="每板号向 M73 R 值增加 100 小时。")
|
||||
# 行为开关
|
||||
build.add_argument("--no-swap-after-final", action="store_true", help="最后一块板后不执行换料 G-code。")
|
||||
|
||||
Reference in New Issue
Block a user