Updated partcad.yaml to make the examples work in the latest PartCAD

This commit is contained in:
Roman Kuzmenko 2024-09-20 22:19:34 -07:00
parent 043629ec87
commit c47a550aa5

View file

@ -6,6 +6,25 @@ url: https://github.com/gumyr/build123d
partcad: ">=0.5.22" partcad: ">=0.5.22"
pythonRequirements: pythonRequirements:
- ocp_vscode - 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: parts:
examples/benchy: examples/benchy:
@ -37,13 +56,14 @@ parts:
type: build123d type: build123d
desc: This example creates the former build123d logo (Algebra mode). desc: This example creates the former build123d logo (Algebra mode).
examples/canadian_flag: # `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
type: build123d # examples/canadian_flag:
desc: Canadian Flag Blowing in The Wind (Builder mode) # type: build123d
# desc: Canadian Flag Blowing in The Wind (Builder mode)
examples/canadian_flag_algebra: # examples/canadian_flag_algebra:
type: build123d # type: build123d
desc: Canadian Flag Blowing in The Wind (Algebra mode) # desc: Canadian Flag Blowing in The Wind (Algebra mode)
examples/circuit_board: examples/circuit_board:
type: build123d type: build123d
@ -53,14 +73,6 @@ parts:
type: build123d type: build123d
desc: This example demonstrates placing holes around a part (Algebra mode) 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: examples/custom_sketch_objects:
type: build123d type: build123d
desc: | desc: |
@ -276,26 +288,18 @@ parts:
type: build123d type: build123d
desc: Projection examples (Algebra mode) desc: Projection examples (Algebra mode)
examples/python_logo: # `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
type: build123d # examples/roller_coaster:
desc: This python module creates the Python logo as a Sketch object # type: build123d
show: PythonLogo(10) # desc: |
# This example demonstrates building complex 3D lines by "snapping"
# features to existing objects (Builder mode)
examples/roller_coaster: # examples/roller_coaster_algebra:
type: build123d # type: build123d
desc: | # desc: |
This example demonstrates building complex 3D lines by "snapping" # This example demonstrates building complex 3D lines by "snapping"
features to existing objects (Builder mode) # features to existing objects (Algebra 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
examples/stud_wall: examples/stud_wall:
type: build123d type: build123d