-
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.
Showing
13 changed files
with
70,937 additions
and
141,633 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,32 +1,24 @@ | ||
name: Build123d Case | ||
name: Case Generator | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["KiBot Check & Generate"] | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
|
||
jobs: | ||
Case: | ||
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" | ||
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" |
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 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cadquery-ocp==7.7.2.1 | ||
build123d==0.6.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.