Merge 'Geometry' in gbXML File A with 'Openings' in gbXML File B to 'Geometry with Openings' in gbXML File C.
Purpose: This python script is meant to process full Revit gbXML input files in XML format:
- A Geometry gbXML based on Mass families without windows,
- An Openings gbXML based on Spaces from detailed elements with windows.
Inputs:
- Revit gbXML files in XML format. File locations are chosen via a typical directory GUI.
Outputs:
- Composite gbXML made up of Geometry from gbXML based on Mass families and Openings from gbXML based on Spaces.
1. Enter correct virtual environment
2. Open terminal in virtual environment
3. Navigate to folder containing your_script.py
4. Run: 'streamlit run your_script.py'
5. App opens in a new tab on default browser
Notes:
- Depends on xgbxml (https://pypi.org/project/xgbxml/) developed by Dr. Steven Firth of Loughborough University.
- Depends on topologicpy (https://test.pypi.org/project/topologicpy/) developed by Dr. Wassim Jabi of Cardiff University.
- xgbxml: handling of gbxml elements like Surfaces and Openings.
- topologicpy: determination of destination Surfaces of Openings with an adjustable Distance Tolerance.
Functional Development & Test: Windows 10 / Anaconda / Spyder IDE / Python 3.9 / xgbxml 0.0.9 / topologicpy 0.1.5 / streamlit 1.12.0