开发:更新api

This commit is contained in:
FishOrBear
2022-02-16 11:15:31 +08:00
parent 4388a1f7c8
commit 8477786c73
1180 changed files with 37656 additions and 13243 deletions

View File

@@ -1,11 +1,11 @@
import { Vector3 } from "three";
import { Database } from "../DatabaseServices/Database";
import { PhysicalMaterialRecord } from "../DatabaseServices/PhysicalMaterialRecord";
import { Polyline } from "../DatabaseServices/Entity/Polyline";
import { TemplateRecord } from "../DatabaseServices/Template/TemplateRecord";
import { TemplateParam } from "../DatabaseServices/Template/Param/TemplateParam";
import { Entity } from "../DatabaseServices/Entity/Entity";
import { ExtrudeHole } from "../DatabaseServices/3DSolid/ExtrudeHole";
import { Database } from "../DatabaseServices/Database";
import { Entity } from "../DatabaseServices/Entity/Entity";
import { Polyline } from "../DatabaseServices/Entity/Polyline";
import { PhysicalMaterialRecord } from "../DatabaseServices/PhysicalMaterialRecord";
import { TemplateParam } from "../DatabaseServices/Template/Param/TemplateParam";
import { TemplateRecord } from "../DatabaseServices/Template/TemplateRecord";
export declare function MaterialOut(material: PhysicalMaterialRecord): string;
export declare function MaterialIn(fileData: Object[]): PhysicalMaterialRecord;
export declare function TemplateOut(template: TemplateRecord, tempDb?: Database): string;
@@ -22,9 +22,11 @@ export declare function getPolylineSVG(en: Polyline): string;
/**
* 获取当前图纸的缩略图(预览图)
*/
export declare function GetCurrentViewPreViewImage(restore?: boolean): Blob;
export declare function GetCurrentViewPreViewImage(restore?: boolean, isBase64?: boolean): Blob | string;
export declare function ExtrudeDrillFileIn(data: any[]): ExtrudeHole;
export declare function GetEntitysLogo(ens: Entity[], isConceptual?: boolean, dir?: Vector3): Promise<string>;
export declare function GetEntitysLogo(ens: Entity[], isConceptual?: boolean, dir?: Vector3, isBase64?: boolean): Promise<string | Blob>;
export declare function GroupOut(ens: Entity[]): string;
export declare function GroupFileIn(fileData: Object[]): Entity[];
export declare function EntitysOut(ens: Entity[], callback?: (en: any) => void): string;
export declare function EntitysIn(datalist: any[]): Entity[];
//# sourceMappingURL=SerializeMaterial.d.ts.map