Create detailed 3D models of classic New York brownstones in Industry Foundation Classes (IFC) format using Python
Download ScriptsOur Python-based IFC generator creates detailed 3D models of classic New York brownstones, complete with architectural elements, fixtures, and basic MEP systems.
Authentic brownstone design with traditional elements like the classic stoop, high-ceilinged parlor floor, and period-appropriate dimensions.
Easily modify dimensions, layout, and features by changing parameters in the Python script to create your ideal brownstone model.
Generated IFC files can be imported into professional BIM software like Revit, ArchiCAD, and other IFC-compatible tools.
The main Python script that creates the IFC model of the brownstone building. It uses IfcOpenShell to define the building structure, walls, floors, windows, doors, and fixtures.
python brownstone-ifc-generator.py
A companion script that visualizes the generated IFC model using PyVista. Allows for interactive exploration of the 3D brownstone model.
python brownstone-ifc-viewer.py
A helper script that checks for and installs the necessary dependencies to run the generator and viewer scripts.
python brownstone-ifc-setup.py
The scripts can be easily customized by modifying the parameters at the top of the generator file.
# Global parameters for the brownstone
BUILDING_WIDTH = 40.0 # feet
BUILDING_DEPTH = 80.0 # feet
BASEMENT_HEIGHT = 9.0 # feet
FIRST_FLOOR_HEIGHT = 10.0 # feet
SECOND_FLOOR_HEIGHT = 14.0 # feet
THIRD_FLOOR_HEIGHT = 12.0 # feet
FOURTH_FLOOR_HEIGHT = 12.0 # feet
Upload your generated IFC file to visualize it in the browser:
Loading IFC model...
python brownstone-ifc-setup.py
Run the generator script to create the brownstone IFC file:
python brownstone-ifc-generator.py
This will create a file named new_york_brownstone.ifc in the current directory.
Use the viewer script to visualize the generated model:
python brownstone-ifc-viewer.py
You can also specify a different IFC file to view:
python brownstone-ifc-viewer.py path/to/your/file.ifc
Edit the parameters at the top of brownstone-ifc-generator.py to change dimensions, layout, and other features of the brownstone.
If you encounter issues not covered here, check the README file included with the scripts or submit an issue on the project's GitHub repository.
Get started creating your own brownstone models with our Python script package
Download Scripts (.zip) View on GitHub