Skip to content

Commit

Permalink
Merge pull request #706 from openvmp/partcad-examples-update
Browse files Browse the repository at this point in the history
Updated partcad.yaml to make the examples work in the latest PartCAD
  • Loading branch information
gumyr committed Sep 21, 2024
2 parents 043629e + c47a550 commit ca0597d
Showing 1 changed file with 38 additions and 34 deletions.
72 changes: 38 additions & 34 deletions partcad.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ url: https://github.com/gumyr/build123d
partcad: ">=0.5.22"
pythonRequirements:
- ocp_vscode
- build123d>=0.7.1

sketches:
examples/clock:
type: build123d
desc: Clock Face (Builder mode)

examples/clock_algebra:
type: build123d
desc: Clock Face (Algebra mode)

examples/python_logo:
type: build123d
desc: This python module creates the Python logo as a Sketch object
show: PythonLogo(10)

examples/shamrock:
type: build123d
desc: Adds a four leaf clover

parts:
examples/benchy:
Expand Down Expand Up @@ -37,13 +56,14 @@ parts:
type: build123d
desc: This example creates the former build123d logo (Algebra mode).

examples/canadian_flag:
type: build123d
desc: Canadian Flag Blowing in The Wind (Builder mode)
# `canadian_flag` can't be a PartCAD part as it doesn't have volume, and it can't be a sketch as it's not plain
# examples/canadian_flag:
# type: build123d
# desc: Canadian Flag Blowing in The Wind (Builder mode)

examples/canadian_flag_algebra:
type: build123d
desc: Canadian Flag Blowing in The Wind (Algebra mode)
# examples/canadian_flag_algebra:
# type: build123d
# desc: Canadian Flag Blowing in The Wind (Algebra mode)

examples/circuit_board:
type: build123d
Expand All @@ -53,14 +73,6 @@ parts:
type: build123d
desc: This example demonstrates placing holes around a part (Algebra mode)

examples/clock:
type: build123d
desc: Clock Face (Builder mode)

examples/clock_algebra:
type: build123d
desc: Clock Face (Algebra mode)

examples/custom_sketch_objects:
type: build123d
desc: |
Expand Down Expand Up @@ -276,26 +288,18 @@ parts:
type: build123d
desc: Projection examples (Algebra mode)

examples/python_logo:
type: build123d
desc: This python module creates the Python logo as a Sketch object
show: PythonLogo(10)

examples/roller_coaster:
type: build123d
desc: |
This example demonstrates building complex 3D lines by "snapping"
features to existing objects (Builder mode)
examples/roller_coaster_algebra:
type: build123d
desc: |
This example demonstrates building complex 3D lines by "snapping"
features to existing objects (Algebra mode)
examples/shamrock:
type: build123d
desc: Adds a four leaf clover
# `roller_coaster` can't be a PartCAD part as it doesn't have volume, and it can't be a sketch as it's not plain
# examples/roller_coaster:
# type: build123d
# desc: |
# This example demonstrates building complex 3D lines by "snapping"
# features to existing objects (Builder mode)

# examples/roller_coaster_algebra:
# type: build123d
# desc: |
# This example demonstrates building complex 3D lines by "snapping"
# features to existing objects (Algebra mode)

examples/stud_wall:
type: build123d
Expand Down

0 comments on commit ca0597d

Please sign in to comment.