This commit is contained in:
jmsgrogan 2017-10-23 14:37:12 +01:00
parent ea2435a159
commit a1e22c9f2b
13 changed files with 101 additions and 58 deletions

View file

@ -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,