Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floorplans #62

Merged
merged 103 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
56ed663
added floors 1-3 for Troy building
Oct 20, 2023
dad23ad
svg for west hall 100 level
owenwells544 Nov 18, 2023
56653fb
svg for west hall 200 level
owenwells544 Nov 18, 2023
677c724
svg for west hall 300 level
owenwells544 Nov 18, 2023
3c60a7a
svg for west hall 400 level
owenwells544 Nov 18, 2023
56fc93a
git weirdness
owenwells544 Dec 1, 2023
23d1eb4
updated docs on how to resize, need to update on outer floor changes
mattsweet417 Dec 5, 2023
c217743
finished doc changes on outer floor stuff
mattsweet417 Dec 5, 2023
b8dbdca
added an additional check your work section to floorplans docs
mattsweet417 Dec 5, 2023
f15e8a2
added part on unused buildings
mattsweet417 Dec 5, 2023
6484254
Merge branch 'new-floorplan-doc-changes' of https://github.com/Vacans…
mattsweet417 Dec 5, 2023
135ffc3
added empty space for formatting
mattsweet417 Dec 5, 2023
0433e70
fixed floorlayer to new specifications
owenwells544 Dec 6, 2023
1600b3c
low floor 2 floorplan created
shamikkarkhanis Feb 6, 2024
f253218
update low 2 floorplan
shamikkarkhanis Feb 6, 2024
820bad5
Floor 5 of JEC
IanZ1210 Feb 6, 2024
58b13a8
Merge remote-tracking branch 'origin/Troy-floorplan' into JEC-floorplan
paulbruzzi Feb 9, 2024
48a4393
Merge remote-tracking branch 'origin/west-hall-floorplans' into JEC-f…
paulbruzzi Feb 9, 2024
9b54d3a
Merge remote-tracking branch 'origin/Low-floorplans' into Floorplans
paulbruzzi Feb 9, 2024
c8026a0
Merge remote-tracking branch 'origin/new-floorplan-doc-changes' into …
paulbruzzi Feb 9, 2024
60772db
Low floor 4
shamikkarkhanis Feb 10, 2024
cadb10e
updated low 2 floorplan
shamikkarkhanis Feb 10, 2024
ff7007f
low1
DiegoV03 Feb 13, 2024
be031c7
low 9
nadiachoudhury Feb 19, 2024
ae0b6cd
Finished low 6 floor svg
ContemporaryNietzsche Feb 24, 2024
151beaa
Winslow1.svg
JeroldB26 Feb 27, 2024
cd74c75
low 3 complete
shamikkarkhanis Feb 28, 2024
ab08e92
JEC floor 6
IanZ1210 Mar 1, 2024
fcc8b8e
Winslow2
JeroldB26 Mar 2, 2024
490d456
Floor 7 of JEC
IanZ1210 Mar 2, 2024
ee87119
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
IanZ1210 Mar 2, 2024
36178dd
low 8
nadiachoudhury Mar 2, 2024
899dbb1
Commons dining hall floorplan for 1/2 added
Awesomecar11 Mar 4, 2024
48aaaed
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Awesomecar11 Mar 4, 2024
da156a4
Added Low floor 7
ContemporaryNietzsche Mar 4, 2024
158bac2
fixing troy building, not work shown will come back to add buildings …
Awesomecar11 Mar 12, 2024
2730df6
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Awesomecar11 Mar 12, 2024
81cbc14
lib floor 3 added
Awesomecar11 Mar 12, 2024
6f708ae
Added Ricketts floor plans (4-5)
AbishekSh Mar 15, 2024
660c8df
fixed troy floor 2
Awesomecar11 Mar 15, 2024
2269ebb
Create Low5.svg
DiegoV03 Mar 15, 2024
41217ef
floorplan tweaks
shamikkarkhanis Mar 22, 2024
bf7fc2a
Fixed Low1
DiegoV03 Mar 22, 2024
831a31f
Fixed Low5
DiegoV03 Mar 22, 2024
a3cb8e1
fixed Ricketts4
AbishekSh Mar 22, 2024
626730e
fixed Ricketts 5
AbishekSh Mar 22, 2024
605e188
removed extra grouping from Ricketts5.svg
AbishekSh Mar 22, 2024
de46056
Add files via upload
JeroldB26 Mar 22, 2024
5e50a1c
fixed minor room errors in west to make it look better
Awesomecar11 Mar 22, 2024
0343ac9
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Awesomecar11 Mar 22, 2024
bffd242
fixed minor room errors in pitts to make it look better
Awesomecar11 Mar 22, 2024
46b10a7
fixed troy floors 1 + 2
Awesomecar11 Mar 25, 2024
4acb364
reordered some rooms so that they were on top/over others to look nicer
Awesomecar11 Mar 25, 2024
b3224fc
tweaks to low floors 3, 4, 5
shamikkarkhanis Mar 26, 2024
5fbd51e
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
shamikkarkhanis Mar 26, 2024
c2d1caf
Winslow4
JeroldB26 Mar 26, 2024
6ef72e2
fixed small gaps
Awesomecar11 Mar 26, 2024
567d054
reordered some rooms so that they were on top/over others to look nicer
Awesomecar11 Mar 26, 2024
84fdefd
lally floor 1 resized + stairs added
Awesomecar11 Mar 27, 2024
471247c
Greene room order change + increased viewbox size to fit correctly
Awesomecar11 Mar 28, 2024
dd2a1b9
fixed low floors 2, 3, 4
shamikkarkhanis Mar 29, 2024
eb4ba95
added Folsom1.svg (first floor of library)
AbishekSh Mar 29, 2024
b063ac2
added folsom library floor 2
AbishekSh Apr 2, 2024
c746b5a
added Folsom Library floor 4
AbishekSh Apr 2, 2024
b6df4b5
finished all of Carnegie, bunch of touch ups on every floor, and went…
Awesomecar11 Apr 3, 2024
cae017b
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Awesomecar11 Apr 3, 2024
3a64a4b
Cleaned up code whitespace and comments
paulbruzzi Apr 6, 2024
d406ec4
Update Winslow1.svg
DiegoV03 Apr 12, 2024
2370a0c
walker basically done, and few touchups to carnegie
Awesomecar11 Apr 13, 2024
e3f4572
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Awesomecar11 Apr 13, 2024
3fbcf36
JEC floorplan minor tweaks
Awesomecar11 Apr 14, 2024
cd5167e
Update Winslow2.svg
DiegoV03 Apr 16, 2024
2d420a9
fixed ricketts
Awesomecar11 Apr 16, 2024
33be90b
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Awesomecar11 Apr 16, 2024
d7e5036
Update winslow3.svg
DiegoV03 Apr 16, 2024
3034f76
minor fixes in JROWL, moved around order mainly
Awesomecar11 Apr 16, 2024
157eae7
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Awesomecar11 Apr 16, 2024
cff8742
Finished Winslow Floors
DiegoV03 Apr 16, 2024
b9ff2c7
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
DiegoV03 Apr 16, 2024
6153b7c
low 2, 3, 4 update
Apr 16, 2024
fe55db5
fix troy 3
nadiachoudhury Apr 16, 2024
c533c2f
lally floors 2 & 3 fixed size
Awesomecar11 Apr 17, 2024
2549013
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Awesomecar11 Apr 17, 2024
dd5c121
academy floors increased in size to not cutoff
Awesomecar11 Apr 17, 2024
f32e559
Merge branch 'floorplans' of https://github.com/Vacansee/app into flo…
Apr 17, 2024
4547c9e
low floor 6 fix
Apr 17, 2024
c475ed3
low floor 7 edit
Apr 18, 2024
09ea4b8
rescaling low floors 1, 5, 8, 9
Apr 18, 2024
4a139bd
low 5 clickable on top + renamed a room
Awesomecar11 Apr 18, 2024
e7b454c
Winslow2.svg
JeroldB26 Apr 18, 2024
d9d6da6
Updated Winslow 1
JeroldB26 Apr 18, 2024
298cc56
Updated Winslow 4
JeroldB26 Apr 18, 2024
4989b69
Updated Winslow 3
JeroldB26 Apr 18, 2024
ad55c13
Final Winslow 1
JeroldB26 Apr 18, 2024
67d0696
Final Winslow 2
JeroldB26 Apr 18, 2024
740cace
Final Winslow 1
JeroldB26 Apr 18, 2024
c715f47
Final Winslow 3
JeroldB26 Apr 18, 2024
4410876
Final Winslow 1
JeroldB26 Apr 18, 2024
d5e4f9a
Final Winslow 3
JeroldB26 Apr 18, 2024
53135f5
Final Winslow 4
JeroldB26 Apr 18, 2024
14cc203
Final Winslow 2
JeroldB26 Apr 18, 2024
6d15d10
slight tweaks
Awesomecar11 Apr 18, 2024
0a0f7b0
Merge branch 'dev' into floorplans
paulbruzzi Apr 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,348 changes: 674 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

