fcs-core-viewer 0.18.0 → 0.19.0
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/fcs-core-viewer@types/CloudModelOperations/CAE/EditingTools/Request/Merge.d.ts +0 -1
- package/fcs-core-viewer@types/CloudModelOperations/Common/Core/Request/AddItem.d.ts +2 -7
- package/fcs-core-viewer@types/CloudModelOperations/OperationCollection.d.ts +5 -2
- package/fcs-core-viewer@types/CloudModelOperations/{Viewer → Visualization}/Response/Index.d.ts +2 -2
- package/fcs-core-viewer@types/CloudViewer/CoreInterfaces.d.ts +0 -6
- package/fcs-core-viewer@types/CloudViewer/FcsViewer.d.ts +1 -1
- package/fcs-core-viewer@types/DataStorage/ModelData/Index.d.ts +3 -0
- package/fcs-core-viewer@types/DataStorage/ModelData/Shapes/ElementTypes/Pyramid_5N.d.ts +23 -0
- package/package.json +1 -1
- package/fcs-core-viewer@types/Loader/MESHLoader/mshpReader_depricated.d.ts +0 -0
- /package/fcs-core-viewer@types/CloudModelOperations/{Viewer → Visualization}/Response/Color.d.ts +0 -0
- /package/fcs-core-viewer@types/CloudModelOperations/{Viewer → Visualization}/Response/Transparency.d.ts +0 -0
- /package/fcs-core-viewer@types/CloudModelOperations/{Viewer → Visualization}/Response/Visibility.d.ts +0 -0
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
import { UIDGenerator } from "../../../../Common/Utilities/UIDGenerator";
|
|
2
1
|
export declare class AddFile {
|
|
3
2
|
constructor();
|
|
4
3
|
/**
|
|
5
4
|
* Add file to container at top-level right under a container or under a selected folder.
|
|
6
5
|
*/
|
|
7
|
-
perform(itemType:
|
|
6
|
+
perform(itemType: number, itemName: string, parentUID: number): Promise<number>;
|
|
8
7
|
}
|
|
9
8
|
export declare class AddFolder {
|
|
10
9
|
static instance: AddFolder;
|
|
11
|
-
uidGenerator: UIDGenerator;
|
|
12
|
-
element: HTMLElement;
|
|
13
|
-
div_treeHTML: HTMLElement;
|
|
14
|
-
itemToUnique: {};
|
|
15
10
|
constructor();
|
|
16
11
|
static getInstance(): AddFolder;
|
|
17
12
|
/**
|
|
18
13
|
* Add folder to container at top-level right under a container or under a selected folder.
|
|
19
14
|
*/
|
|
20
|
-
perform(itemType:
|
|
15
|
+
perform(itemType: number, itemName: string, parentUID: number): void;
|
|
21
16
|
}
|
|
22
17
|
export declare class AddContainer {
|
|
23
18
|
static instance: AddContainer;
|
|
@@ -71,8 +71,11 @@ export declare enum OperationToId {
|
|
|
71
71
|
*/
|
|
72
72
|
CAE_EditingTools_DeleteNodes = 3300,
|
|
73
73
|
CAE_EditingTools_DeleteElements = 3301,
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
CAE_EditingTools_CopyPasteElements = 3310,
|
|
75
|
+
CAE_EditingTools_CutPasteElements = 3311,
|
|
76
|
+
CAE_EditingTools_MergeNodes = 3320,
|
|
77
|
+
CAE_EditingTools_MergeElements = 3321,
|
|
78
|
+
CAE_EditingTools_MeshSetOperation = 3340
|
|
76
79
|
}
|
|
77
80
|
export declare const OperationIdToName: {
|
|
78
81
|
[key: number]: string;
|
package/fcs-core-viewer@types/CloudModelOperations/{Viewer → Visualization}/Response/Index.d.ts
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Visibility from "./Visibility";
|
|
2
2
|
import * as Color from "./Color";
|
|
3
3
|
import * as Transparency from "./Transparency";
|
|
4
|
-
declare const
|
|
4
|
+
declare const Response_Visualization: {
|
|
5
5
|
SetTransparency: typeof Transparency.SetTransparency;
|
|
6
6
|
SetColor: typeof Color.SetColor;
|
|
7
7
|
Visibility: typeof Visibility.Visibility;
|
|
8
8
|
};
|
|
9
|
-
export {
|
|
9
|
+
export { Response_Visualization };
|
|
@@ -77,7 +77,7 @@ export declare namespace CloudViewer {
|
|
|
77
77
|
* @param itemName
|
|
78
78
|
* @param parentVID
|
|
79
79
|
*/
|
|
80
|
-
addFile(itemName: string, parentId: number, itemType:
|
|
80
|
+
addFile(itemName: string, parentId: number, itemType: number): void;
|
|
81
81
|
/**
|
|
82
82
|
* Places an empty folder under the parent element
|
|
83
83
|
* @param itemName
|
|
@@ -20,6 +20,7 @@ import * as Line_2N from './Shapes/ElementTypes/Line_2N';
|
|
|
20
20
|
import * as Tria_3N from './Shapes/ElementTypes/Tria_3N';
|
|
21
21
|
import * as Quad_4N from './Shapes/ElementTypes/Quad_4N';
|
|
22
22
|
import * as Tetra_4N from './Shapes/ElementTypes/Tetra_4N';
|
|
23
|
+
import * as Pyramid_5N from './Shapes/ElementTypes/Pyramid_5N';
|
|
23
24
|
import * as GeomPart from './Items/Files/Part';
|
|
24
25
|
import * as MeshPart from './Items/Files/Mesh';
|
|
25
26
|
import * as Thread from './Items/Files/Thread';
|
|
@@ -65,6 +66,7 @@ export declare namespace ModelData {
|
|
|
65
66
|
nodeVID_To_iNode: {};
|
|
66
67
|
};
|
|
67
68
|
const Shapes: {
|
|
69
|
+
Pyramid_5N: typeof Pyramid_5N.Pyramid_5N;
|
|
68
70
|
Tetra_4N: typeof Tetra_4N.Tetra_4N;
|
|
69
71
|
Quad_4N: typeof Quad_4N.Quad_4N;
|
|
70
72
|
Tria_3N: typeof Tria_3N.Tria_3N;
|
|
@@ -163,6 +165,7 @@ export declare namespace ModelData {
|
|
|
163
165
|
2: typeof Tria_3N.Tria_3N;
|
|
164
166
|
3: typeof Quad_4N.Quad_4N;
|
|
165
167
|
4: typeof Tetra_4N.Tetra_4N;
|
|
168
|
+
7: typeof Pyramid_5N.Pyramid_5N;
|
|
166
169
|
};
|
|
167
170
|
const dataTypesToObjects: {
|
|
168
171
|
shapeTypes: {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ModelData } from "../../Index";
|
|
2
|
+
import { TopoElement } from "../TopoElement";
|
|
3
|
+
export declare class Pyramid_5N extends TopoElement {
|
|
4
|
+
static title: string;
|
|
5
|
+
constructor(shapeUID: number);
|
|
6
|
+
/**
|
|
7
|
+
* Az. msh filebol kigyujti az elemet alkoto node-ok xyz koordinatait es adott elemre specifikus logikaval
|
|
8
|
+
* osszekoti a node-okat tetraederekke. Ez a megjelenites miatt fontos, hiszen a three.js
|
|
9
|
+
* háromszogeket tud megjeleniteni
|
|
10
|
+
*/
|
|
11
|
+
static extractElement(nodeUIDs: number[], startIndex: number, elementIndexData: {
|
|
12
|
+
indices: {};
|
|
13
|
+
length: number;
|
|
14
|
+
maxIdx: number;
|
|
15
|
+
nodeUID_To_index: {};
|
|
16
|
+
}, nodesXYZ: number[], nodeUID_To_coords: {}): number[][];
|
|
17
|
+
drawIBorder(iElement: TopoElement, iBorders: InstanceType<typeof ModelData.Shapes.TopoBorder>[], borderIndices: number[], borderStartIndex: number, borderIndexData: {
|
|
18
|
+
indices: {};
|
|
19
|
+
length: number;
|
|
20
|
+
maxIdx: number;
|
|
21
|
+
nodeUID_To_index: {};
|
|
22
|
+
}, nodeUIDs: number[], nodes: {}, borderStartPosition: number[], borderEndPosition: number[], borderColor: number[], nodeUID_To_coords: {}, hash_To_iBorder: {}): void;
|
|
23
|
+
}
|
package/package.json
CHANGED
|
File without changes
|
/package/fcs-core-viewer@types/CloudModelOperations/{Viewer → Visualization}/Response/Color.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|