Add Update XML as separate pre-processing step
All checks were successful
KiBot CI / test (push) Successful in 1m30s

This commit is contained in:
2026-03-06 08:56:17 -08:00
parent 370d5c1ac6
commit 02b8af50a7
4 changed files with 22 additions and 8 deletions

View File

@@ -120,6 +120,11 @@ jobs:
path: ~/3d_models path: ~/3d_models
key: 3d_models key: 3d_models
- name: Run KiBot (Update XML)
uses: inti-cmnb/kibot@${{ env.kibot_tag }}
with:
config: kibot/yaml/kibot_pre_update_xml.yaml
- name: Run KiBot (Preprocessing) - name: Run KiBot (Preprocessing)
uses: inti-cmnb/kibot@${{ env.kibot_tag }} uses: inti-cmnb/kibot@${{ env.kibot_tag }}
with: with:

View File

@@ -623,7 +623,7 @@
) )
(uuid "fd9fe035-5933-4166-bdf5-daf42a1a401a") (uuid "fd9fe035-5933-4166-bdf5-daf42a1a401a")
) )
(text_box "kibot_image_blender_3d_angled_top" (text_box "Replace this with \"kibot_image_blender_3d_angled_top\" to invoke the Blender 3D Rendering output."
(exclude_from_sim no) (exclude_from_sim no)
(at 190.5 39.37 0) (at 190.5 39.37 0)
(size 74.93 50.8) (size 74.93 50.8)
@@ -736,7 +736,7 @@
) )
(uuid "b25ebab3-7089-45e6-b13e-efd73a0ad216") (uuid "b25ebab3-7089-45e6-b13e-efd73a0ad216")
) )
(text_box "kibot_image_blender_3d_angled_bottom" (text_box "Replace this with \"kibot_image_blender_3d_angled_bottom\" to invoke the Blender 3D Rendering output."
(exclude_from_sim no) (exclude_from_sim no)
(at 190.5 101.6 0) (at 190.5 101.6 0)
(size 74.93 50.8) (size 74.93 50.8)
@@ -839,7 +839,7 @@
) )
) )
(instances (instances
(project "Test_4" (project "Test_5"
(path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b" (path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b"
(page "7") (page "7")
) )
@@ -881,7 +881,7 @@
) )
) )
(instances (instances
(project "Test_4" (project "Test_5"
(path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b" (path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b"
(page "2") (page "2")
) )
@@ -923,7 +923,7 @@
) )
) )
(instances (instances
(project "Test_4" (project "Test_5"
(path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b" (path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b"
(page "3") (page "3")
) )

View File

@@ -0,0 +1,9 @@
# KiBot preflight for updating the Schematic XML
# https://kibot.readthedocs.io/en/latest/configuration/preflights/update_xml.html
kibot:
version: 1
preflight:
update_xml: true

View File

@@ -245,7 +245,7 @@
) )
) )
(instances (instances
(project "Test_4" (project "Test_5"
(path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b/f6afef58-d841-4ad6-baf9-746b0a35f011" (path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b/f6afef58-d841-4ad6-baf9-746b0a35f011"
(page "6") (page "6")
) )
@@ -397,7 +397,7 @@
) )
) )
(instances (instances
(project "Test_4" (project "Test_5"
(path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b/f6afef58-d841-4ad6-baf9-746b0a35f011" (path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b/f6afef58-d841-4ad6-baf9-746b0a35f011"
(page "5") (page "5")
) )
@@ -459,7 +459,7 @@
) )
) )
(instances (instances
(project "Test_4" (project "Test_5"
(path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b/f6afef58-d841-4ad6-baf9-746b0a35f011" (path "/8bfb0b6c-9e3a-4761-bc1e-4eb40915aa0b/f6afef58-d841-4ad6-baf9-746b0a35f011"
(page "4") (page "4")
) )