Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/packages/openplans-core/src/elements/solids/poly-wall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -800,10 +800,8 @@ export class PolyWall extends Polyline implements IShape {
if (wall3D && all3DOpenings.length > 0) {
try {
const result3D = wall3D.subtract(all3DOpenings, {
color: this.propertySet.color,
outline: this._outlineEnabled,
transparent: false,
opacity: 1,
color: this.propertySet.color,
outline: this._outlineEnabled,
}) as BooleanResult;

this.subElements3D.set(this.ogid + "-3d-resolved", result3D);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,7 @@ export class SingleWall extends Line implements IShape {
}

const result3D = wall3D.subtract(all3DOpenings, {
color: this.propertySet.color,
transparent: false,
opacity: 1,
color: this.propertySet.color,
});

wall3D.visible = false;
Expand Down

This file was deleted.

3 changes: 1 addition & 2 deletions src/packages/openplans-core/src/layouts/viewport-block.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as THREE from "three";
import { IShape } from "../shapes/base-type";

export type ViewCamera = 'top' | 'front' | 'right' | 'left' | 'back';

Expand Down Expand Up @@ -44,7 +43,7 @@ function getCameraSetup(viewCamera: ViewCamera, center: [number, number, number]
}
}

export class ViewportBlock extends THREE.Object3D implements IShape {
export class ViewportBlock extends THREE.Object3D {
private viewportConfig: ViewportConfig;
private viewportMesh!: THREE.Mesh;
private viewportCamera: THREE.OrthographicCamera;
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@

"types": ["vite/client"]
},
"include": ["src", "src/packages"]
"include": ["src", "src/packages"],
"exclude": [
"src/packages/openplans-core/src/elements/catalog"
]
}
Loading