autodesk-model-derivative

Why is webhook workflow not taken into consideration when creating modelderivative job?

╄→гoц情女王★ 提交于 2019-12-13 03:36:21
问题 When I create a job, with a webhook for completion on https://developer.api.autodesk.com/modelderivative/v2/designdata/job the misc.workflow part is not taken into consideration. This is the POST I use with postman (header only contains Authorization key): { "input": { "urn": "{{Urn}}" }, "output": { "formats": [ { "type": "svf", "views": ["3d", "2d"] }] }, "misc" : { "workflow" : "my-workflow-id" } } In the response, I have nothing related to the workflow, but job is trigerred, coming to an

SVF model derivative downloaded as an (almost) empty ZIP file (Autodesk Forge)

喜你入骨 提交于 2019-12-12 20:57:23
问题 I have been a happy developer on Autodesk Forge these recent months, and have been able to perform several tasks using the API's. However, I can't seem to be able to download SVF model derivatives properly (derived either from IFC or RVT files). I've tried the direct curl command or the forge-apis NPM package, without success. Oddly the download works fine, but all I get is a ZIP file with empty directories ("geometry", "material", "scene"), and (non-empty) "manifest.json" and "metadata.json"

Autodesk Forge Viewer : f2d get frag from dbid

岁酱吖の 提交于 2019-12-12 02:46:54
问题 I am trying to fill in room with color on a revit converted file's 2d viewer. I have a Revit file that has "rooms" defined. The Revit file also has sheets defined "Floor one", "Floor two". When I convert it using the Forge API I get a svf for the Revit 3D view and f2d files for "Floor one" and "Floor Two" sheets. For the svf I was able to get fragid from dbids other post Now Im trying to do the same for the f2d files. I am able to change the color of the room walls if I know the wall shapes

Forge - Revit-UnsupportedFileType

久未见 提交于 2019-12-11 17:05:24
问题 I’m trying to integrate Forge viewer with my sample application and facing some issues. Below are the steps I tried to achieve my goal. Registered an app by creating a new account and generated “client ID” and “secret key” (success). Generate Oauth token for further API calls (success). Create a new bucket storage (success). Upload model to the bucket and create URN for the model (success). Design data for model translation (this is the step where our uploaded model will be translated to SVF)

Translation of zip file (contains object and material file with different colors) results to a viewables of single color

半腔热情 提交于 2019-12-11 15:07:39
问题 Till a few days back the translation was working as expected. I was able to see the viewables with the color scheme mentioned in obj and mat file. But now same translation is giving wrong results(viewables). It applies only one color to all the objects and nodes !!! 回答1: This is now fixed, thanks for reporting. 来源: https://stackoverflow.com/questions/56322902/translation-of-zip-file-contains-object-and-material-file-with-different-colors

3D drawing in lines, not displaying 3D in Viewer

北慕城南 提交于 2019-12-11 08:17:51
问题 I have a 3D DWG drawing of only points and lines. I uploaded and translated it, with output format: 'type':'svf', 'views':[ '2d', '3d' ] In front end, geometryItems = Autodesk.Viewing.Document.getSubItemsWithProperties(document.getRootItem(), { 'type' : 'geometry', 'role' : '2d' }, true); Viewer shows 2D drawing, as if been flattened. If I change 'role' from 2d to 3d, viewer doesn't show up, because geometryItems.length == 0. Any way I can show 3D drawing with line/point in 3D, please? Thank

Forge viewer crashes after loading specific model

谁都会走 提交于 2019-12-08 11:48:37
问题 I have been trying to use the forge viewer to load somewhat large model, but it seems like that the viewer crashes after few seconds (3 - 5) of usage. (with typical Aw snap! page). I've had no trouble with other models, but this happens on this specific model on Windows 10, Chrome. I've tested loading in OS X, but it seem to work although it is somewhat slow. My current best guess is that this is happening due to memory overflow in Chrome, but this is not yet certain, because the viewer

How do I download SVG/SVF for offline viewing with Autodesk Model Forge APIs

怎甘沉沦 提交于 2019-12-08 05:57:25
问题 I am able to accomplish all steps to upload Revit files and translate and load in viewer. I am now trying to download the translated SVG/SVF for offline viewing. I found reference to the following endpoint and tested it out with this: function download(){ var uri = 'https://developer.api.autodesk.com/derivativeservice/v2/derivatives/<<urn>>' ; var authorizationHeader = 'Bearer <<token>>' request.get( { url: uri, headers: { 'Authorization': authorizationHeader, 'Accept-Encoding': 'gzip,

Model Derivative API responses not mapping through Jackson

随声附和 提交于 2019-12-04 05:22:29
问题 Have there been updates made to the response objects from the Model Derivative API as we are having issues mapping the responses from requests for 3D models back into the Manifest and Metadata objects. Both are throwing Jackson errors. GetManifest is returning an unhandled role enum GetMetadataForGuid is throwing - Illegal character ((CTRL-CHAR, code 31)) Thanks 回答1: I got what's wrong with the issue. The response of Get Manifest endpoint did changed a bit recently. There will a property

How to upload obj with mtl and textures to bucket?

别来无恙 提交于 2019-12-02 16:32:53
问题 As the title suggests, how do I upload the obj model's material file and textures, as they are hard coded in the obj file. Can I upload zipped dir structure or multiple files that are in correct relation (because of the hard coded nature of obj)? 回答1: Here is an OBJ model with material and texture on the dotty trial site: http://trial.dotdotty.com/share/?shareId=cdc9-523f-305f-7ddb-5cc4 That was uploaded as a single zip file containing OBJ, MTL and PNG. Here is the same model on A360: http:/