fix files e riferimentio
This commit is contained in:
@@ -21,10 +21,11 @@
|
||||
let options ={
|
||||
_dimX : X,
|
||||
_dimY: Y,
|
||||
_fileName: "Cubo.3mf",
|
||||
_fileName: "Ex2.3dm",
|
||||
_showLimitedGrid: true,
|
||||
_isOrtographic: true,
|
||||
_modelsDir: "./src/test3/"
|
||||
_modelsDir: "./src/test3/",
|
||||
_fileType: '3DM'
|
||||
}
|
||||
|
||||
WGL.initcall(options);
|
||||
|
||||
+4
-4
@@ -10,7 +10,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"vue": "^2.5.11",
|
||||
"webgl-visualizer": "^1.2.231005-beta.942"
|
||||
"webgl-visualizer": "^1.2.231019-beta.940"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.26.0",
|
||||
@@ -9296,9 +9296,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/webgl-visualizer": {
|
||||
"version": "1.2.231005-beta.942",
|
||||
"resolved": "https://nexus.steamware.net/repository/npm-group/webgl-visualizer/-/webgl-visualizer-1.2.231005-beta.942.tgz",
|
||||
"integrity": "sha512-Fbx6Ogvo6g7lbuqQaQX33toQcoLmCbpH3c6spOwg16t02JYW+F75IUbzyUvi1FW5HM5/yNqku6ci8yOYzroJQQ==",
|
||||
"version": "1.2.231019-beta.940",
|
||||
"resolved": "https://nexus.steamware.net/repository/npm-group/webgl-visualizer/-/webgl-visualizer-1.2.231019-beta.940.tgz",
|
||||
"integrity": "sha512-IbwEFPbHqogiA0d6OYQc+sxVPehlsu9qO47VjQGjGZDr3WzlNGl4a4/7DmP1hTBRLGc5FJrD5Yzd48YOx31/kw==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/webpack": {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^2.5.11",
|
||||
"webgl-visualizer": "^1.2.231005-beta.942"
|
||||
"webgl-visualizer": "^1.2.231019-beta.940"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
|
||||
Binary file not shown.
@@ -1,6 +1,7 @@
|
||||
import * as THREE from '../threeJsLib/three.module.js';
|
||||
import { OrbitControls } from '../jsm/controls/OrbitControls.js';
|
||||
import { ThreeMFLoader } from '../jsm/loaders/3MFLoader.js';
|
||||
import { Rhino3dmLoader } from '../jsm/addons/loaders/3DMLoader.js';
|
||||
|
||||
// VARIABILI DI CONTROLLO
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ import {
|
||||
RepeatWrapping,
|
||||
TextureLoader,
|
||||
DoubleSide
|
||||
} from 'three';
|
||||
} from '../threeJsLib/three.module.js';
|
||||
|
||||
const _taskCache = new WeakMap();
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
RepeatWrapping,
|
||||
TextureLoader,
|
||||
SRGBColorSpace
|
||||
} from 'three';
|
||||
} from '../threeJsLib/three.module.js';
|
||||
import * as fflate from '../libs/fflate.module.js';
|
||||
|
||||
const COLOR_SPACE_3MF = SRGBColorSpace;
|
||||
|
||||
Reference in New Issue
Block a user