Skip to main content

Build Status Maintainability PyPI version

Renovation

Overview

This is a drawing tool that produces floor plans. It is controlled through YAML config files and has no built-in GUI (only CLI is provided). Although it may look like a drawback, people with technical background may find it more convenient. Compared with drag-and-drop tools, config-based interface:

  • simplifies fine-grained control
  • allows versioning projects with VCSs like Git
  • does not require any special MCPs for drawing with AI agents

The below figure demonstrates available elements.

individual_elements.png

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.

Let us dive into details. Please look at a demo example as a 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 one of the generated images is shown below:

floor_plan_with_dimensions.png

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

You may notice that the first demo config is quite low-level. Everything is set independently. However, the package provides a way to anchor an object to other objects. To get more insights, look at this demo example and an image rendered with it.

Metadata

Release files for renovation 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for renovation 0.2.0
File Size Uploaded
renovation-0.2.0.tar.gz 16.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for renovation 0.2.0
File Interpreter ABI Platform
renovation-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 37.4 kB

Release files / renovation-0.2.0.tar.gz

Download URL renovation-0.2.0.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7d29e0bcf54024de8fea65bac6414df93124ff398aea5858c3d1dfd4f425e0f9
BLAKE2b-256 checksum
How to use checksums
0c735d2133809e328763c1a50051e0c79cab6e5f646f6325fa778745f4add7a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / renovation-0.2.0-py3-none-any.whl

Download URL renovation-0.2.0-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f498a8a95b1db161141d0a4b1eb18148fb24cd7b8f507fa3a4b5d93d8fc93a52
BLAKE2b-256 checksum
How to use checksums
2d3cb8c8d084875b457c66b139d9440cf5e9e0d2c13e2ed8e0901222d04eb699
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page