autodesk-model-derivative

Autodesk Forge viewer renders only single page for PDF files

风格不统一 提交于 2019-12-31 03:51:08
问题 In our application we're using Autodesk Forge Viewer to render 3D and 2D design files. Files with other formats get rendered pretty well. But in case of the pdf files, only the first page gets rendered even if the file actually has multiple pages. But we need to display all the pages . Here's the part of code I'm using to initialize the viewer: function doInitializeTheViewer(urn, token, element) { const options = { 'env': 'AutodeskProduction', 'accessToken': token }; let documentId = 'urn:' +

Download all the derivatives for the purpose of the using Forge Viewer offline/C#

最后都变了- 提交于 2019-12-25 18:42:18
问题 refering to this post ,I know there is a way to download the tranlated files with node.js" How do I download SVG/SVF for offline viewing with Autodesk Model Forge APIs",and using the Model Derivative api "GET :urn/manifest/:derivativeurn", I can download all the files record in manifest, download files pic: http://imgur.com/iPFn3Cx my question is :are these files I download from manifest with "GET :urn/manifest/:derivativeurn" enough for offline viewing? If not,did anyone implement this

Download all the derivatives for the purpose of the using Forge Viewer offline/C#

空扰寡人 提交于 2019-12-25 18:42:14
问题 refering to this post ,I know there is a way to download the tranlated files with node.js" How do I download SVG/SVF for offline viewing with Autodesk Model Forge APIs",and using the Model Derivative api "GET :urn/manifest/:derivativeurn", I can download all the files record in manifest, download files pic: http://imgur.com/iPFn3Cx my question is :are these files I download from manifest with "GET :urn/manifest/:derivativeurn" enough for offline viewing? If not,did anyone implement this

Upload linked Revit models for Forge Viewer

旧街凉风 提交于 2019-12-23 05:32:48
问题 How can I upload a Revit model that contains multiple Revit files, where one of them is a main file and the remaining are linked files into Forge Viewer? I've uploaded separately and they show as different files in the bucket and the viewer. Can we have one combined file to be viewed in the Forge Viewer? 回答1: A ZIP file can help you do such thing. You can pack them in a single .zip file, then upload it to Forge Data Management Service. While submitting a translation job to the Forge Model

How to Show/View or Read .dwg files on browser

本秂侑毒 提交于 2019-12-21 03:18:22
问题 How to Show or Read .dwg files on browser without using any software means using PHP, jQuery, Javascript or any other programming language. For this I have gone through https://developer.autodesk.com and created an app with Client ID and Client Secret, Also created index.html file. But after that i get stuck in finding next movement for getting required "Model Derivative API". So Please guide me for the same. Thanks for giving your precious response. <!-- The Viewer CSS --> <link rel=

Decals not displaying in Autodesk Viewer

痴心易碎 提交于 2019-12-20 05:43:16
问题 When using the Autodesk Viewer, decals do not seem to display as expected. The image above has the decal displaying correctly (not rendered in Autodesk Viewer), and the image below has no decal (rendered in Autodesk viewer). Why is this so, and how can decals be made to work in Autodesk Viewer? Source files here. 回答1: Here is my code sample. I imported the STEP file on Forge, and copied the RefdFile_1.png file on my node.js server. var attenuationVertexShader =` varying vec2 vUv; varying vec3

Autodesk Forge Model Derivative API: OBJ files

筅森魡賤 提交于 2019-12-13 21:41:56
问题 Using Autodesk FORGE Model Derivative API to query geometry attributes from REVIT files results in very large OBJ files; e.g. a 30-40MBs REVIT file transforms to a 1GBs OBJ file. Is there any documentation on generating optimized OBJ files via FORGE Model Derivative API? Are there other alternatives to downloading optimized geometry attributes? FORGE VIEWER seems to take SVF fileformat as input. Is SVF a recommended file format for custom made webGL viewers and is there any documentation

how I can see view points in Autodeskforge

帅比萌擦擦* 提交于 2019-12-13 07:43:24
问题 We have been working on the web based application using AudeskForge , where we are uploading the file ( .rvt,.NWD ) files but we can track the ViewPoint in it. On other hand we can see the ViewPoint when we open files in respective applications (Revit, Navizwork). We have been using audesk-model-derivatives to get the data. I would like to how I can see view points in forge? PS:So idea is to get possibly all data and datapoints from the stand-alone software to webbased forge app. 回答1: Update:

Forge model derivative job failed. What now?

痴心易碎 提交于 2019-12-13 04:08:00
问题 I ran a model derivative job and the status came back: failed. After drilling through the return values, it said that two of the linked dwg files were missing. I added the dwg files, re-zipped and re-uploaded the zip. When I try to run the job, it keeps coming back with the initial failed status. Am I missing something? 回答1: Assuming you have buckets , on the POST Job endpoint, use the x-ads-force header, if you pass true it will translate again the file. 回答2: In hindsight, one could say this

Uploading linked Revit models to Autodesk Forge

纵饮孤独 提交于 2019-12-13 03:45:37
问题 I've been trying to use the Post references (https://developer.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-references-POST/) to set up the reference between two files in forge but although I get a message "success" as result when I try it on the forge viewer I still see the files separately even after I translate the models. Has someone been through the same issue? 回答1: Without seeing you code it is hard to tell what is happening. Below I copied my bash script code which