Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wandmalfarbe/bouwkamp-code-generator
This Inkscape extension allows you to generate squared squares and squared rectangles from Bouwkamp codes and table codes.
https://github.com/wandmalfarbe/bouwkamp-code-generator
inkscape inkscape-extension inkscape-plugin python
Last synced: 12 days ago
JSON representation
This Inkscape extension allows you to generate squared squares and squared rectangles from Bouwkamp codes and table codes.
- Host: GitHub
- URL: https://github.com/wandmalfarbe/bouwkamp-code-generator
- Owner: Wandmalfarbe
- License: bsd-3-clause
- Created: 2019-04-24T12:19:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-03T20:22:36.000Z (over 4 years ago)
- Last Synced: 2025-01-11T06:31:14.024Z (13 days ago)
- Topics: inkscape, inkscape-extension, inkscape-plugin, python
- Language: Python
- Homepage:
- Size: 89.8 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bouwkamp Code Generator
This Inkscape extension allows you to generate squared squares and squared rectangles from Bouwkamp codes and table codes.
You can paste Bouwkamp codes with or without various formatting characters (like brackets) and convert them to the corresponding squares. The following three simple perfect squared squares (SPSS) that were generated from Bouwkamp codes.
![Three simple perfect squared squares (SPSS) that were generated from Bouwkamp codes.](images/simple-perfect-squared-squares.png)
## Installation
1. Copy the files `render_bouwkamp_code.inx` and `render_bouwkamp_code.py` to your Inkscape `extensions` directory. The location of this directory depends on your operating system:
- Linux, macOS: `~/.config/inkscape/extensions/`
- Windows: `C:\Users\\AppData\Roaming\inkscape\extensions\`
2. Restart Inkscape.## Usage
1. Open the extension from the extension menu under `Extensions > Render > Bouwkamp code...`.
2. Paste a valid Bouwkamp code or table code like these:
- `22, 110, 110 [60, 50], [23, 27], [24, 22, 14], [7, 16], [8, 6], [12, 15], [13], [2, 28], [26], [4, 21, 3], [18], [17]`
- `21 112 112 (50,35,27)(8,19)(15,17,11)(6,24)(29,25,9,2)(7,18)(16)(42)(4,37)(33)`
- `22 139 139 80 59 21 38 29 28 17 27 7 10 18 20 4 3 32 8 1 31 30 24 2 22`
3. Click the Apply button.## License
This project is open source licensed under the BSD 3-Clause License. Please see the [LICENSE file](LICENSE) for more information.