Drawing tool that produces floor plans needed to renovate an apartment
Project description
Renovation
Overview
This is a drawing tool that produces floor plans needed to renovate an apartment.
Walls, doors, windows, and dimension arrows are supported. Some other elements can be composed of them. For example, in the next section it is shown how to draw ventilation duct and French balcony.
Usage
To install a stable version, run:
pip install renovation
To generate floor plans, run:
python -m renovation -c /path/to/config.yml
Here, config in YAML is a custom file where properties of each element to be drawn are set. These properties include location, orientation, size, and so on. Compared with drag-and-drop tools, config-based interface simplifies fine-grained control.
Let us dive into details. Please look at a demo example as s reference while reading further explanations.
The section named project
defines properties of output such as:
- Extension (multi-page PDF document, directory with PNG images, or both)
- Location
- DPI (dots-per-inch, resolution)
In the demo config, only PNG output is requested and the generated images are shown below:
In the section named default_layout
, below parameters are set for floor plans that do not override them in their layout
sections:
- Dimensions of area to be drawn (in real-world meters, i.e., meters prior to scaling)
- Scale
- Grid settings
The section named reusable_elements
is designed to store arbitrary collections of elements that can be used by individual floor plans. Demo example uses it to define walls, windows, and doors.
Finally, settings of individual floor plans are listed. These settings might include:
- Title
- Layout
- Names of element collections to reuse
- Extra elements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file renovation-0.1.0.tar.gz
.
File metadata
- Download URL: renovation-0.1.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 692dd6ef347aafe1c8d7da7b2e56d02e3d5981d5ae81114035f7a90dc4f0ffa4 |
|
MD5 | 0e5772c27a19dc6203c1afedf4a09eff |
|
BLAKE2b-256 | 446c3394f6e28aef4cde00df633c8dad61ccf6b87a8f433abfc8de1b51866468 |
File details
Details for the file renovation-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: renovation-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce16f5749fb0c669598cf33ecab4d6fb0cf0c380168fe15d718d0d33feb19b5 |
|
MD5 | ab13088af007a90abac3ea3cd6e8312e |
|
BLAKE2b-256 | dce0cbfb5f21c7f9c3d829c3cae86530ef9861f11467164367e40d8fd9f7e632 |