autodesk-forge

How to implement a Forge Autodesk model-aggregating viewer?

北战南征 提交于 2019-12-11 16:45:18
问题 I'm currently doing an internship in a company specialized in BIM. My mission so far consists in implementing a Forge Autodesk viewer, suited for the aggregation and the display of multiple models. I've managed to code a working viewer, and to find a supposed way to aggregate models, but I can't understand how to make them work together. I've already implemented a viewer, following the Forge Autodesk tutorial, and found on the Forge Autodesk blog an article about viewing multiple models with

Model incomplete when loading with Forge AR/VR Toolkit

元气小坏坏 提交于 2019-12-11 16:07:25
问题 I have an IFC model, and I use the sample script 'test-2legged' in Scene Preparation (http://forgetoolkit.com/#/scenePrepration) to upload it to Forge. Then I loaded it with AR/VR toolkit (ForgeARKit-update-6-2018.1). However the downloaded model is incomplete (see below pictures). There is no external links in the model. Please also note that I did some minor modification in 'test-2legged', as the original sample does not work directly with the new beta server 'https://developer-api-beta

Forge Viewer - Failed to display edges in Settings for DWF/DWFX model

你。 提交于 2019-12-11 15:49:28
问题 I'm now developing a web application to view my DWF/DWFX models (exported by Revit 2017/2019). I'm now using the most updated version of forger viewer api (v6). I discovered that it failed to display edges in Settings. When I switch back to use v4.2 version of the viewer api, the problem disappeared. The edges are showing correctly. I have also tried the same models but in different formats (RVT & NWD), there are no such problem. Is it a bug for v6? Where can I report the bug? Thanks. 回答1:

Wireframes extension unload lines on every update

狂风中的少年 提交于 2019-12-11 15:19:04
问题 I'm using this wireframe extension https://autodeskviewer.com/viewers/latest/extensions/Wireframes/Wireframes.js which I slightly modified its colors. If I slightly move the camera, all the lines disappear and since our app constantly get input from the sensor, we end up with the lines always not showing. I can't find what is making those lines disappear. How can I make those to always be visible? It also happens in this example which you can reproduce: 回答1: Another way to avoid this issue

Forge Viewer: Show bottom toolbar and markups at the same time

偶尔善良 提交于 2019-12-11 15:17:56
问题 I'm developing a tool that allow's several users to add markups to the same autocad drawings. I also want the users to be able to use the bottom toolbar of the forge viewer to hide/show layers and the properties popup. The markup extension is good to add svg markups, however it hides the bottom toolbar of the forge viewer when entering the edit mode. It seams that the only way to show the bottom toolbar of the forge viewer is to call the .hide() method on the extension object which will hide

Forge Viewer Compass Rose

亡梦爱人 提交于 2019-12-11 15:15:38
问题 When viewing a model the view cube shows the orientation of the model in terms of top, bottom, left, right etc. How would I display a compass rose graphic that would display in terms of North, South etc? Similar to Navis cube. Note: Currently using V2.11 viewer. Thanks 回答1: Update 2019-11-08: This whish list item, LMV-2837 , has been implemented by our engineering team now. You can see the compass under the ViewCube with the viewer v7.6 by default!! Here is the snapshot: ============= After

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

Autodesk ObjectId and ElementId in dwg

旧街凉风 提交于 2019-12-11 15:06:22
问题 I am use to develop one web app using Forge API. It's working well and good. At the same time am using design automation in forge. I can able to create Package and it's working fine. I will process the dwg file using forge api preparing to viewer. I can able to view dwg in browser. My issue is I have viewer click event the event click populate the element id. However, my package I can get only the object id. element id and object id totally different. What is the conman id each object client

Unable to get revit filemeta data or see revit model in 3d viewer for forge modelderivative API

你离开我真会死。 提交于 2019-12-11 14:49:51
问题 We have been using the model derivative api endpoints to extact data from forge but are currently having issues extracting meta data when uploading specifically Revit files. Our process goes: Auth Upload a model in chunks https://developer.api.autodesk.com/oss/v2/buckets/{bucketKey}/objects/{objectName}/resumable Create upload job https://developer.api.autodesk.com/modelderivative/v2/designdata/job Get translation the process https://developer.api.autodesk.com/modelderivative/v2/designdata/

“Get a 3-Legged Token with Authorization Code Grant” generates an Error 400

霸气de小男生 提交于 2019-12-11 13:46:33
问题 I am trying to create a webpage that implements Step 1 of the "Get a 3-Legged Token with Authorization Code Grant" process described in Autodesk's Forge tutorial. But when I run it I get an error: Error : 400 - Invalid redirect_uri Here is my code: <!DOCTYPE html> <html lang="en"> <head> <title>Get_a_3-Legged_Token_with_Authorization_Code_Grant.php</title> </head> <body> <?php // Derivedfrom API tutorial here: // https://developer.autodesk.com/en/docs/oauth/v2/tutorials/get-3-legged-token/