Add Dockerfile and modify generator script to change shapes and take a unique file id.
This commit is contained in:
parent
29ffa13092
commit
c9c98f91dc
18 changed files with 166867 additions and 57 deletions
BIN
test/lamp.png
BIN
test/lamp.png
Binary file not shown.
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 26 KiB |
|
@ -13,14 +13,12 @@ height = 20.0
|
|||
radius = 15.0
|
||||
thickness = 3.0
|
||||
base = product_gen.generate_lamp.generate_base(height, radius, thickness)
|
||||
work_dir = os.getcwd()
|
||||
base.exportStl(work_dir + "/base.stl")
|
||||
|
||||
height = 150.0
|
||||
radius = 2.0
|
||||
thickness = 1.0
|
||||
chord = product_gen.generate_lamp.generate_chord(height, radius, thickness)
|
||||
work_dir = os.getcwd()
|
||||
chord.exportStl(work_dir + "/chord.stl")
|
||||
|
||||
product_gen.render_lamp.render_lamp(work_dir + "/shade.stl",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue