Commit Graph
12 Commits
Author SHA1 Message Date
SoftFever ade9e77b6b Run every profile maintenance job from one tool (#15726)
* Run every profile maintenance job from one tool

orca_id_tool.py becomes orca_profile_tool.py, and orca_extra_profile_check.py
and orca_filament_lib.py fold into it as subcommands: check, generate-id, fix,
trim, update-index and update-snapshot. The three scripts already overlapped --
the checker imported half of its rules from the id tool, which in turn kept a
copy-pasted set of output helpers to avoid the resulting import cycle -- while
disagreeing on how a vendor is enumerated, how a JSON file is read and what the
exit code means. One file settles all three.

check, normalize, trim and update-index reproduce their predecessors exactly; normalize and
update-index were diffed byte-for-byte against the old scripts over a copy of
the whole tree. Deliberate changes: the compatible-printers check no longer
switches itself off when --check-materials is passed, an error exits 1 rather
than -1, update-index honours --profile-type and reports a profile it cannot
place instead of dropping it from the index, fix and update-index gained
--dry-run, trim keeps an unindexed file some surviving profile still inherits
from, and vendors are enumerated as directories with an index -- which is why
blacklist.json, a data file that an unscoped index rebuild once wrote four empty
list sections into, loses them here and will not collect them again. The dead
rename_filament_system() helper is gone.

The suite under scripts/tests now covers the maintenance commands too, and CI
runs it; nothing there ran in CI before. No shipped profile data changes apart
from those four keys.

* update vendor index files with "python3 ./scripts/orca_profile_tool.py update-index" and "python3 ./scripts/orca_profile_tool.py normalize"
2026-09-16 19:53:23 +08:00
SoftFever 6ec904074b Give generic filaments one name and one identity across every vendor 2026-09-01 17:26:57 +08:00
Ian Bassi 16727644bb Reduce size by Json Fromatting (#13163)
Reduce the size of current and new JSONs by standardising them with 1 tab indentation instead of 4 spaces.
This effectively reduces the size by almost 20 MB.

| Current | New |
|---|---|
| 85.2 Mib | 67 Mib |

Used [JQ](https://jqlang.org/) `--tab` to automatically format every current JSON.

> [!NOTE]
> Some profiles had the arrays on the same line, but those created by Orca were in the standard format (each object below the previous one). In some cases, this increases the number of tabs due to the new lines, but the increase is negligible, and this way both the base profiles and those created by Orca maintain the same style.
2026-04-15 22:58:12 +08:00
SoftFever 4f50fdc94e Fixed many profile issues and cleaned up some messes. (#10686) 2025-09-11 17:50:53 +08:00
SoftFever 5e5542d02f Update default filaments for printers (#8655)
* update M1

* update Voron

* update Positron

* update Biqu

* update Eryone

* update Folgetech

* update Geeetech

* update Kingroon

* update MagicMaker

* update Raise3D

* update Rolohaun

* update Tronxy

* update Kingroon and Tronxy

* update Voxelab

* update Wanhao

* more fix
2025-03-03 20:32:47 +08:00
InfimechOfficial 2533e95004 fix z_hop type (#7466)
* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Update fdm_process_common.json

* Update fdm_process_common_HSN.json

* Update fdm_machine_common.json

* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Update fdm_klipper_common.json

* Update fdm_process_common.json

* Update fdm_process_common_HSN.json

* Update InfiMech Generic PLA.json

* Update Other PLA.json

* Update fdm_filament_pla.json

* Update fdm_filament_pla_Hyper.json

* Update fdm_filament_pla_Hyper_other.json

* Update fdm_filament_pla_other.json

* Update fdm_process_common.json

* Update fdm_process_common_HSN.json
2024-12-14 15:26:36 +08:00
InfimechOfficial 2012fab758 upgrade start_gcode (#6540)
* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Update fdm_klipper_common.json

* Update fdm_machine_common.json
2024-08-23 19:23:55 +08:00
InfimechOfficial 6a28bae6fd Update Infimech profiles: fix printstart gcode (#5787)
* Update fdm_klipper_common.json

* Update fdm_machine_common.json
2024-06-21 17:55:37 +08:00
jimmyjon711 5f92fae965 Fix for InfimechTx Start Gcode (#5527)
Fixes InfimechTx Start Gcode

- Current start gcode for InfimechTx has the wrong index for Y when creating the purge line
- Updated start gcode to use right index for the Y value
2024-06-02 23:01:36 +08:00
InfimechOfficial 6689087e6f Fix 0.16mm parameters and update start_gcode (#4414)
Fix 0.16mm parameters and update start_gcode
2024-03-11 22:36:03 +08:00
InfimechOfficialandSoftFever ad9779f08a Modified filaments/process/starting codes and added a new print layer height 0.16mm in the process (#4200)
* Update InfiMech Generic ABS.json

* Update fdm_filament_abs.json

* Update InfiMech Generic PA-CF.json

* Update fdm_filament_pa.json

* Update InfiMech Generic PC.json

* Update fdm_filament_pc.json

* Update InfiMech Generic PETG.json

* Update fdm_filament_pet.json

* Update fdm_filament_pla.json

* Update InfiMech Generic PLA.json

* Update InfiMech Generic TPU.json

* Update InfiMech Generic TPU.json

* Update fdm_filament_tpu.json

* Update fdm_filament_common.json

* Add new files named Other Filament 

Add ”Other+ ABS PA PC PETG PLA PLAHYPER TPU“ filaments

* Update InfiMech.json

* Update 0.08mm Extra Fine @InfiMech TX.json

* Update 0.12mm Fine @InfiMech TX.json

* Update 0.20mm Standard @InfiMech TX.json

* Update 0.24mm Draft @InfiMech TX.json

* Update fdm_process_common.json

* Add a new 0.16mm optimal file

* Update InfiMech.json

* Update fdm_klipper_common.json

* Update fdm_machine_common.json

* Change cover.png img

* Update fdm_filament_pa.json

* Update InfiMech Generic PETG.json

* Update InfiMech.json

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-03-01 21:32:28 +08:00
InfimechOfficialandSoftFever 915c112ee5 20231103 Add "InfiMech" printer profiles (#2596)
* 20231103 Add "InfiMech" printer profiles 

A new brand named "InfiMech" submits printer profiles for the first time.

* 20231103 Add "InfiMech" printer profiles 

A new brand named "InfiMech" submits printer profiles for the first time.

* fix issues that prevent the profiles being loaded.

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-11-03 19:23:20 +08:00