https://github.com/ringods/omnigraffle-arei-stencil
OmniGraffle Stencil containing the official symbols to draw a single-wire electrical diagram according the Belgian AREI.
https://github.com/ringods/omnigraffle-arei-stencil
Last synced: over 1 year ago
JSON representation
OmniGraffle Stencil containing the official symbols to draw a single-wire electrical diagram according the Belgian AREI.
- Host: GitHub
- URL: https://github.com/ringods/omnigraffle-arei-stencil
- Owner: ringods
- Created: 2021-01-31T12:07:27.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-03T16:23:16.000Z (over 2 years ago)
- Last Synced: 2025-02-04T15:50:21.414Z (over 1 year ago)
- Language: Python
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
# OmniGraffle Stencil containing the Belgium Electrical AREI symbols
This project contains the script to convert the Belgium Electrical AREI symbols in SVG format to an OmniGrafle stencil.
The SVG source version of the symbols are made available by https://www.shadowhunter.co.uk[Shadowhunter]. The script used to convert from SVG to the stencil can be found https://github.com/m-radzikowski/omnigraffle-stencil[here].
The files in the Releases section contain the direct to use stencils for OmniGraffle.
## Running
Since the conversion script is a Python package, this project creates a local project setup using https://python-poetry.org[Poetry], the modern Python package & virtual environment manager. To run the script, make sure you have Poetry installed on your machine, then run:
```sh
$ poetry install
```
First download the upstream elements archive at https://www.shadowhunter.co.uk/nl/downloads.php
Then unzip, resize and convert the SVG images:
```sh
$ unzip nl_arei_visio_svg_autocad_elmt.zip
$ poetry run resize
$ poetry run omnigraffle-stencil --svg-dir ./SVG-Resized --stencil-file AREI.gstencil
```