webcad-api/types/ApplicationServices/HostApplicationServices.d.ts

68 lines
2.4 KiB
TypeScript
Raw Normal View History

2023-05-08 10:53:13 +08:00
import { MeshBasicMaterial, MeshStandardMaterial, Texture } from 'three';
import { FractionDigitsType } from '../Common/SystemEnum';
import { ObjectId } from '../DatabaseServices/ObjectId';
import { ICursorConfig } from '../Editor/ICursorConfig';
import { RenderType } from '../GraphicsSystem/RenderType';
import { DrillingOption } from '../UI/Store/drillInterface';
export declare class IHostApplicationServices {
2020-09-24 11:04:12 +08:00
DefaultMeshMaterial?: MeshBasicMaterial | MeshStandardMaterial;
2023-05-08 10:53:13 +08:00
DefaultFloorMaterial?: MeshBasicMaterial | MeshStandardMaterial;
DefaultWallMaterial?: MeshBasicMaterial | MeshStandardMaterial;
2023-08-16 15:05:08 +08:00
DefaultBulkheadCeilingMaterial?: MeshBasicMaterial | MeshStandardMaterial;
IsRoomEntityVisible: boolean;
2023-05-08 10:53:13 +08:00
CurrentDimStyle: ObjectId;
isShowLightShadow: boolean;
ShowHistoryLog: boolean;
Physical2EdgeColor: number;
ConceptualEdgeColor: number;
ConceptualOpacity: number;
DrawWallBottomFace: boolean;
2023-08-16 15:05:08 +08:00
sealReserve: number;
2023-05-08 10:53:13 +08:00
private __ProxyObject__;
static __ProxyKeys__: string[];
get ProxyObject(): any;
set ProxyObject(obj: any);
_renderType: RenderType;
DrillConfigs: Map<string, DrillingOption[]>;
openDrillingReactor: boolean;
sealingColorMap: [string, string][];
showLines: boolean;
2023-08-16 15:05:08 +08:00
showOpenDirLines: boolean;
2023-09-15 17:14:55 +08:00
show2DPathLine: boolean;
show2DPathObject: boolean;
2023-05-08 10:53:13 +08:00
uese: string;
forceFilterPxl: boolean;
chaidanOption: {
changXiuBian: number;
duanXiuBian: number;
useDefaultRad: boolean;
radius: number;
modeling2HoleRad: number;
isCheckInterfere: boolean;
noModeingData: string;
statTk: boolean;
statSt: boolean;
drillRemark: boolean;
checkSealType: string;
sealMaxValue: number;
sealValues: string;
hardwareExpressionFormattingAccuracy: number;
2023-12-18 11:24:07 +08:00
partialSplitValueCanTakesEffect: boolean;
2023-05-08 10:53:13 +08:00
};
viewSize: {
minViewHeight: number;
maxViewHeight: number;
zoomSpeed: number;
};
cursorSize: ICursorConfig;
dimTextHeight: number;
lineWidth: number;
fractionDigitsType: FractionDigitsType;
private constructor();
private static _SingleInstance;
static GetInstance(): IHostApplicationServices;
LoadDefaultExr(): Promise<Texture>;
LoadMetalEnv(): Promise<Texture>;
2020-09-24 11:04:12 +08:00
}
export declare let HostApplicationServices: IHostApplicationServices;
//# sourceMappingURL=HostApplicationServices.d.ts.map