-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
418b960
commit e469058
Showing
13 changed files
with
205,838 additions
and
135,142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
name: Case Generator | ||
name: Build123d Case | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["KiBot Check & Generate"] | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
Case: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
cache: 'pip' # caching pip dependencies | ||
- run: pip install -r requirements.txt | ||
# - run: vpype read default/swoon-Edge_Cuts_LEFT.svg linemerge --tolerance 3mm linesort reloop linesimplify write default/swoon-Edge_Cuts_LEFT_vpype.svg | ||
- run: python case.py | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Case | ||
path: "*.step" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: BOARD_OUTLINE | ||
path: case/swoon_edges.svg | ||
run-id: ${{ github.event.workflow_run.id }} | ||
- run: | | ||
python3 -m pip install vpype build123d | ||
vpype read case/swoon_edges.svg linemerge --tolerance 3mm linesort reloop \ | ||
linesimplify write case/swoon_edges_vpype.svg | ||
python case.py | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Case_STEP | ||
path: "*.step" | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Case_STL | ||
path: "*.stl" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.