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

95 lines
3.3 KiB
TypeScript
Raw Normal View History

2024-03-26 11:10:20 +08:00
import { MeshBasicMaterial, MeshStandardMaterial, Texture } from 'three';
import { FractionDigitsType } from '../Common/SystemEnum';
2024-12-09 10:12:56 +08:00
import { Database } from '../DatabaseServices/Database';
import { LayerTableRecord } from '../DatabaseServices/LayerTableRecord';
2024-03-26 11:10:20 +08:00
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 {
2024-12-09 10:12:56 +08:00
Database: Database;
2024-03-26 11:10:20 +08:00
DefaultMeshMaterial?: MeshBasicMaterial | MeshStandardMaterial;
DefaultFloorMaterial?: MeshBasicMaterial | MeshStandardMaterial;
DefaultWallMaterial?: MeshBasicMaterial | MeshStandardMaterial;
DefaultBulkheadCeilingMaterial?: MeshBasicMaterial | MeshStandardMaterial;
IsRoomEntityVisible: boolean;
2024-12-09 10:12:56 +08:00
CurrentLayer: ObjectId<LayerTableRecord>;
/** 当前画笔的颜色索引 */
CurrentColorindex: number;
2024-03-26 11:10:20 +08:00
CurrentDimStyle: ObjectId;
2024-12-09 10:12:56 +08:00
CurrentFontStyle: ObjectId;
2024-03-26 11:10:20 +08:00
isShowLightShadow: boolean;
ShowHistoryLog: boolean;
Physical2EdgeColor: number;
ConceptualEdgeColor: number;
ConceptualOpacity: number;
2024-12-09 10:12:56 +08:00
ConceptualTransparentOpacity: number;
IsTransparentMetals: boolean;
IsTransparentComp: boolean;
2024-03-26 11:10:20 +08:00
DrawWallBottomFace: boolean;
sealReserve: number;
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;
showOpenDirLines: boolean;
2024-12-09 10:12:56 +08:00
doorLinesOption: {
physicalShowLines: boolean;
physicalShowLines2: boolean;
reverseOpenDirLines: boolean;
};
2024-03-26 11:10:20 +08:00
show2DPathLine: boolean;
show2DPathObject: boolean;
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;
partialSplitValueCanTakesEffect: boolean;
2024-12-09 10:12:56 +08:00
cancelHoleProcessing: boolean;
isCheckCustomBoardNumber: boolean;
2024-03-26 11:10:20 +08:00
};
viewSize: {
minViewHeight: number;
maxViewHeight: number;
zoomSpeed: number;
};
cursorSize: ICursorConfig;
2024-12-17 10:26:37 +08:00
linewidths: {
Conceptual: number;
Physical2: number;
};
2024-03-26 11:10:20 +08:00
dimTextHeight: number;
boardCustomNumberTextHeight: number;
lineWidth: number;
fractionDigitsType: FractionDigitsType;
2024-12-09 10:12:56 +08:00
throughModelSegmentedDrill: boolean;
autoDeviation: boolean;
autoDeviationMinDist: number;
smallGrooveThreshold: number;
sealWidthPercentage: number;
2024-03-26 11:10:20 +08:00
private constructor();
private static _SingleInstance;
static GetInstance(): IHostApplicationServices;
LoadDefaultExr(): Promise<Texture>;
LoadMetalEnv(): Promise<Texture>;
}
export declare let HostApplicationServices: IHostApplicationServices;
//# sourceMappingURL=HostApplicationServices.d.ts.map