forge - devcon 2016: free your design data
TRANSCRIPT
Shiya Luo (@ShiyaLuo) & Adam Nagy (@AdamTheNagy)
Developer Advocates
Free your design data
© 2016 Autodesk
Follow: @AutodeskForge
Follow the conference: #ForgeDevCon
The World Wide Web
© 2016 Autodesk
© 2016 Autodesk
Sir Tim Berners-Lee
“In those days [1980’s], there was different information on different computers, but you had to log on to different computers to get at it. Also, sometimes you had to learn a different program on each computer. Often it was just easier to go and ask people when they were having coffee…” Sir Tim Berners-Lee
The World Wide Web
© 2016 Autodesk
“In those days [2000’s], there was different design data on different computers, but you had to use different computers to get at it. Also, sometimes you had to use a different application on each computer. Often it was just easier to go and ask people when they were having coffee…” Adam Nagy
The World Wide Web
© 2016 Autodesk
Design data
© 2016 Autodesk
© 2016 Autodesk© 2016 Autodesk
1) You need to install the design software
2) You need to install “the” viewer
3) Just use Viewer from a web browser
Evolution of design access
© 2016 Autodesk
Viewer
© 2016 Autodesk
Design is not just geometry
© 2016 Autodesk
Model Derivative API
=
Design Data Extraction &
Translation
© 2016 Autodesk
1) Get hierarchy of the model
2) Get geometry and properties from any of the components
3) Get translations of the model
Model Derivative API
© 2016 Autodesk
IFTTT (IF This Then That), Zapier, etc
© 2016 Autodesk
openBoM
© 2016 Autodesk
MAKETIME
© 2016 Autodesk
POST a translation job
POST/modelderivative/v2/designdata/job
Register the file throughtranslation
© 2016 Autodesk
© 2016 Autodesk
In the past we relied on the client-side toretrieve data from models.
Server-side available now.
New features with the server side APIs
© 2016 Autodesk
© 2016 Autodesk
Viewing/Data extraction: 60+ file formats
OBJ: any supported format at component level
STEP, IGES, STL: only specific file types and only at file level
Translation
© 2016 Autodesk
GET Manifest
GET /modelderivative/v2/
designdata/
{urn}/
manifest
urn of output formats (Derivative urns)
status for requested output types
© 2016 Autodesk
GET Metadata
GET /modelderivative/v2/designdata/
{urn}/
metadata
Metadata: organization of views within model Revit: display different views
Fusion: root model
© 2016 Autodesk
GET Hierarchy
GET /modelderivative/v2/
designdata/
{urn}/
metadata/
{guid}
Get object tree for specified metadata guid
© 2016 Autodesk
GET properties
GET/modelderivative/v2/
designdata/{urn}/
metadata/{guid}/
properties
Get the properties of a filethrough REST API
In the past, you needed toinstantiate a viewer instanceor parse the svf file in orderto have access to thoseinformation
© 2016 Autodesk
GET thumbnail
GETmodelderivative/
v2/
designdata/{urn}/thumbnail?
width=$WIDTH$ & height=$HEIGHT$
What if you just want to getthe thumbnail of a model?
© 2016 Autodesk
© 2016 Autodesk
Get Started!
developer.autodesk.com
forge.autodesk.com
@AutodeskForge
facebook.com/adskForge