DeepCAD
DeepCAD copied to clipboard
Example for visualization
Hello. Very impressive project. Just want to ask, is it possible to provide some example data (e.g. 1 or 2 files) for the inference and visualization for 1) cad estimation with gt, and 2)pointcloud estimated cad with it's ground truth?
A side-by-side comparison can help people to understand the difference quicker. Specifically for the "show.py" and step file.
Thanks again for the great repo!
Kind Regards, Tsun-Yi
Also, by downloading the data, it seems like the show.py for the cad won't work directly?
>> python show.py --src ../data/cad_vec/0000 --form h5

This problem is solved by using wxpython in Mac OSX. Somehow qt5 with SimpleGUI wouldn't work on Mac.
modified "show.py"
display, start_display, add_menu, add_function_to_menu = init_display("wx")
out_vec = fp["vec"][:].astype(np.float)
out_shape = vec2CADsolid(out_vec)
# if args.with_gt:
# gt_vec = fp["gt_vec"][:].astype(np.float)
# gt_shape = vec2CADsolid(gt_vec)
Running on Mac
>> pythonw show.py --src ../data/cad_vec/0000 --num 10
Great method! It's really helpful to my situation, thx!