mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-27 15:49:52 -05:00
The Design commands follow Fusion 360's names and grouping: one command per job, with a `type` argument for its variants, so 133 commands become 88. An old name or argument is refused. What the tab could do and no command reached now has one: re-opening a committed sketch, selecting geometry, confirming or cancelling an open tool, placing a body, sketch patterns and dimensions, and text, SVG art and projected edges from arguments. Ten defects in the Design tab's cards and sketch tools found on the way are fixed. For a person: the Mirror tool binds a mirrored line or arc to its source, Commit to Plate and Export STEP stop when the open card's Confirm fails, and the Speed Dial keeps a query typed before its list arrives.
38 lines
1.2 KiB
YAML
38 lines
1.2 KiB
YAML
name: Check CAD offer table
|
|
|
|
# src/slic3r/GUI/CAD/DesignOffer.hpp is generated from scripts/CAD/tool_atlas.json and must never be
|
|
# edited by hand. This fails when the checked-in header is not what the generator makes of the atlas, and
|
|
# when the generator's checks of an atlas (scripts/CAD/test_gen_offer_table.py) miss a fault.
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'scripts/CAD/tool_atlas.json'
|
|
- 'scripts/CAD/gen_offer_table.py'
|
|
- 'scripts/CAD/test_gen_offer_table.py'
|
|
- 'src/slic3r/GUI/CAD/DesignOffer.hpp'
|
|
- '.github/workflows/check_cad_offer_table.yml'
|
|
pull_request:
|
|
paths:
|
|
- 'scripts/CAD/tool_atlas.json'
|
|
- 'scripts/CAD/gen_offer_table.py'
|
|
- 'scripts/CAD/test_gen_offer_table.py'
|
|
- 'src/slic3r/GUI/CAD/DesignOffer.hpp'
|
|
- '.github/workflows/check_cad_offer_table.yml'
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
check_cad_offer_table:
|
|
name: Check CAD offer table
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Check the offer table against the atlas
|
|
run: python3 scripts/CAD/gen_offer_table.py --check
|
|
|
|
- name: Test the generator's checks of the atlas
|
|
run: python3 scripts/CAD/test_gen_offer_table.py
|