autodesk-viewer

Where Can I found docu for Autodesk.Viewing.MarkupsCore extension?

可紊 提交于 2020-03-05 06:06:32
问题 I am searching documentation for the Autodesk.Viewing.MarkupsCore extension in the viewe V7, but I can't found it . https://forge.autodesk.com/en/docs/viewer/v7/reference/Extensions/ Just I found in the viewer V2 : https://forge.autodesk.com/en/docs/viewer/v2/reference/javascript/markupscore/ 回答1: For some reason this is not available in V6 and V7 docs, I will notify the team, but you can find it here for now - https://forge.autodesk.com/en/docs/viewer/v5/reference/javascript/markupscore/ 回答2

Where Can I found docu for Autodesk.Viewing.MarkupsCore extension?

不羁岁月 提交于 2020-03-05 06:05:12
问题 I am searching documentation for the Autodesk.Viewing.MarkupsCore extension in the viewe V7, but I can't found it . https://forge.autodesk.com/en/docs/viewer/v7/reference/Extensions/ Just I found in the viewer V2 : https://forge.autodesk.com/en/docs/viewer/v2/reference/javascript/markupscore/ 回答1: For some reason this is not available in V6 and V7 docs, I will notify the team, but you can find it here for now - https://forge.autodesk.com/en/docs/viewer/v5/reference/javascript/markupscore/ 回答2

Place a custom object into viewer space using GPS coords

假如想象 提交于 2020-02-06 08:49:14
问题 I am placing marker objects on a model using data taken from drone surveys. I have access to high accuracy GPS data and also omega/phi/kappa rotation data. The goal is to move the viewer camera into position when I select a photo, so that we get a fairly good view of that part of the model from the photo. So far, we are working with a single model and I want to verify that I'm using the transforms correctly so that this works with other models. Also, I need to match camera orientation using

Place a custom object into viewer space using GPS coords

随声附和 提交于 2020-02-06 08:48:31
问题 I am placing marker objects on a model using data taken from drone surveys. I have access to high accuracy GPS data and also omega/phi/kappa rotation data. The goal is to move the viewer camera into position when I select a photo, so that we get a fairly good view of that part of the model from the photo. So far, we are working with a single model and I want to verify that I'm using the transforms correctly so that this works with other models. Also, I need to match camera orientation using

How to add a mesh to forge viewer v6 using Typescript?

我怕爱的太早我们不能终老 提交于 2020-01-07 09:47:44
问题 I need to know how to add meshes to Forge Viewer v6 using Type script. I went through all the topics and articles and it was working with v4. Now when I try the following code: private wallGeometry: THREE.BoxBufferGeometry; drawWalls() { this.wallGeometry = new THREE.BoxBufferGeometry(4000, 4000, 100, 1, 1, 1); console.log('creating wall geometry'); this.wallGeometry = new THREE.BoxBufferGeometry(4000, 4000, 100, 1, 1, 1); console.log('creating wall material'); let wallMaterial = new THREE

Drawing 2D SVG markups using MarkupCore

做~自己de王妃 提交于 2020-01-07 06:54:14
问题 Can you possibly provide a sample similar to https://forge.autodesk.com/cloud_and_mobile/2016/04/markup3d-sample-for-view-data-api.html, but now using the the MarkupCore now included in view3D.js? In particular how to draw and update the SVG graphics on top of the canvas. The source for the sample above seems to be removed from github. 回答1: The source of the markup3D extension has been moved there: https://github.com/Autodesk-Forge/library-javascript-viewer-extensions/tree/master/src/Viewing

Forge Autodesk model's transform matrix

∥☆過路亽.° 提交于 2020-01-06 07:27:11
问题 I would like to know what are the two matrix below and what they are used for : placementTransform (1 x 12) refPointTransform (1 x 16) Does anyone know what they are used ? I think it has to do with translation(Tx, Ty, Tz)/rotation (Rx, Ry, Rz) of 3D objects but there are too many parameters in each vector... 回答1: The placementTransform sets the position-offset and scale of a model during loading. refPointTransform is similar (but contains rotation), but is applied (multiplied) after the

Forge Autodesk model's transform matrix

纵然是瞬间 提交于 2020-01-06 07:27:05
问题 I would like to know what are the two matrix below and what they are used for : placementTransform (1 x 12) refPointTransform (1 x 16) Does anyone know what they are used ? I think it has to do with translation(Tx, Ty, Tz)/rotation (Rx, Ry, Rz) of 3D objects but there are too many parameters in each vector... 回答1: The placementTransform sets the position-offset and scale of a model during loading. refPointTransform is similar (but contains rotation), but is applied (multiplied) after the

Model aggregating in viewer - coordinate issue

这一生的挚爱 提交于 2020-01-06 05:50:09
问题 I am dynamically aggregating models in the Viewer (coming from multiple BIM files). Basically, I initialize the viewer, and then LoadDocument and LoadModel for each model that user chooses to view, dynamically. These are mostly NVC files (what I used for testing), which are sharing the coordinate system. Models getting dynamically loaded and getting 'stitched' correctly. However, coordinate system is getting screwed up when the second model gets loaded - not always but in some cases (in v6.3

Angular 8: Webpack - THREE.js loading twice

╄→гoц情女王★ 提交于 2020-01-05 03:55:10
问题 I'm creating a web app using Angular which integrates the Autodesk forge viewer javscript library. The forge viewer.js library is included in the forge viewer.js itself, which is a customized version of the THREE.js release r71. Because of this, I am seeing some unexpected results in my app: THREE.Object3D.add: object not an instance of THREE.Object3D From a bit of research, this is because THREE.js is being loaded twice into my app. I've tried uninstalling three.js from node_modules, but