Tidy up.
This commit is contained in:
parent
ea2435a159
commit
a1e22c9f2b
13 changed files with 101 additions and 58 deletions
|
@ -2,7 +2,7 @@ import os
|
|||
import sys
|
||||
import random
|
||||
import json
|
||||
import product_gen.generate_lamp
|
||||
import product_gen.generate_product
|
||||
from argparse import ArgumentParser
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -18,9 +18,9 @@ if __name__ == "__main__":
|
|||
|
||||
height = 1.0 + random.random()*1.5
|
||||
radius = 0.2 + random.random()*1.0
|
||||
color = [18.0, 18.0, 18.0]
|
||||
color = [0.1, 0.1, 0.1]
|
||||
|
||||
product_gen.generate_lamp.generate(shape, height, radius, color, output)
|
||||
product_gen.generate_product.generate(shape, height, radius, color, output)
|
||||
|
||||
shape_parameters = {"shape": shape,
|
||||
"height": height,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue