@archilogic/editor-plugin-boma
Advanced tools
Comparing version 0.8.1 to 0.8.2
# @archilogic/editor-plugin-boma | ||
## 0.8.2 | ||
### Patch Changes | ||
- 6eadd7d: feat(editor-plugin-boma): inner gross area | ||
## 0.8.1 | ||
@@ -4,0 +10,0 @@ |
import { CustomPolygonLinePosition, LayoutSpace } from '@archilogic/space-graph-core'; | ||
export type BomaCode = 'UA' | 'FCA' | 'BCA' | 'MVP'; | ||
export declare const bomaRules: Record<BomaCode, Record<BomaCode, CustomPolygonLinePosition>>; | ||
export declare const bomaData: Record<BomaCode | 'gross' | 'workstations', { | ||
export declare const bomaData: Record<BomaCode | 'gross' | 'innerGross' | 'workstations', { | ||
color: string; | ||
@@ -6,0 +6,0 @@ name: string; |
@@ -1,2 +0,2 @@ | ||
import { type LayoutBoundaryWall, type LayoutSpace, type LayoutAsset, type SpatialGraphEdge, type CustomPolygonLinePosition, type CustomPolygonLinePositionsByElementId, type LayoutWindow } from '@archilogic/space-graph-core'; | ||
import { type LayoutBoundaryWall, type LayoutSpace, type LayoutAsset, type SpaceGraphLayout, type SpatialGraphEdge, type CustomPolygonLinePosition, type CustomPolygonLinePositionsByElementId, type LayoutWindow } from '@archilogic/space-graph-core'; | ||
import { type Polygon } from '@archilogic/clipper'; | ||
@@ -7,3 +7,3 @@ import { BomaCode } from './boma-code'; | ||
export declare function getWallLinePositions(space: LayoutSpace): CustomPolygonLinePositionsByElementId; | ||
export declare function getGrossAreaPolygons(): GrossAreaRecord[]; | ||
export declare function cleanupPolygons(polygons: Polygon[]): Polygon[]; | ||
export type BomaRecord = { | ||
@@ -15,6 +15,2 @@ id: string; | ||
type BomaSpaceRecords = Record<BomaCode, BomaRecord[]>; | ||
export type GrossAreaRecord = { | ||
polygons: Polygon[]; | ||
area: number; | ||
}; | ||
export declare function excludeWorkstationAreas(polygons: Polygon[], includeAssetsWithCustomId?: boolean): Polygon[]; | ||
@@ -25,3 +21,5 @@ export declare function getWindowGlazingPolygons(windowElement: LayoutWindow): import("@archilogic/space-graph-core").Vector2[]; | ||
export declare function sortBoundaryWalls(): Record<string, LayoutBoundaryWall[]>; | ||
export declare function getBomaSpacePolygons(includeAssetsWithCustomId?: boolean): BomaSpaceRecords; | ||
export declare function getWindowGlazingPolygonsFromSpace(space: any): Polygon[]; | ||
export declare function getFacadeWallPolygonsFromSpace(facadeLayout: SpaceGraphLayout, space: LayoutSpace): Polygon[]; | ||
export declare function getBomaSpacePolygons(includeAssetsWithCustomId?: boolean, facadeLayout?: SpaceGraphLayout): BomaSpaceRecords; | ||
export declare function getProductShape(asset: LayoutAsset): Polygon; | ||
@@ -41,5 +39,6 @@ export declare function getAssetPolygons(asset: LayoutAsset): Polygon; | ||
MVP: BomaRecord[]; | ||
gross: GrossAreaRecord[]; | ||
gross: import("./gross-area").GrossAreaRecord[]; | ||
innerGross: import("./gross-area").GrossAreaRecord[]; | ||
}; | ||
export declare function drawBomaPolygons(bomaPolygons: BomaSpaceRecords): void; | ||
export {}; |
import { type SpaceGraphLayout } from '@archilogic/space-graph-core'; | ||
import { type Polygon } from '@archilogic/clipper'; | ||
import { type BomaRecord, type GrossAreaRecord } from '../../boma-polygons'; | ||
import { type BomaRecord } from '../../boma-polygons'; | ||
import { type GrossAreaRecord } from '../../gross-area'; | ||
export declare function getMinAndMaxCoordinates(polygon: Polygon): { | ||
@@ -12,4 +13,4 @@ xMax: number; | ||
export declare function addSvgBomaPolygonsToGroup(mainSvgGroup: any, nodes: any): void; | ||
export declare function addSvgBomaGrossAreasToGroup(mainSvgGroup: any, grossAreaPolygons: GrossAreaRecord[]): void; | ||
export declare function addSvgBomaGrossAreasToGroup(mainSvgGroup: any, grossAreaPolygons: GrossAreaRecord[], id: string): void; | ||
export declare function addSvgBomaPolygonsIdentitiesToGroup(mainSvgGroup: any, layout: SpaceGraphLayout, nodes: BomaRecord[]): void; | ||
export declare function getAmsSvg(): any; |
{ | ||
"name": "@archilogic/editor-plugin-boma", | ||
"description": "generate boma polygons", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"publishConfig": { | ||
@@ -6,0 +6,0 @@ "access": "public" |
Sorry, the diff of this file is too big to display
1986696
14
56953