Skip to content

Commit

Permalink
Revert "Add Plan View"
Browse files Browse the repository at this point in the history
This reverts commit bffa130.
  • Loading branch information
mkeshavarzi committed Sep 16, 2022
1 parent c656f55 commit 55a738e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Components/ExtractLevelsMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ export default function ExtractLevelsMenu({listOfOptions, icon, title}) {
viewer.clipper.createFromNormalAndCoplanarPoint(normal2, modelCenter2)
}

const planView = () => {
// viewer.context.ifcCamera.projectionManager.setOrthoCamera()
viewer.context.ifcCamera.toggleProjection()
viewer.plans.moveCameraTo2DPlanPosition(true)
}

const createPlane = (normalDirection) => {
const modelCenter = getModelCenter(model)
const planeHash = getHashParams(location, 'p')
Expand Down Expand Up @@ -169,7 +163,6 @@ export default function ExtractLevelsMenu({listOfOptions, icon, title}) {
},
}}
>
<MenuItem onClick={() => planView()}> Plan View</MenuItem>
{floorplanMenu}
</Menu>
</div>
Expand Down

0 comments on commit 55a738e

Please sign in to comment.