Skip to content

Latest commit

 

History

History
 
 

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
Get some models in XML format:
==============================

node scripts/scrapeModel.js -d data/cutter -h http://www.steptools.com/demos/cutter/index.xml
node scripts/scrapeModel.js -d data/rccar -h http://www.steptools.com/demos/rccar/index.xml
node scripts/scrapeModel.js -d data/ifv -h http://www.steptools.com/demos/ifv/index.xml
node scripts/scrapeModel.js -d data/rear -h http://www.steptools.com/demos/rear/index.xml

Convert the models from XML to JSON

node scripts/xmlToJson.js -d data/cutter -i index.xml
node scripts/xmlToJson.js -d data/rccar -i index.xml
node scripts/xmlToJson.js -d data/ifv -i index.xml
node scripts/xmlToJson.js -d data/rear -i index.xml


Test URLs:
==========

http://localhost:8080/cad.js?resource_url=/data/modelname/index.xml