A project done at EF to generate 3D furniture models
Find a file
2017-10-20 15:52:41 +01:00
src Add Dockerfile and modify generator script to change shapes and take a unique file id. 2017-10-20 15:52:41 +01:00
test Add Dockerfile and modify generator script to change shapes and take a unique file id. 2017-10-20 15:52:41 +01:00
Dockerfile Add Dockerfile and modify generator script to change shapes and take a unique file id. 2017-10-20 15:52:41 +01:00
README.md Add Dockerfile and modify generator script to change shapes and take a unique file id. 2017-10-20 15:52:41 +01:00

gen-backend

Requirements:

docker pull jmsgrogan/python-generator

Launch:

python generate_image.py -height 120.0 -radius 150.0 -r 100.0 -g 0.0 -b 0.0 -o 1 -s 0

-o is a unique output identifier added to file names. -s is the generation stage. Stage 0 generates shapes. Stage 1 generates textures.

The output is a file lamp_$o.png in the launch directory, where $o is the unique output identifier. Three temporary files with suffix _$o.stl are also created.