build-dxf 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/build.d.ts +1 -0
- package/src/build.js +667 -1475
- package/src/index.css +1 -1
- package/src/index.js +10 -10
- package/src/index2.js +4 -352
- package/src/index3.js +5000 -134
- package/src/{DomEventRegister.js → index4.js} +380 -247
- package/src/utils/DxfSystem/DxfSystem.d.ts +0 -3
- package/src/utils/DxfSystem/components/DoorsAnalysis.d.ts +1 -4
- package/src/utils/DxfSystem/components/Dxf.d.ts +66 -125
- package/src/utils/DxfSystem/components/DxfOld.d.ts +183 -0
- package/src/utils/DxfSystem/plugin/ModelDataPlugin/components/WhiteModel.d.ts +0 -2
- package/src/utils/DxfSystem/plugin/ModelDataPlugin/components/index.d.ts +0 -1
- package/src/utils/DxfSystem/plugin/ModelDataPlugin/index.d.ts +0 -1
- package/src/utils/DxfSystem/plugin/RenderPlugin/components/index.d.ts +0 -2
- package/src/utils/DxfSystem/plugin/RenderPlugin/index.d.ts +0 -2
- package/src/utils/DxfSystem/utils/LineGroupType.d.ts +1 -1
- package/src/utils/modelScenario/SceneAutoGenerat.d.ts +7 -1
- package/src/components/Card.vue.d.ts +0 -9
- package/src/utils/DxfSystem/components/LineAnalysis.d.ts +0 -77
- package/src/utils/DxfSystem/plugin/ModelDataPlugin/components/DetailsPoint.d.ts +0 -39
- package/src/utils/DxfSystem/plugin/RenderPlugin/components/DetailsPointRender.d.ts +0 -48
- package/src/utils/DxfSystem/plugin/RenderPlugin/components/OriginalLineRender.d.ts +0 -16
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { Component, ComponentManager } from '../../../../ComponentManager';
|
|
2
|
-
import { Dxf } from '../../../components/Dxf';
|
|
3
|
-
import { Variable } from '../../../components/Variable';
|
|
4
|
-
import { WhiteModel } from './WhiteModel';
|
|
5
|
-
import * as THREE from "three";
|
|
6
|
-
interface IDesPointItem {
|
|
7
|
-
message: string;
|
|
8
|
-
position: THREE.Vector3;
|
|
9
|
-
intersection: THREE.Vector3;
|
|
10
|
-
}
|
|
11
|
-
export declare class DetailsPoint extends Component<{
|
|
12
|
-
handleSuccess: {
|
|
13
|
-
desPoints: IDesPointItem[];
|
|
14
|
-
};
|
|
15
|
-
}> {
|
|
16
|
-
static name: string;
|
|
17
|
-
Dxf: Dxf | null;
|
|
18
|
-
WhiteModel: WhiteModel | null;
|
|
19
|
-
Variable: Variable | null;
|
|
20
|
-
desPoints: IDesPointItem[];
|
|
21
|
-
raylines: [THREE.Vector3, THREE.Vector3][];
|
|
22
|
-
data: any[];
|
|
23
|
-
onAddFromParent(parent: ComponentManager): void;
|
|
24
|
-
/**
|
|
25
|
-
* 设置值
|
|
26
|
-
* @param data
|
|
27
|
-
*/
|
|
28
|
-
set(data: any): Promise<void>;
|
|
29
|
-
/**
|
|
30
|
-
* 设置射线辅助
|
|
31
|
-
*/
|
|
32
|
-
racasterHelper(position: THREE.Vector3, direction: THREE.Vector3, far: number): void;
|
|
33
|
-
private _timer;
|
|
34
|
-
/**
|
|
35
|
-
* 更新模型
|
|
36
|
-
*/
|
|
37
|
-
updateModel(): void;
|
|
38
|
-
}
|
|
39
|
-
export {};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Component, ComponentManager } from '../../../../ComponentManager';
|
|
2
|
-
import { Dxf } from '../../../components/Dxf';
|
|
3
|
-
import { Renderer } from './Renderer';
|
|
4
|
-
import { Variable } from '../../../components/Variable';
|
|
5
|
-
import { WhiteModel } from '../../ModelDataPlugin/components';
|
|
6
|
-
import * as THREE from "three";
|
|
7
|
-
export declare class DetailsPointRender extends Component {
|
|
8
|
-
static name: string;
|
|
9
|
-
Dxf: Dxf | null;
|
|
10
|
-
Renderer: Renderer | null;
|
|
11
|
-
WhiteModel: WhiteModel | null;
|
|
12
|
-
Variable: Variable | null;
|
|
13
|
-
desPointGroup: THREE.Group<THREE.Object3DEventMap>;
|
|
14
|
-
rayLineGroup: THREE.Group<THREE.Object3DEventMap>;
|
|
15
|
-
data: any[];
|
|
16
|
-
onAddFromParent(parent: ComponentManager): void;
|
|
17
|
-
/**
|
|
18
|
-
* 更新模型
|
|
19
|
-
*/
|
|
20
|
-
updateModel(): void;
|
|
21
|
-
createDesPoint(): void;
|
|
22
|
-
createRayline(): void;
|
|
23
|
-
private _desBoxInfo;
|
|
24
|
-
/**
|
|
25
|
-
* 显示详情div盒子
|
|
26
|
-
* @param point
|
|
27
|
-
* @param div
|
|
28
|
-
* @param param2
|
|
29
|
-
* @returns
|
|
30
|
-
*/
|
|
31
|
-
showDesBox(point: THREE.Vector3, div: HTMLDivElement, { message, position }: any): void;
|
|
32
|
-
/**
|
|
33
|
-
* 隐藏详情盒子
|
|
34
|
-
*/
|
|
35
|
-
hideDesBox(): void;
|
|
36
|
-
private orbitControlsTarget;
|
|
37
|
-
private fov;
|
|
38
|
-
/**
|
|
39
|
-
* 查看详情点
|
|
40
|
-
* @param point
|
|
41
|
-
* @param position
|
|
42
|
-
*/
|
|
43
|
-
onLook(point: THREE.Vector3, position: THREE.Vector3): void;
|
|
44
|
-
/**
|
|
45
|
-
* 取消查看详情点
|
|
46
|
-
*/
|
|
47
|
-
cancelLook(): void;
|
|
48
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Component, ComponentManager } from '../../../../ComponentManager';
|
|
2
|
-
import { Dxf } from '../../../components/Dxf';
|
|
3
|
-
import { Renderer } from './Renderer';
|
|
4
|
-
import * as THREE from "three";
|
|
5
|
-
export declare class OriginalLineRender extends Component {
|
|
6
|
-
static name: string;
|
|
7
|
-
Dxf: Dxf | null;
|
|
8
|
-
Renderer: Renderer | null;
|
|
9
|
-
originalLineMode: THREE.LineSegments<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>;
|
|
10
|
-
appendLineMode: THREE.LineSegments<THREE.BufferGeometry<THREE.NormalBufferAttributes, THREE.BufferGeometryEventMap>, THREE.Material | THREE.Material[], THREE.Object3DEventMap>;
|
|
11
|
-
textGroup: THREE.Group<THREE.Object3DEventMap>;
|
|
12
|
-
pointGroup: THREE.Group<THREE.Object3DEventMap>;
|
|
13
|
-
distanceGroup: THREE.Group<THREE.Object3DEventMap>;
|
|
14
|
-
onAddFromParent(parent: ComponentManager): void;
|
|
15
|
-
updateMode(data: any): void;
|
|
16
|
-
}
|