autodesk-model-derivative

Autodesk Forge: I created an app to translate CAD files, but cannot see properties for an assembly

烂漫一生 提交于 2021-02-11 14:19:31
问题 So I created a nodejs app to translate CAD files and to display them in the viewer. For .rvt files and individual Inventor components I can see the properties by going to Model Browser and clicking on each component, however, I cannot see properties for an entire Inventor assembly. How can I go about seeing assembly properties? I am using this sample: https://github.com/Autodesk-Forge/viewer-walkthrough-online.viewer Only change I made was set compressedUrn to true and added a rootFileName to

Default material for model in Forge Viewer

好久不见. 提交于 2021-02-11 13:23:40
问题 I'd need to have the complete model use a default material (e.g. grey color) and then use externally defined materials for each node. So I'm looking for some advice on two points: 1) Setting a default material on all nodes. 2) Setting the material / color for given nodes after they're fetched from an external source. Could this be done at some point before the model is loaded into the viewer? (i.e. server-side)? If not, can it be done in the viewer? 回答1: All geometry coming from Forge will

Forge Model derivative fails for large IFC files

大兔子大兔子 提交于 2021-02-11 12:32:26
问题 I was trying to use model derivative API for translating fairly large (~6GB) IFC file. I've used chunked upload for uploading file, and successfully finished uploading file to the server. However, after submitting job, model derivative process has exited with following message: messages":[{"type":"error","message":"Unrecoverable exit code from extractor: -1073741829","code":"TranslationWorker-InternalFailure"}] I was not able to correctly identify the issue further more; Would you please help

Extract and download model to local machine in OTG format

空扰寡人 提交于 2021-01-29 12:20:56
问题 According to https://github.com/wallabyway/OTG-client-sample, a new OTG format for the forge viewer has been released and it looks like it has siginificant improvement in performance as opposed to the traditional SVF format. Currently,we are using model derivative API to translate RVT/NWD files to SVF and download it to our local machine using the extractor from the following link: https://github.com/cyrillef/extract.autodesk.io The question is that how do I to translate the model into OTG

How to match objectids from Autodesk Model Derivative API metadata with Forge Viewer model dbids?

瘦欲@ 提交于 2021-01-06 07:32:29
问题 I am building an application around Autodesk Forge Viewer, where I add extra functionalities using basic functions from Viewer (coloring, isolating etc.) depending on client data. This application also allows you to upload a new model. After the upload and conversion process, metadata is extracted from the model using this Model Derivative API https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-GET/, which basically returns the tree of objects and their ids

How to match objectids from Autodesk Model Derivative API metadata with Forge Viewer model dbids?

假如想象 提交于 2021-01-06 07:32:11
问题 I am building an application around Autodesk Forge Viewer, where I add extra functionalities using basic functions from Viewer (coloring, isolating etc.) depending on client data. This application also allows you to upload a new model. After the upload and conversion process, metadata is extracted from the model using this Model Derivative API https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-GET/, which basically returns the tree of objects and their ids

How can I load only specifc objects in the forge viewer using SFV2?

人盡茶涼 提交于 2021-01-02 01:54:11
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel

How can I load only specifc objects in the forge viewer using SFV2?

假如想象 提交于 2021-01-02 01:50:41
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel

How can I load only specifc objects in the forge viewer using SFV2?

一笑奈何 提交于 2021-01-02 01:50:11
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel

How can I load only specifc objects in the forge viewer using SFV2?

天涯浪子 提交于 2021-01-02 01:47:50
问题 SVF2 has different objectid s/ dbid s than SVF1. In this SO-Answer, it was advised to use externalId instead of objectid . However, viewer.loadModel(svfUrl,{ids:[dbIds...]}) takes dbId s to load only specified objects. How can I load only specified objects using SVF2 and the https://developer.api.autodesk.com/modelderivative/v2/regions/eu/designdata/:urn /metadata/:guid/properties endpoint? Can I access the svf2 objectIds anywhere or can I use the externalIds when calling Viewer3d::loadModel