Giter VIP home page Giter VIP logo

eendraadschema's Introduction


Eendraadschema tekenen -- Drawing a one-wire diagram


=== Purpose ===

Design and draw a one-wire diagram as enforced by the Belgian AREI legislation. Source code written in Typescript, transpiled to Javascript and run in a browser.

Present files are a standalone copy of the online version found at https://eendraadschema.goethals-jacobs.be. Note that some limited functionalities will not be available in the standalone version. We refer to the online version if you whish to use this tool in a production setting.

=== L I C E N S E ===

Copyright (C) 2019-2023 Ivan Goethals

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Licenses for embedded content

  • This program uses the Pako.js entropy coding library. Pako is released under an MIT license by Andrey Tupitsin and Vitaly Puzrin. For more information on Pako and the full license text, please visit https://github.com/nodeca/pako
  • Pako implements ZLib in javascript. Zlib is released under the ZLIB License. See https://www.zlib.net/zlib_license.html

=== History ===

Software developed by Ivan Goethals between as of March 2019. Placed on Github as-is on June 1st 2020 and further developed on Github. So far, Ivan is the only known contributor to the project.

=== Build / Compile ===

Below description is valid for a linux terminal with bash- or sh-shell. With some extra tweaks, compilation on other systems should be possible as well.

  • Extract all files and directories in a dedicated folder.
  • Ensure you have a typescript compiler installed that can be called by the name "tsc"
  • Run the ./compile -script from the dedicated folder.
  • Open index.html with a modern browser

=== Further development ===

The eendraadschema software is, and has been used by various hobbyists on the Belgian market. As such it is important that the software remains backwards compatible with all earlier generated EDS-files.

Given that exports- and imports- of the schematics (EDS-file) are basically json-dumps of internal data-structures, until further notice, this entails the following:

  • No fundamental changes can be allowed to the data-model underlying the hierarchical trees that can be drawn with the software, as embedded in the Hierarchical_List -class.
  • No fundamental changes can be allowed to the Electro_Item -class constructor. Especially the order of the keys must be maintained. If new future features require an extension of the number of available keys, extra keys should be added at the end.

=== End of Document ===

eendraadschema's People

Contributors

berndverhofstadt avatar igoethal avatar roelderickx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

eendraadschema's Issues

just a thank you

Hello,

Just a little thank you from a user. Your software truly is a great gift to the community.

Kind regards,

Mark

Aftakdozen en aansluit punten beperkt tot 1 kind

Hey @igoethal

super bedankt voor dit project. was al tijden hierna op zoek!

Ondanks dat een eendraadschema in Nederland niet verplicht is, vind ik het een heel goed idee en wil dit graag in mijn meterkast hebben :)

Nu is het bij ons in Nederland gebruikelijk om vanuit de automaat een kabel te trekken naar een centraal punt, meestal is dat aan het plafond, de algemene 'aftakdoos'. Vanaf hier, zoals de naam het al zegt, takken we dan af naar een X aantal stopcontacten (of lege trek-dozen). Aan de afak doos hangt vaak ook de centrale lamp, met draden na een schakelaar met of zonder een stopcontact.

Echter, is het op dit moment niet mogelijk om een aftakdoos of inbouwdoos meerdere kinderen toe te voegen dan 1. Ik snap dat dit een stuk moelijker te renderen is, maar zou wel mogelijk moeten zijn?

Ook zie ik dat met stopcontacten. Als ik graag de vebruikers aan het stopcontact zou willen modeleren, kan dit nu niet (b.v. wasmachine die aan het stopcontact hangt.

Het zelfde probleem denk ik is ook met een dubbele schakelaar, daar zouden toch 2 lampen aan moeten hangen. (Trouwens je mist ook de dubbele schakkelaar, 1 maar enkel polig een maal dubbel polig. E.g. een dubbele schakelaar met een directe lamp en 1x een kruis schekalaar. Denk aan de hal beneden, met een knop voor de hal, en een 2de schakelaar voor de lamp boven, die ook een schakelaar boven heeft, maar dat is misschien zijn eigen issue ;p)

(P.s. overigens geld dit blijkbaar ook voor omvormers, terwijl een omvormer meerdere strings aan kan)

Kan dit nu wel 'faken' door een ongelabelde kring te plaatsen, al ziet dat met b.v. stopcontacten weer vreemd uit.
image
dit bedoel ik!

edit: Ik lees trouwens wel in de handleiding dat dit waarschijnlijk de bedoeling was?

Drukknoppen bij een minuterie

Ik probeer een minuterie toe toe voegen met 2 drukknoppen en 1 lamp. In inkscape heb ik het even geschetst en wat ik zou moeten bekomen is dit ongeveer (5 is het kringnummer):
image

Dat lukt me niet met deze toepassing, maar mogelijk zie ik iets over het hoofd.

  • Ofwel voeg ik een lichtcircuit toe, stel het schakelaartype in op minuterie en heb de kans om een aantal lichtpunten in te geven. Maar ik kan geen drukknoppen toevoegen, noch een niveau eronder toevoegen om daar de drukknoppen toe te voegen.
  • Ofwel voeg ik een schakelaar van het type minuterie toe, maar dan kan ik slechts 1 niveau eronder aanmaken voor ofwel de lichtpunten ofwel de drukknoppen. Ik heb ze allebei nodig.

Op zich heb ik geen probleem om het zoals in de tweede optie in te geven. Dan volstaat het dus om toe te laten dat een minuterie 2 kind-niveaus kan hebben ipv 1. Een andere oplossing is om toch een kindniveau toe te laten voor een lichtcircuit met een minuterie. Of beide, dan heb je maximale flexibiliteit :-)
Het aantal drukknoppen als parameter bij een lichtcircuit toevoegen kan ook, enkel in geval van minuterie dan. Maar dan moet je wel alle opties van de drukknoppen ook mee overnemen (verklikkerlicht / halfwaterdicht / ...). Dat lijkt me op het eerste zicht wat overkill.

Kring kopiëren?

Beste,

Is het mogelijk om een kring te copy/pasten zodat je (bijna) gelijkaardige kringen niet opnieuw hoeft te maken? Dat lijkt me een fundamenteel feature - ik kijk er dus wslk over? - maar ik vind het niet terug ...

Bedankt!

Gert

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.