Binary file modified docs/.embed/create-basic-floor-plans-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.embed/create-basic-floor-plans-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.embed/create-basic-floor-plans-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.embed/create-basic-floor-plans-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.embed/create-basic-floor-plans-13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.embed/create-basic-floor-plans-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.embed/create-basic-floor-plans-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.embed/create-basic-floor-plans-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.embed/create-basic-floor-plans-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.embed/create-basic-floor-plans-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.embed/create-basic-floor-plans-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.embed/create-basic-floor-plans-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.embed/create-basic-floor-plans-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
110 changes: 55 additions & 55 deletions docs/create-advanced-floor-plans.md
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
# Creating Floor Plans
We will be turning the floor plans into Scalable Vector Graphics (SVG) to allow for user interaction, css styling, and scalability. Before we create a floor plan, let us download one of the following programs:

**Free**
- [GIMP](https://www.gimp.org/)
- [Inkscape](https://inkscape.org/)

**Purchase**
- [Affinity Designer](https://affinity.serif.com/en-us/designer/)
- [Adobe Illustrator](https://helpx.adobe.com/illustrator/get-started.html)

For this tutorial, we will use Affinity Designer, but similar vector capabilities are provided in all programs listed.

## 1. Obtain the floor plan
After choosing a building to work on, let us select a floor plan from these [QuACS PDFs](https://github.com/quacs/quacs-data/tree/5330bf53a2a553acfaee0ed7d03067b707464ce4/floor_plans). When choosing a floor, start with one that has the largest perimeter. By starting with the largest one, the following floors you create will be easier to align. It is best practice that one person finishes a whole building for design consistency.

## 2. Open the image
Launch your program, click on **'File'** from the menu, then select **'Open'**. Navigate to the location where your floor plan pdf is saved, select it, and click Open.

## 3. Resize the canvas
It is good practice to keep the canvas small for easier use. The largest dimension of height or width can be between 100 to 500 pixels. To change the canvas size, click on **'File'** from the topbar, then select **'Document Setup'**. In my example, I will choose 300 x 200.

![](.embed/create-advanced-floor-plans-1.png)

As seen, my image is too large for the dimension. First we need to select all our floor plan elements. I can either click on the screen and drag a select square over the entire picture, or click on the layers menu, and press `CTRL`+`A`. Once selected, I `SHIFT`+click a corner maintain the aspect ratio and shrink the image down.

![](.embed/create-advanced-floor-plans-2.png)

Center the image for sake of neatness.

## 4. Trace the outer walls
Let us create a semi-transparent rectangle in blue so we can find where we are working.

![](.embed/create-advanced-floor-plans-3.png)

If you double-click on the original floor plan, your program will detect that it should be considered for alignment. Let us go back and select our blue rectange again to align it to the floor plan.

![](.embed/create-advanced-floor-plans-4.png)

As seen in the photo, there is a red and green alignment bar to suggest it snapped. Now resize the rest of the rectangle to be aligned.

![](.embed/create-advanced-floor-plans-5.png)

Let us copy `CTRL`+`C` and paste `CTRL`+`V` our rectangle and align it the next wall.

![](.embed/create-advanced-floor-plans-6.png)

As you can see, the wall we created is slightly too large. That is intential, as it does not change our ability in interpretting the map, and makes viewing the map easier on the eyes. When we have many thicknesses, it distracts the user from their primary objective of finding paths/rooms. Let us use this same thickness for the entire border.

![](.embed/create-advanced-floor-plans-7.png)

Now we have completed lining the walls. Note that we did not cover door entrances. Let us group all our work by `SHIFT`+clicking the bottom curve in our layers list and the top curve of our layers list. Right click your selection and press group. Feel free to name your grouping.

## 5. Creating inner walls
To be completed
# Creating Floor Plans
We will be turning the floor plans into Scalable Vector Graphics (SVG) to allow for user interaction, css styling, and scalability. Before we create a floor plan, let us download one of the following programs:
**Free**
- [GIMP](https://www.gimp.org/)
- [Inkscape](https://inkscape.org/)
**Purchase**
- [Affinity Designer](https://affinity.serif.com/en-us/designer/)
- [Adobe Illustrator](https://helpx.adobe.com/illustrator/get-started.html)
For this tutorial, we will use Affinity Designer, but similar vector capabilities are provided in all programs listed.
## 1. Obtain the floor plan
After choosing a building to work on, let us select a floor plan from these [QuACS PDFs](https://github.com/quacs/quacs-data/tree/5330bf53a2a553acfaee0ed7d03067b707464ce4/floor_plans). When choosing a floor, start with one that has the largest perimeter. By starting with the largest one, the following floors you create will be easier to align. It is best practice that one person finishes a whole building for design consistency.
## 2. Open the image
Launch your program, click on **'File'** from the menu, then select **'Open'**. Navigate to the location where your floor plan pdf is saved, select it, and click Open.
## 3. Resize the canvas
It is good practice to keep the canvas small for easier use. The largest dimension of height or width can be between 100 to 500 pixels. To change the canvas size, click on **'File'** from the topbar, then select **'Document Setup'**. In my example, I will choose 300 x 200.
![](.embed/create-advanced-floor-plans-1.png)
As seen, my image is too large for the dimension. First we need to select all our floor plan elements. I can either click on the screen and drag a select square over the entire picture, or click on the layers menu, and press `CTRL`+`A`. Once selected, I `SHIFT`+click a corner maintain the aspect ratio and shrink the image down.
![](.embed/create-advanced-floor-plans-2.png)
Center the image for sake of neatness.
## 4. Trace the outer walls
Let us create a semi-transparent rectangle in blue so we can find where we are working.
![](.embed/create-advanced-floor-plans-3.png)
If you double-click on the original floor plan, your program will detect that it should be considered for alignment. Let us go back and select our blue rectange again to align it to the floor plan.
![](.embed/create-advanced-floor-plans-4.png)
As seen in the photo, there is a red and green alignment bar to suggest it snapped. Now resize the rest of the rectangle to be aligned.
![](.embed/create-advanced-floor-plans-5.png)
Let us copy `CTRL`+`C` and paste `CTRL`+`V` our rectangle and align it the next wall.
![](.embed/create-advanced-floor-plans-6.png)
As you can see, the wall we created is slightly too large. That is intential, as it does not change our ability in interpretting the map, and makes viewing the map easier on the eyes. When we have many thicknesses, it distracts the user from their primary objective of finding paths/rooms. Let us use this same thickness for the entire border.
![](.embed/create-advanced-floor-plans-7.png)
Now we have completed lining the walls. Note that we did not cover door entrances. Let us group all our work by `SHIFT`+clicking the bottom curve in our layers list and the top curve of our layers list. Right click your selection and press group. Feel free to name your grouping.
## 5. Creating inner walls
To be completed
53 changes: 38 additions & 15 deletions docs/create-basic-floor-plans.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,48 +17,71 @@ After choosing a building to work on, let us select a floor plan from these [QuA
## 2. Open the image
Launch your program, click on **'File'** from the menu, then select **'Open'**. Navigate to the location where your floor plan pdf is saved, select it, and click Open.

Now with the correct pdf open, we want to work towards an end goal of a floorplan svg with an approximate width of 3200px (taken from DCC floorplan to keep sizing and wall strokes in the app similar so that the floors don't look too different). To achieve this we will need to do some scaling, but this can be done either at the end of the floorplan or at the beginning. You have the option of scaling the image down first so that it is easier to work with and then scale it up, or you have the option of keeping the image the same size and scaling it up, or you can scale up immediately and then not have to worry about it later. I suggest trying out different methods for different floorplans and see what works best for you.

In order to scale the pdf or end svg, you will need to:
1. Go to `File` -> `Document Properties`. Press the chain looking icon next to the width/height to lock the scale to evenly enlargen it. Then increase the width dimension to the appropriate size to scale the document (note: this scales the document and not the contents of the document --> onto step 2)

![](.embed/create-basic-floor-plans-1.png)

1. Press `Ctrl-A` to select all svg elements, then with the cursor tool, hold `Ctrl`, grab the bottom right arrow, and scale evenly to the bottom right of the document size. You may want to play around with positioning of your contents in the document frame, as it seems a bit of empty space is good for displaying the svg in the app (otherwise a part of the svg may be cut off --> you will need to test out your svg in the app after completion and it may need some tweaking). A DCC floorplan silhouette example is shown below to help gauge spacing.

![](.embed/create-basic-floor-plans-2.png)

Here's an example of the DCC floorplan silhouette with a white background for the document (note: the floor and rooms are both black so they blend in with each other; the colors in the previous photo do not match what the colors mean in this photo, and the outer floor that is in white and the background that is transparent in the previous photo are black and white respectively in this image):

![](.embed/create-basic-floor-plans-3.png)

## 3. Trace inner rooms and outer floor
First, create a new layer to work on so that we are not directly editing the pdf layer (this will help us later when just exporting our traced floor).

![](.embed/create-basic-floor-plans-1.png)
![](.embed/create-basic-floor-plans-4.png)

Any room that is labeled with an id we will capture in the floor plan (stay away from capturing staircases). Use the pen tool with the paraxial line segment option selected (this will create 90 degree angles for square rooms; you can also hold `Ctrl` to do achieve this), zoom in on the first corner of a room and carefully select it.
Any room that is labeled with an id we will capture in the floor plan (stay away from capturing staircases). Use the pen tool (hold `Ctrl` to create 90 degree angles), zoom in on the first corner of a room and carefully select it.

I suggest watching [this video](https://www.youtube.com/watch?v=ijZlMHJJ0F0&ab_channel=LogosByNick) if you have a unique wall that you cannot trace with just right angles (curved walls, etc).

![](.embed/create-basic-floor-plans-2.png)
![](.embed/create-basic-floor-plans-5.png)

Do the same with the second corner, and from there Inkscape should only make perpendicular lines to the one you created, making it easy to finish up the room by clicking on the other corners and then finally connecting it to the first one.

![](.embed/create-basic-floor-plans-3.png)
![](.embed/create-basic-floor-plans-6.png)

If your room is now filled in black from the path, you can easily change the color to make it stand out and change the opacity on the bottom left of the screen. Then, press `Shift + Ctrl + X` (or go to `Edit -> XML Editor`) and rename the `id` tag to the room number preceded by a `_`. FYI, just renaming the label (by double clicking the name and renaming it to `_room#` for example) will add a tag called `inkscape_label` and not actually change the `id` tag that we need.
If your room is now filled in black from the path, you can easily change the color to make it stand out and change the opacity on the bottom left of the screen. Then, press `Shift + Ctrl + X` (or go to `Edit -> XML Editor`) and rename the `id` tag to the room number preceded by a `_` (or if you are adding a room that needs a name instead of a room #, like the health center, write the name with `-`'s instead of spaces preceded by a `_`, like `_Health-Center`). FYI, just renaming the label (by double clicking the name and renaming it to `_308` for example) will add a tag called `inkscape_label` and not actually change the `id` tag that we need.

Some rooms don't have numbers but are essential in the foundation of the building or the shape of the floor. These rooms can be given the `id=unexcavated#` where `#` is replaced with an integer starting at 1 and increasing with every extra room of this kind (see `Sage1.svg` for example).
Some rooms don't have numbers but are essential in the foundation of the building or the shape of the floor. These rooms can be given the `id=unexcavated#` where `#` is replaced with an integer starting at 1 and increasing with every extra room of this kind (see `Sage1.svg` for example). Also, some floors in non-academic buildings that are unused for the average student (like the first floor of academy hall) can be simplified (especially if there are a lot of random office buildings). You can do this by utilizing the unexcavated ids to gray out that area, but make sure to leave empty space for hallways.

![](.embed/create-basic-floor-plans-4.png)
![](.embed/create-basic-floor-plans-7.png)

Tracing the outer floor is the same process as the inner floors. Make sure to trace the outer most wall and rename the `id` tag to `floor`. Also, try to capture the parts of the floor that have valid rooms in them (eg. some parts of a floor can be left out if they dont connect rooms).
Tracing the outer floor is the VERY LAST step in the process of creating a floorplan after tracing all the inner rooms. To create the outer floor, you want to follow the path of the outermost inner rooms (tracing along their outer edge) while keeping in mind the shape of the building. Make sure to rename the `id` tag to `floor` and try to capture the parts of the floor that have valid rooms in them (eg. some parts of a floor can be left out if they dont connect rooms).

![](.embed/create-basic-floor-plans-5.png)
Here's the first pittsburgh floor as an example next to the pdf floorplan from quacs. Notice how the outer floor encompasses all of the inner rooms but does not add extra gaps or walkways outside of the building, except for the defining arch of the building at the top for the lounge. The key to capturing the best outer floor and floorplan as a whole is to capture the essence of the building while making it neat and simple (definitely easier said then done, but look at other svgs along with their actual quacs floorplan for inspiration!).

![](.embed/create-basic-floor-plans-8.png)
![](.embed/create-basic-floor-plans-9.png)

Lastly, make sure to open the XML Editor again and delete every attribute from each of the paths except for `id` and `d` (this gets rid of the coloring and extra attributes).

## 4. Export SVG and Clean it up
Once finished with the floor plan, make sure to delete the first layer with the pdf to leave the paths we created. Right click on the layer with our paths, click `Convert to group`, then right click again and click `Ungroup` to get rid of the outer shell and leave just our paths.

Then, press `Shift + Ctrl + E` or `File -> Export`, make sure it is exported as an SVG, and rename it as `abbrev#` where the abbreviation is established in `data\convert.py`.
Then, press `Shift + Ctrl + E` or `File -> Export`, make sure it is exported as an SVG, and rename it as `abbrev#` where the abbreviation is established in `data\convert.py`. Before clicking `Export`, make sure your size/scale is correct (see `Step 2: Open the image` for more info).

![](.embed/create-basic-floor-plans-6.png)
![](.embed/create-basic-floor-plans-10.png)

Once exported, open this [SVG minimizer](https://svgomg.net/) to condense the svg and remove all of the redundant elements put in by Inkscape.

Make sure to set the precision slider to 0, uncheck `Clean up ids` and to check `Prefer viewbox to width/height` and `Prettify markup`. The rest shouldn't really matter for our case.

![](.embed/create-basic-floor-plans-7.png)
![](.embed/create-basic-floor-plans-11.png)

Finally, download the resulting SVG, and move it to the `Vacansee\app\src\assets\floors` folder. We are not done cleaning it up yet, however. Now, open the svg in VS Code (or any code editor) and delete any parts of the svg that are not the paths or the svg tag. If the resulting svg does not look the same as before, you may have deleted an essential component (like a group tag if you didn't properly ungroup the paths before you exported). Here's the before and after that should look similar to what you do:
Finally, download the resulting SVG, and move it to the `Vacansee\app\src\assets\floors` folder. We are not done cleaning it up yet, however. Now, open the svg in VS Code (or any code editor) and delete any parts of the svg that are not the paths or the svg tag. If the resulting svg does not look the same as before, you may have deleted an essential component (like a group tag if you didn't properly ungroup the paths before you exported).

![](.embed/create-basic-floor-plans-8.png)
Also, SVGs are layered, so make sure your path with the `floor` id is the top one. Here's the before and after (note: the after did not reorder the `floor` id path, but do in yours!) that should look similar to what you do:

![](.embed/create-basic-floor-plans-12.png)

![](.embed/create-basic-floor-plans-13.png)

![](.embed/create-basic-floor-plans-9.png)
## 5. Check!
Perhaps the most important step of the process is to check your work. If you put the svg in the correct folder (`src\assets\floors`) then you should be able to see your floor when you run the app, click on your building, and navigate to the correct floor. If your svg looks funky or if the placement on the screen is off, make the appropriate changes before you ask others to review it! One common issue is the placement of the svg when you load it in the app (the floor svg could look cut off or way too big when you first open the building). This most likely has to do with the background document frame you are working with (take a look at the scaling notes in `Step 2: Open the image` and don't be afraid to leave some space outside of the floorplan itself to aid in viewing in the app).
Loading