Autodesk Forge Model Derivative API: OBJ files -
using autodesk forge model derivative api query geometry attributes revit files results in large obj files; e.g. 30-40mbs revit file transforms 1gbs obj file.
- is there documentation on generating optimized obj files via forge model derivative api? there other alternatives downloading optimized geometry attributes?
- forge viewer seems take svf fileformat input. svf recommended file format custom made webgl viewers , there documentation available on svf?
yes, obj file can becomes big since describe each triangles , believe isn't optimized @ point. forge api allows request geometry individual components. example, ask specific wall, door, or others geometry. forge model derivative endpoint post job can specify objects want: see objectids array below.
{ "input": { "urn": "string", "compressedurn": false, "rootfilename": "string" }, "output": { "formats": [ { "type": "svf", "views": [ "2d" ], "advanced": { "exportfilestructure": "single", "modelguid": "string", "objectids": [ "string" ] } } ] } }
to complete answer, can objectids manifest file wish.
other alternatives, geometry in format such step, today got limited choice today (svf, thumbnail, stl, step, iges, or obj). expand in future, supporting options , optimizations each formats.
the svf format forge viewer format internal format , not documented today. an aggregate of json, png, sqllite files can unzipped , reverse engineered easy. however, svf formats might still larger rvt file itself, smaller obj.
Comments
Post a Comment