Skip to content

Commit

Permalink
Update 2024-9-11-2D Floor Plan To Revit Step By Step.md
Browse files Browse the repository at this point in the history
  • Loading branch information
erix-yang authored Sep 11, 2024
1 parent a1b1b45 commit 2d78f90
Showing 1 changed file with 62 additions and 1 deletion.
63 changes: 62 additions & 1 deletion _posts/2024-9-11-2D Floor Plan To Revit Step By Step.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,66 @@ Elements Detection

## Coordination Extraction ##
Here, I get the coordination of the walls, doors, windows, etc.
It's time to use Revit API to generate a revit model ;)

### Walls ###
Wall 1 Polygon Coordinates:
[[ 10 876]
[ 39 876]
[ 39 892]
[ 10 892]]
Wall 2 Polygon Coordinates:
[[518 346]
[526 346]
[526 438]
[518 438]]
Wall 3 Polygon Coordinates:
[[199 876]
[238 876]
[238 892]
[199 892]]
……

### Doors ###
Door 1 Polygon Coordinates:
[[162 568]
[170 568]
[170 618]
[162 618]]
Door 2 Polygon Coordinates:
[[273 252]
[287 252]
[287 301]
[273 301]]
Door 3 Polygon Coordinates:
[[663 550]
[714 550]
[714 558]
[663 558]]
Door 4 Polygon Coordinates:
[[536 522]
[587 522]
[587 530]
[536 530]]
……

### Windows ###
Window 1 Polygon Coordinates:
[[543 876]
[746 876]
[746 892]
[543 892]]
Window 2 Polygon Coordinates:
[[790 452]
[806 452]
[806 511]
[790 511]]
Window 3 Polygon Coordinates:
[[515 892]
[531 892]
[531 952]
[515 952]]
……

## Revit API ##
It's time to do some calculation and use Revit API to generate a revit model ;)
To be continued…

0 comments on commit 2d78f90

Please sign in to comment.