Browse Source

finished barbie ps5 stand

master
wes 2 months ago
parent
commit
b811fb3d56
  1. 11
      barbie_ps5.py

11
barbie_ps5.py

@ -18,6 +18,8 @@ cover_logo = Workplane("XZ").workplane(offset=32.1)
cover_logo_2 = Workplane("XZ").workplane(offset=31.1)
cut_logo = Workplane("XZ").workplane(offset=32.200001 - 0.1)
cover_logo = (
cover_logo.move(0, -18)
.box(barbie_dim[1], barbie_dim[0], 2.2)
@ -29,9 +31,15 @@ cover_logo_2 = (
.rotate((1, 0, 0), (0, 0, 0), 170)
)
cut_logo = (
cut_logo.move(0, -18)
.box(barbie_dim[1] + 1, barbie_dim[0] + 1, 0.195)
.rotate((1, 0, 0), (0, 0, 0), 170)
)
barbie_logo = (
Workplane("XZ")
.workplane(offset=-32.15)
.workplane(offset=-32.200001)
.center(-105, -166.5)
.addSvgPath(barbie_paths[0])
.extrude(0.5)
@ -45,6 +53,7 @@ result = cq.importers.importStep("/home/deck/Downloads/ps5_stand.step")
result = result.cut(cover_logo)
result = result.union(cover_logo_2)
result = result.union(barbie_logo)
result = result.cut(cut_logo)
cq.exporters.export(result, "/home/deck/model_files/barbie_ps5_stand.stl")

Loading…
Cancel
Save