BHoM / BHoM/Revit_Toolkit

Revit_Toolkit: Generate Environment Panels from Revit Space volume

Open
#1,114 1 comment 0 reactions 2 assignees Assigned to @kayleighhoude View on GitHub
type:feature
Dominant language
C#
Stars
35
Forks
16
Avg merge
7d 29m
Merged PRs (30d)
2

Description

#### Description:

As established in the Hackademy session today, there is already great existing functionality via multiple methods to query whether a point-based object exists within a volumetric object in 3D but it would be great for UX to have this process more streamlined for Revit-based workflows. This would help with MEP workflows where it is important to know the Space that a given piece of equipment lives in.

I propose to make use of the existing [BHoM 3D IsContaining method](https://github.com/BHoM/BHoM_Engine/blob/main/Environment_Engine/Query/IsContaining.cs) which means translating Revit Space volumes into a collection of BHoM Environment Panels. To do this it would be great to have a new method called something like "RevitSpaceToPanels" which could take a collection of BHoM Spaces pulled from Revit where the geometry config has been used to pull the surfaces then using the [PanelsFromSurfaces Environment method](https://github.com/BHoM/BHoM_Engine/blob/main/Environment_Engine/Create/Panel.cs) to create the Panels. These panels can then be passed to the existing IsContaining method along with a list of points.

[Here's a sample script to help explain what I'm trying to describe.](https://burohappold.sharepoint.com/:u:/r/sites/Direction/designtechnology/RandDWishlist/00275_Schematics%20for%20MEP%20and%20Specialists/Hackademy%20Material/3DIsContainingDirectFromRevitSpaces.gh?csf=1&web=1&e=DHVwgt) The new method would basically wrap everything in the green group...

This issue relates to and was established in conjunction to [this PR on the Environment_Engine](https://github.com/BHoM/BHoM_Engine/pull/2661#pullrequestreview-783536256)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.