autodesk-forge

Bim360: distinguish between Plans and Project Files folder

谁说我不能喝 提交于 2019-12-11 05:09:51
问题 In BIM360, a project has 2 main folders: Plans and Project Files . When uploading files there, former one accepts only some file types and the latter one accepts many more. To cite Autodesk page: The Plans folder only supports DWF, DWFX, DWG, IFC, PDF, and RVT (current and previous 4 versions) files. (..) The following file types are not supported for upload to Document Management (listed here..). All other file types can be uploaded to the Project Files folder, though not all may be viewable

Forge viewer 3ds Max Viewport

二次信任 提交于 2019-12-11 04:36:44
问题 I'm testing out a new workflow with 3ds Max and my model/scene keeps loading in Top view when I translate it into the Forge viewer. I've tried to save the view as a perspective view but I'm still getting the same result in the viewer. In Revit I remember that I could choose the view from the Collaboration settings. How would I modify the view in 3ds max? I'm translating a MAX file. Thanks a lot. 回答1: 3ds Max does not have the same idea of a "named 3d view" like Revit does. 3ds Max mainly

Create File Version with Autodesk API

瘦欲@ 提交于 2019-12-11 04:25:29
问题 Following on from my file upload question, I am getting stuck at Step 5 in the documentation. I get a 400 error suggesting some of the data I am sending is incorrect, but I think I have matched the code exactly. def create_version_for_file(self, file_name, project_id, folder_id, object_id): url = '{}data/v1/projects/{}/items'.format(self.DOMAIN, project_id) logger.info('Starting version create at %s for file_name %s, folder %s, object %s', url, file_name, folder_id, object_id) data = {

clipping planes in forge viewer not able to clip objects with ShaderMaterial

蓝咒 提交于 2019-12-11 04:24:43
问题 I am trying to add custom objects with THREE.ShaderMaterial in forge-viewer, I am able to add and render the objects in forge-viewer's overlayScene . I referred this blog for adding the same. The problem I am facing is: The forge-viewer's clipping planes are not able to clip the custom added objects. If I try to add same object with other material, then clipping planes are able to clip them. I have tried this. But I am getting error that Cannot resolve #include<clipping_planes_pars_vertex

Transparent Highlight of Selection in Forge Viewer

前提是你 提交于 2019-12-11 03:24:49
问题 Something has changed in the way the Forge Viewer is displaying our selected objects. First when we selected a window it would stay transparent, and was only highlighted with the default or given color. Right now the windows are rendered non-transparent with the default or given color: This only happens at the first selection, the first selected object will stay non-transparent until you pan/zoom the scene or Zoom in (F) on another object: I already tried on every selection: viewer.impl

Obtaining room/area information from Forge api

巧了我就是萌 提交于 2019-12-08 12:41:37
问题 I need to get room/area objects with the hierarchy of linked objects from the Revit model via Forge . Right now I am using this project as a starting point. Unfortunately, the room information is lost. As far as I understand, it is removed during the translation process. There are some workarounds like this one, but it doesn't seem to work for our case. Is there any straightforward way to retrieve room information from rvt in Forge ? 回答1: Although there is not directly way to get room

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

Requests throw when using loadModel

社会主义新天地 提交于 2019-12-08 10:44:42
问题 I tried to use a viewer API for using offline data(SVF) . When I called loadModel, any requests sent as follows. https://ase.autodesk.com/adp/v1/analytics/upload https://raas-assets.autodesk.com/StaticContent/BaseAddress?family=protein https://raas-assets.autodesk.com/StaticContent/BaseAddress?family=prism What does this request mean? Is it checking see if data is correct? 回答1: The first one is for is internal to the viewer for properties access. The 2 others are internal for the viewer to

How do I get metadata from a 2d .dwg file using Forge AutoDesk APIs?

强颜欢笑 提交于 2019-12-08 07:05:08
问题 I was using the Forge AutoDesk Data management, design management and model viewer APIs to upload my .dmg, convert it to svf and then using the metadata. It works well for 3D designs but there seems to no guid inside the metadata when I use 2D designs. Is there something I am doing wrong? EDIT: I can get the manifest alright, but when I fetch the metadata for the same, it gives an empty array. { "type": "manifest", "hasThumbnail": "true", "status": "success", "progress": "complete", "region":

Severe memory leaks in the Autodesk Forge viewer on devices

筅森魡賤 提交于 2019-12-08 06:40:26
问题 I'm developing an Angular/ Typescript application that makes use of the Autodesk Forge viewer to display building models on smartphones and tablets. The application itself runs smoothly, but the problem occurs when I close the application. After closing the application, I notice that hardly any memory gets released, as can be seen in the image below (I close the application around the 8 seconds mark) and after opening the viewer for two or three more times it will run out of memory and crash.