Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ashleylid/ShapeNetCoreMetadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ShapeNetCoreMetadata

This is for Linux - but shouldnt be hard to modify for any other OS.

The file rename.py takes all bottom level files in ShapeNetCore.v2 and renames them according to their actual names.

  1. Download ShapeNetCore.v2
  2. Extract and cd into ShapeNetCore.v2 folder
  3. Clone this repository in that folder
  4. Create file shapenet_models in your Downloads folder
  5. Modify these lines in rename.py :
directory = '~/Downloads/ShapeNetCore.v2/'
dest = os.path.join("~/Downloads/shapenet_models")
  1. Download the metadata files from ShapeNet (you will find a few .csv files for the metadata that I have used already)
  2. Paste special into a spreadsheet and make comma separated (like the csv files here)
  3. Make sure that the names dont have any difficult to handle characters (e.g. "/")
  4. Run with > python rename.py: This should rename all files and copy the obj and mtl across to the /shapenet_models folder

About

Rename and copy obj and mtl files after downloading shapenet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages