Skip to content

OpenECraft 0.1.5

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 20:33
· 37 commits to master since this release
Immutable release. Only release title and notes can be modified.
606abbc
  • Circuit simulation (#263): the circuits of a project are simulated. Push buttons,
    switches and protective devices are operated, relays pick up and drop out after their
    times, on- and off-delay contacts follow, lamps light, motors run, power supplies and
    transformers feed their circuits; every potential has its voltage and every device its
    current and power (direct, single- and three-phase circuits). Values the project has no
    data for are assumed and listed (report Simulation: assumed values). A project keeps
    scenarios: steps that operate devices, let time pass and say what is expected
    (press -S1; wait 0.2; release -S1; expect -K1 on; expect -P1 current > 0.05); the
    check Simulation scenarios plays them and reports what they did not expect, the
    reports Simulation: voltages and currents and Simulation: scenarios list the
    results. Command line and MCP: simulate, list_simulation_devices,
    set_simulation_scenario, list_simulation_scenarios, delete_simulation_scenario
    and, step by step, simulation_step, get_simulation_state, stop_simulation.
    Plugins add device models that tell the simulation what a symbol is in the circuit
    (Registry::device_model, device_models of external plugins). The editor has a
    Simulation workspace (Tools › Simulation, F5 runs and ends it): the page shows the
    running simulation, live wires red, the return path blue, dead wires grey, working
    loads orange and actuated contacts green with the paths they close. A click on a push
    button presses it for a moment (Shift+click keeps it pressed), a click on a switch, a
    protective device or a sensor changes it over. The time can be paused, stepped by
    10 ms, reset and slowed down to 1/100; the pane Simulation control lists the devices
    with their state, voltage and current and the scenarios of the project, which are
    written, played and checked there. While the simulation runs the pages cannot be
    edited; a changed project starts at rest again. The pointer over a wire or a symbol
    reads voltage, current and power there, beads run along the wires in the
    direction of the current, and the pane Timing diagram shows the states of the
    devices over the time; Alt+click on a wire or a symbol adds its voltage or current as
    a probe. Export saves the page or all pages in the simulated state (SVG, PDF), the
    timing diagram (SVG) and the recorded values (CSV); the same are the exports
    simulation_svg, simulation_pdf, simulation_timing and simulation_traces of
    the command line, after a scenario or steps. The PLC runs a program in Structured
    Text
    (IEC 61131-3: assignments, IF, CASE, FOR, WHILE, REPEAT, the timers TON, TOF
    and TP, the counters CTU and CTD, the edges R_TRIG and F_TRIG, SR and RS) cycle by
    cycle: its inputs read the voltages of the circuit, its outputs feed it. The pane
    PLC program holds the program and its cycle time and lists the inputs, outputs and
    variables to watch and to set by hand; a click on an input or output on the page
    sets it too. Scenarios set and expect variables of the PLC (set Reset on,
    expect Count = 3), the project check reports a program that cannot be read, and
    the commands get_plc_program and set_plc_program read and write it from the
    command line and for AI agents. Protective devices trip: a circuit breaker, a
    fuse or a motor protection switch with a part carries an overload for the time of
    its characteristic and opens a short circuit at once; the short-circuit current of
    the supply point limits what the mains deliver. Faults are put into a device
    with the right mouse button in the pane Simulation control or by the steps of a
    scenario (fault -M1 short, fault -K1 open, fault -P1 earth, repair -M1): a
    short circuit, an interruption or an earth fault. Diodes and LEDs conduct in one
    direction only, and a motor that runs shows whether it turns forward or in reverse
    (expect -M1 forward). Motions: what the circuit moves takes its time and
    actuates its position switches. A cylinder of the fluid plan extends while the coil
    of its valve is on and goes back by its spring or by the second coil; the position
    switches linked to it are actuated at the ends of its way. A project adds motions of
    its own (a slide, a part on a conveyor, a level: pane Simulation control ›
    Motions, commands set_simulation_motion, list_simulation_motions,
    delete_simulation_motion) with the devices that move them, the time for the way
    and the part of the way each position switch is actuated on. The pane shows where a
    motion is and puts it there by hand, the timing diagram draws its way, and scenarios
    put and expect it (set -MM1 100, expect -MM1 on, expect Slide > 50). A position
    switch put by hand stays until its motion passes it.
    Cables lose voltage: a core of a cable with a length and a cross-section has the
    resistance of its conductor, what it feeds gets less voltage and a relay behind too
    long a cable does not pick up; the pointer reads the loss in volts and percent, and
    the report Simulation: voltage drop of the cables lists it. Motors start: a
    motor takes its starting current (property Starting current ratio or Locked rotor current of its part, otherwise 5 times the rated one) until it has come to its speed
    in its Run-up time, and a motor that is blocked (fault -M1 blocked) keeps it
    until its protective device trips. Contacts bounce with the option Contacts
    bounce when they close
    (pane Simulation control, command set_simulation_options):
    a contact that closes opens and closes twice more within the Bounce time of its
    device. Pressures and flows: the fluid power plans are calculated with the
    circuit. Sources, pumps and compressors feed their lines, 3/2, 4/2 and 5/2 valves
    follow their coils, non-return valves, flow control valves and pressure regulators do
    their work, and a cylinder moves by the pressures on its piston as fast as its valves
    and hoses let it (properties Piston diameter, Piston rod diameter, Stroke, Flow
    rate
    , Operating pressure). Hoses under pressure are red and vented ones blue, the
    pointer reads pressure, flow and the speed of a piston, Alt+click records the pressure
    of a hose, and the report Simulation: pressures and flows lists them. The symbol of
    the 5/2 directional valve shows its positions by its port numbers (1 to 2 at rest).
    The demo project (example
    4 · Conveyor with PLC and control cabinet) has a PLC program, a part that travels
    on the conveyor past the proximity switch and four scenarios; the website runs
    the simulation live (Simulate in the schematic demo: click the push buttons on the
    page, read voltages and currents under the pointer, play the scenarios). The
    documentation has a chapter Circuit simulation, and
    the texts of the simulation are translated into all 20 languages.
  • AI subscriptions in the assistant: the AI assistant of the desktop editor also
    works with a Claude, ChatGPT or Gemini subscription instead of an API key. Settings ›
    AI assistant › Add an AI service
    offers Claude subscription (Claude Code),
    ChatGPT subscription (Codex) and Gemini subscription (Gemini CLI): the editor runs
    the agent program installed and signed in on this computer for each request, so it
    never sees the account. The program reaches the open project only through the tools of
    the editor (an MCP endpoint of its own), its changes wait for approval like those of
    the assistant, each request stays one undo step, and a chat goes on with the session
    of the program.
  • Split projects in the web editor: opening the index file (.oecp) of a split
    project asks for its folder, and the browser reads the files of the project from it
    (other files and hidden folders such as .git are not read); a browser that cannot
    hand over folders says so as before.
  • Saving back in the web editor: in Chromium browsers (Chrome, Edge) Save writes a
    project opened in the browser back where it came from: a project file (.oec), an
    archive (.oecz, written anew) or the folder of a split project, where only the
    changed files are written and those of deleted pages and records removed. The
    browser asks for the right to write at the first save. A save into a folder is
    refused when another program (git) changed a file it would write or remove since
    the project was opened, and a folder with a stopped save of the desktop program is
    not opened. After Save as, Save no longer writes to the file opened before.
    Other browsers download a project file.
  • Macros of EPLAN catalogs in folders below: a parts XML file that lists the
    parts of several folders (such as a vendor's catalog of a product family next to the
    folders of its products) finds the macros and pictures it names in those folders by
    their path. Before, only the files next to it were found and the parts got the error
    "Missing EMA" instead of their macro. Only files below the folder of the XML file
    are taken, and macros of the same name in different folders stay apart.
  • Large EPLAN catalogs import with little memory (#408): parts_import of an EPLAN
    parts XML file reads the macros, pictures and 3D models of a few parts at a time,
    merges them and uploads them before it reads the next ones, in requests of at most
    8 MB (also from the parts manager). A catalog of 132 parts with 139 macros took 2 GB
    of memory and now takes about 140 MB, the parts server about 120 MB instead of
    460 MB; the parts, files and renames on the server are the same. The parts server
    needs less time for an import:
    it reads only the file lists of a part and its history to see which files are left,
    searches the database for unused files only when a change drops a file, and reads
    and writes the models of a part at once (the same import now takes 15 s of its
    processor time instead of 31 s, importing it again 24 s instead of 119 s).
  • Faster start of the parts server: on start the server deletes files no part
    refers to. On SQLite it now finds the files still in use in one pass over the parts
    and their history instead of one pass per file, so a server with thousands of
    attachments (macros of a vendor package) starts in seconds instead of not coming up
    for many minutes.
    Imports get faster for the same reason: a change of many parts with attachments
    makes one pass instead of one per file.
  • 3D macros of current EPLAN versions (#398): the meshes of EPLAN 3D macros with
    normals, as most macros saved by EPLAN 2026 and 2027 have, are read. Their parts got
    no 3D model before, and the import said their bodies had no mesh this version reads.
  • History retention of the parts server: how much history each part keeps is a
    setting now, --history-keep (default 20, as before) and --history-max-age-days
    (no limit by default), also as OPENECRAFT_HISTORY_KEEP /
    OPENECRAFT_HISTORY_MAX_AGE_DAYS and history_keep / history_max_age_days in the
    configuration file. The newest entry of a part always stays; lowering the limits trims
    the history at the next start. Administrators trim it and compact the database at
    once with Compact database on the web page (Export and backup) or in the parts
    manager (Users), the command line tool
    parts_compact (optionally with lower limits) or POST /api/v1/compact; files only
    the removed versions used are deleted, and SQLite makes the compacted copy while the
    server goes on serving, so that large EPLAN imports no longer leave gigabytes of old
    versions behind.
  • Compressed parts database: the SQLite storage of the parts server keeps the part
    data, models and macros, the history and the files (EPLAN macros, XML, text; images
    and archives as they are) compressed with zstd. Databases of earlier versions are read
    as they are; Compact database compresses their rows. This is one way: a server of
    an earlier version cannot read a database (or a GET /backup file) this version wrote,
    and would hand out compressed bytes as files, so take a backup before updating if you
    may need to go back to an earlier version.
  • SolidCraft designs (#387): the native files of the parametric CAD SolidCraft
    (.sc) are read and written wherever 3D files are. A part takes a design as its 3D
    model (part editor, parts manager, Autodesk Vault): the bodies of the model SolidCraft
    keeps with the design, placed by its components, B-rep faces tessellated from their
    exact NURBS form, mesh bodies as they are. The panel layout and the harnesses are
    exported as designs (Panel layout in 3D (SolidCraft), Harnesses in 3D
    (SolidCraft)
    ; exports solidcraft and harness_solidcraft): a component per
    enclosure or harness with a coloured mesh body per item, z up. The data portal files
    .sc files as 3D models.
  • Readable T-junctions: the wire to the second target of a directed T-junction now
    bends into the junction's diagonal instead of starting at its point, so the branch
    leaves the through wire at an angle and no longer looks like a small triangle. The
    diagonal takes the wire's colour (wire colours by potential, two-colour wires) and
    its selection; a wire between two T-junctions on neighbouring grid points bends at
    both ends. The variants in the Properties pane and the T-junction tool show the same.
    Crossings and bridges are drawn as before.
  • Contact images that can be placed (#386): the contact image of a thermal overload
    relay no longer lies on the conductor of its third pole: coils and overload relays draw
    it right of all their connection points. Dragging the contact image of a selected
    symbol places it by hand, Reset in Property placement puts it back.
    Connections › Cross references… draws contact images below the symbol or at the
    bottom of the page (a symbol can have its own place), and Also for other devices with
    auxiliary contacts
    gives motor protection switches, circuit breakers and the other
    main functions a contact image of their contacts too. Commands place_contact_image,
    set_cross_references --contact_image_place --contact_image_devices.
  • Order data in the device list (#363): the device list and the panel legend show
    the manufacturer, type number and order number of a device's parts (columns
    Manufacturer, Type number, Order number, shown when a listed part has a value;
    in report forms and drawn forms as {Manufacturer} …). A device with several parts
    has one row per part, its own values in the first row and its tag in every row; the
    form option Leave repeated values of the first column blank shows the tag once.
  • Structure overview, cable totals and duct and rail totals (#354): three new
    reports. Structure overview lists every structure identifier and page aspect code
    (=POWER, +CAB1, &EFS …) with its description and the number of pages and
    devices that use it, in the order of the page tree: the legend at the front of the
    documentation. Cable totals per type sums the cable lengths per part, or per type,
    cores and cross-section, for ordering from drums. Duct and rail totals (stock bars)
    sums the cut lengths of the wiring ducts and mounting rails per part and gives the
    bars to order: of the part's Stock length, of the length of a part sold by the piece
    or of the panel rule Stock length; the panel rule Busbar systems in the duct and
    rail totals
    (panel_rules --busbars_in_totals) lists the busbar systems in it too.
    The check of profiles longer than the stock takes
    the length of a part sold by the piece too. Report names structure_overview,
    cable_totals, ducts_rails_totals.
  • Copied PLC symbols stay analog (#388): a copy of the PLC analog input or output
    made in the symbol editor kept its drawing but became a PLC digital input, with bit
    addresses (I0.0) instead of words (IW64). A PLC connection point now carries its
    signal type (digital or analog input or output), which a copy keeps and the symbol
    editor sets for a symbol of the function PLC connection point. Copies made before
    get theirs back there.
  • Parts server behind Cloudflare Access: with cloudflare_access in the access
    settings the parts server signs users in with the token of a Cloudflare Access
    application (Entra ID or another identity provider): it checks the signature with
    the team's keys, creates the account of the user at the first request and takes its
    groups from the token; the users list shows when Access last signed each one in.
    --trusted-proxy (trusted_proxies) counts failed sign-ins
    for the client a reverse proxy such as cloudflared names. See
    docs/access-control.md. The project server takes the same
    setting and --trusted-proxy: its web page and a web editor on the same host sign in
    through Access, and the desktop editor signs in with Sign in with Cloudflare Access
    in the project server settings; a user the server knows needs no user name for
    locks. The servers fetch the keys of Access at the start, refuse changes that
    pages of other sites send with the cookie of Access (behind a trusted proxy that
    rewrites Host, its X-Forwarded-Host names the host asked for), and keep email
    addresses for the users of Access when users register themselves.
  • Remembered parts-server sign-ins: the editor and the parts manager save the sign-in
    of a parts server in Windows Credential Manager (Remember sign-in, removed by
    Sign out); the command line and the MCP server use it when no token is given.
  • Sign-in with Cloudflare Access (managed OAuth): the editor and the parts manager
    show Sign in with Cloudflare Access when Access in front of the parts server asks for
    a sign-in (in the data portal and in the server settings of the parts management,
    which also gained the user name and password of the data portal); the web browser
    opens the sign-in of the identity provider (e.g. Entra ID),
    and the sign-in is kept in Windows Credential Manager and renewed, one program at a
    time. Cancel ends the wait for the web browser, and the other functions stay usable
    meanwhile. The saved sign-in comes before a token typed in, as Access lets no other
    token through. The command line and MCP sign in with parts_sign_in_access
    (parts_sign_out_access) and use it for every request, also when a token of the
    server is given (OPENECRAFT_TOKEN); a refusal of Access says to sign in. The sign-in pages must be
    https, and a sign-in is never sent to another server when its address is edited.
  • Servers and web editor under a path: --base-path /parts (base_path) lets the
    parts server and the project server answer under a path, for a reverse proxy that sends
    the whole address on (one Cloudflare Tunnel hostname for all of them), and still at the
    root. Their web pages and the web builds of the editor and the parts manager use
    relative addresses; the editor's Docker image takes OPENECRAFT_BASE_PATH.
  • Server pages behind caches: the web pages of both servers name their scripts,
    styles and logo with the hash of their content (common.js?v=…), so browsers and a
    cache in front such as Cloudflare keep them for a year and never mix a new page with
    old scripts; a version that is not the one of the file served is not kept. Behind Cloudflare Access the page shows the user Access signed in
    instead of its sign-in form; Sign out ends the sign-in of Access.
  • Servers of a hosted web editor: partsServer and projectServer in config.js
    beside the page (OPENECRAFT_PARTS_SERVER_URL, OPENECRAFT_PROJECT_SERVER_URL in the
    Docker image) are the servers the web editor and the web parts manager start with,
    e.g. /parts for a parts server on the same host. A server address the user never
    changed gives way to them, and the requests of the web builds send the cookies of
    their own site, so servers behind the same Cloudflare Access as the page work with
    its sign-in.
  • Part pictures in symbols (#367): the symbol editor's tool Part picture draws a
    placeholder for the product picture of a part of the device, as fields are for texts:
    the picture of its main part, of the part at a position of its parts list or of the
    part assigned to the function, fitted into the placeholder keeping its aspect ratio,
    centred and upright. One symbol so shows the picture of any part on overview, network
    or bus pages; a part without a picture shows a fallback image of the symbol, or
    nothing. Drawn on the page and in PDF and SVG exports (DXF: its frame); a changed
    picture of the part shows up at once.
  • Cross references of interruption points with the device they land on (#364):
    Connections › Cross references… sets the text of the cross reference of
    interruption points as a pattern with placeholders: {ref} (the reference as before,
    the default), {page}, {column}, {label}, {device} and {device.short} (the
    device the conductor reaches first from the counterpart: a terminal, plug pin or
    device connection point) and {pin} (its connection point, 1:a, 3@2), so that
    {device.short}:{pin} {ref} shows -XD1:1:a /3.2. A placeholder without value drops
    its separator; a point can have its own text in its property Cross reference text.
    Command set_cross_references --interruption_text.
  • Letter codes of the project's own (#358): Structure management › Letter codes ›
    Codes of the classes
    lists every letter-code class with the letters of its symbols
    and its code, and the codes can be changed there (-QA1 for a contactor, -SJ1 for a
    push button): the scheme becomes the project's own, starting with the codes of the one
    chosen before, and a project template passes it on to the projects created from it.
    Commands list_letter_codes and set_letter_code; renumber_devices --letter_codes
    first gives the devices whose letters do not fit the code of their class.
  • Macros from the command line and MCP (#360): save_macro saves items of a page
    or a whole page as a macro, or a further variant of one, in a macro library file with
    the project data it uses, as the editor does; list_macros and delete_macro show
    and remove the macros and variants of the file; insert_library_macro inserts one of
    its macros in a variant. insert_macro takes a library too, with the macro's name and
    variant; both place a window macro as a macro box, as the editor does, and insert a
    page macro as a new page. make_macro returns a macro as JSON.
  • Macros keep their strip, plug and PLC data (#361): a copied selection or window
    macro carries the order, jumpers and levels of its terminals, the pin order of its
    plugs and the PLC cards of its points with their stations. Inserted terminals and
    pins take the next free numbers in that order, with the jumpers under new numbers and
    the spare terminals on a new strip; a jumper to a terminal outside the macro is left
    out. A plug the project has already gets a new tag, like a device, instead of growing
    past the pins of its part; PLC points on a card the project has take its next free
    addresses, and a card the project lacks is added with its station.
  • Report pages of plugins in exports (#366): the rows of a plugin's report may say
    which page they lead to (targets of the answer to report), so a table of contents
    built by a plugin is clickable in the PDF like the built-in one. A frozen table keeps
    where its rows lead (links, page ids). The PDF of a project archive now has the
    report pages of the loaded plugins too; a report page whose plugin is not loaded and
    that has no frozen table says so instead of staying empty. Every request to an
    external plugin names the language the texts are generated in (lang).
  • Meter cabinet wizard and the rules of the grid operators (#265): File › New ›
    Meter cabinet wizard…
    plans a meter cabinet and its distribution from a few answers
    (site and grid operator, building, units, general supply, heat pump, charging points,
    PV) and creates the project: single-line diagram, main supply with the meters,
    circuit pages, the cabinets with their panels and devices, bill of materials. It works
    out the meter places, selective main circuit breakers, main switches, circuits and
    module spaces without a manufacturer, then takes the parts of the manufacturer chosen
    for each role (cabinet system, selective main circuit breakers, protective devices,
    surge arrester), generic ones where it has none. Grid operator profiles (national
    rules of Germany after VDE-AR-N 4100 and the TAB 2026 with the additions of seven grid
    operators, national entries for Austria, Switzerland, the Netherlands, France and
    Spain, the areas of 93 German, 14 Austrian and 17 Swiss grid operators by postcode,
    town or region) are
    JSON data with their documents and the day they were checked; a postcode or a town
    suggests the operator, else the one serving most of the postcode's region, and an
    operator missing from the list is entered by name (a profile of the project's own with
    the national rules). The wizard reminds that the user answers for the correctness of
    the rules and the part data. The new check Grid operator rules compares any project's
    meter cabinets with them. Meter cabinets, panels and device roles are read typed from
    the part data; generic meter cabinets after DIN VDE 0603-1 and the selective main
    circuit breakers of Hager, Siemens and ABB join the catalogs, as do Hager's univers Z meter
    cabinets with their meter, distribution, APZ and media panels. Meter panels carry a
    mounting rail in the connection room after the meter, where the main switches go. Commands:
    grid_settings, grid_operators, grid_requirements, import_grid_profiles,
    export_grid_profiles, module_fill, parts_company_forms --library grid_operators, plan_meter_cabinet,
    generate_meter_cabinet, new_project --wizard
    (panel layout).
  • AI assistant (#337): Plugins › AI assistant (Ctrl+Alt+I) opens a chat beside
    the page with the AI service of your choice and your own key: Anthropic (Claude),
    OpenAI, Google Gemini, Mistral, OpenRouter, Ollama and LM Studio on this computer, or
    any service with the OpenAI interface. In Ask mode it reads the project and answers,
    in Agent mode it changes it with the commands of the plugins, the project check,
    reports and exports; every change waits for your approval (once, for the chat or
    always), every request is one undo step and Restore goes back to before it. The
    page shown, the selection and the messages of the check go along when you choose,
    # names a page or device, / starts a prompt, chats are kept per project, and a
    message of the check or the selection can be handed to it from their menus. Keys are
    kept in the credential store of Windows, elsewhere for the session only. Agents on
    this computer (Claude Code, VS Code, Cursor, Claude Desktop with
    openecraft-cli mcp --attach) can use the project open in the editor through its
    MCP endpoint. Plugins add prompts, tasks for AI assistants (Registry::prompt,
    prompt of the external protocol), offered as MCP prompts and by list_prompts /
    get_prompt; the built-in ones review the project, fix its errors, explain a page,
    draw a circuit and suggest parts
    (user interface,
    command line).
  • The editor starts on File › Start (#260): the start page became the first page of
    the File tab and the title screen of the editor. Every start shows it without opening
    the last project (unsaved work of the last session stays open behind it; Settings ›
    On startup › Reopen last project
    brings the old behaviour back), and so does File ›
    Close project
    . The projects opened last are listed beside the demo and the example
    projects. While no project is open, the tools that need none (parts management, data
    portal, project management, project server, Vault, plugins, help) open as windows over
    it, also when they are docked in the workspace; before, they did not show. What needs
    a project is greyed out until one is open: besides the ribbon also the commands of the
    plugins (Plugins tab, Find a command), the project pages of Settings and the
    project parts of Parts management.
  • Cross references name the page within its section: Cross references › Page of
    the target
    can name a target page in the section of the page the reference is on by
    its number within the section (/19.4 instead of /1.4.19.4 on page 1.4.14);
    targets in other sections keep the full name, as do
    short names that are also the full name of another page and lists of locations
    (reports, PLC overview, terminal strips, position properties). Default for new
    projects
    sets it for projects created with New project (user setting). Command:
    set_cross_references --page local
    (schematic).
  • Interruption points in a chain: the new mode Chain of Interruption points
    refer to
    links a potential such as +24V from page to page: an outgoing point
    (arrow right or down) refers to the incoming points of the next page with the name,
    an incoming point to the outgoing points of the previous page, instead of every
    other page in a long list. Command: set_cross_references --interruptions chain.
  • Mounting planes in the cabinet (#297): beside its mounting plate, its door and its
    walls a cabinet takes plates on stand-offs, partitions and swing frames
    (Layout space › View › Mounting planes, add_mounting_plane). Both sides of such a
    plane carry devices, mounting rails, cable ducts and cutouts in views of their own;
    the sheet is in the 3D view, the 3D exports, the drilling pattern and the NC data, the
    stand-offs in the bill of materials (M6 stand-offs of 10 to 200 mm are in the
    catalog). Wires and cables to a device on a plane are routed in 3D round its sheet or
    through a cutout in it and through the cable ducts of the plane, so their lengths are
    those of the real way; a wire from the door runs along the door and over its hinge,
    then through the space to the plane. Cable ducts on the walls of a cabinet are ways
    of the 3D routing too. A swing frame is checked for the room it needs to swing out,
    what leaves it is led past its hinge with a loop, and Layout space › Show › Swing
    frames out
    swings it out in the 3D view with what is mounted on it. The tools
    Layout space › Draw › Plate on stand-offs, Partition and Swing frame place a
    plane with a click on a face of the cabinet in the 3D view; the plane selected there
    is moved, set to its distance and resized by its grips. 19-inch parts
    are mounted from the rear of a rack on its rear rails (mount_in_rack with side
    rear, or Insert › 19-inch part with the rear wall shown). The new example
    Cabinet with a plate on stand-offs shows it. A project that uses mounting planes is
    written in the newest file format; older versions cannot open it, and from this
    version on a file of a newer format that cannot be read says so
    (panel layout).
  • Wiring follows the mounting plate where it is: in an enclosure whose mounting
    plate is not at the usual place (a maker's enclosure with its own mounting origin, an
    open assembly), the wires along the plate, the ways of the door wires, routing paths
    and reservations drawn over the plate and the heights above the floor were measured
    from the usual place of a plate. They now take the plate where it is.
  • Letters in PDF bookmarks: the bookmarks of a PDF export, its document title and
    the names of embedded files keep letters outside Western European scripts (ł, ő,
    ч, Ω, CJK) and dashes, which readers showed as ? or other letters; the text
    on the pages was right already.
  • Document kind of a page (&, IEC 61355): a page can carry a document kind as
    the fourth part of its designation (=F1+MC&EFS/3). Its codes are project data in
    the structure management, in the order of the pages: DCC of IEC 61355-1 (a template
    with examples), ICC of IEC/ISO 81355-1 or a customer list. It names the page in cross
    references, PDF bookmarks, page selections (&EFS), title blocks
    ({page.document}, {page.document.description}, {page.designation}) and the
    table of contents; devices do not inherit it. The new Page tree chooses the levels
    of the pages grouped by structure (e.g. = → + → &) in the navigator, on the web
    page of the project server, in the PDF bookmarks and the table of contents; page
    numbers can count per designation (&EFS/1 and &EMA/1), and Sort pages by
    designation
    orders the pages. Projects without a document kind keep file format 2;
    older versions open the others and warn that saving loses it. Commands:
    set_page --document, add_page --document, define_structure with aspect
    document, set_page_tree, sort_pages
    (schematic).
  • Letter codes of the device tags (IEC 81346-2): Structure management › Letter
    codes
    chooses how the letters of the tags are written: IEC 81346-2:2009 with one
    letter (-Q1 contactor) or two (-QA1), IEC 81346-2:2019 (-SJ1 push button) or the
    older DIN 40719-2 (-H1 signal lamp). New devices and cables get the code of their
    class, the check Letter codes of the device tags reports tags that do not fit, and
    Rename devices renames them with all their functions. A device has its class from
    its property Letter-code class, else from its symbol (user symbols get a class in
    the symbol editor), else from the product group of its part, so black boxes and
    devices of the panel layout are checked too. Plugins add schemes of their own, also
    with classes of their own (Registry::letter_scheme, letter_schemes of external
    plugins). Commands letter_schemes, list_letter_classes. The symbols give the letters of the edition of 2009 instead of the
    older ones (diode -R, solenoid -M, valve coil -QM, brake and thyristor -Q,
    inductor -R, optocoupler and transistor -K); the contactor of the pump station
    example is -Q2
    (schematic).
  • More aspects, levels and types: pages, structure boxes and tags carry a
    functional assignment (==) and another aspect (#) too. Identifiers with levels
    (=A1.P2) are a tree in the structure management and in the device navigator, and
    renaming a level renames the levels below. The device navigator groups the devices
    by their type (%, the type aspect of IEC 81346-1:2022; list_type_designations):
    the type set in the device's property Type designation (%), else the type number
    of its part. A device can carry further reference designations, one in each other
    structure it belongs to (Further reference designations, =B2-K5): the device
    navigator shows it there too, and the device list shows them and the own types.
    Projects that use the new aspects or letter codes are written in file format 3. New
    structure templates for a manufacturing line, a power supply system and a building.
    The website explains reference designations and the letters of the edition of 2019.
  • Auto-connect wires every pole (#338): placing or moving a multi-pole symbol
    such as a 3- or 4-pole main contact under another one drew a wire for the middle pole
    only, because the outer poles of the wide symbol were taken to face sideways. The
    connection points on the top and bottom edge of a symbol now face up and down
    however wide it is, so every pole is connected.
  • The editor keeps the values it shows (#365): a number field with limits put a
    value outside them back into the limits as soon as it was shown. Selecting an element
    of a title block moved it into the 400 × 32 mm area, so a cover page built as a title
    block reaching above its area lost its pictures (an image got a height of 0); opening
    an imported plot frame with a wider margin or more columns than the fields offer
    changed the frame. Positions in forms are no longer limited to the area, and no field
    of the editor, the panel layout or the part editor changes a value until it is edited;
    the limits apply to what is typed or dragged.
  • Large pictures no longer end the program: a logo, a page image or a part picture
    larger than the graphics card takes as a texture (8192 or even 4096 pixels on old
    drivers) ended the editor, also on every start while the last project was reopened.
    Such pictures are now shrunk for the screen; prints and exports keep the file.
  • A wire from a connection point is not joined to a wire running across it (#317):
    where terminals are staggered by one grid step, the wire from the side of one terminal
    runs across a connection point of the next. A wire drawn from that point used to
    branch off the passing wire, so both potentials became one and a connection dot
    appeared. A wire ending on the connection point of a device now belongs to that point
    only; a wire that runs across it is connected there only by a connection symbol. A
    wire end on a wire elsewhere still makes a T-connection.
  • Every cable definition line gets its own cable (#373): after a line was drawn,
    the cable definition tool kept its cable, so the next lines across other wires were
    tagged with the same -W number, found no free core and renaming one of them renamed
    them all. The next line now continues the cable only while it has free cores (a cable
    chosen with Draw another line for this cable that is not full yet); otherwise it
    makes a new cable with the next free tag.
  • A wire number for every wire: for pre-cut wires the wire numbering can give
    every wire between two device connection points its own number instead of one
    number per connection (One number per wire in the wire numbering,
    set_wire_numbering --per wire): a connection looped from A over B to C gets two
    numbers. The schematic, the connection list, the wire list, the checks, connection
    definition points and the number in a wire's properties follow the setting
    (connections).
  • Page names several pages share: pages of different structures may have the same
    name (=A1/1, =A2/1). A command, an export (--page, --pages), a property object
    (page:1) or a subproject that is given such a name refuses it and lists the full
    names, instead of taking the first of the pages; a full name several pages have (merged
    projects) is refused too. The full name of a page names it as before, and commands such
    as set_page now take full names too. An import of change requests (CSV or JSON) that
    gives such a name in Pages is refused before it changes anything.
  • Title bar of the system: Settings › Appearance › Use the title bar of the system
    gives the main window on Windows and Linux the title bar of the system back. Some
    graphics drivers draw a window without it shifted, with a black edge at the top and
    left and clicks that land below the mouse pointer
    (#339). Started with
    --system-title-bar, the editor opens with the title bar of the system and turns the
    setting on, for a window whose clicks miss. With an Intel graphics driver up to build
    20.19 (HD Graphics 4400, 4600 and the other chips of 2013 to 2015) the main window keeps
    the title bar of the system without asking, as these drivers are known to draw it
    shifted otherwise.
  • Updates when you want them: Settings › Updates chooses between Install updates
    automatically
    (as before), Tell me of new releases, install them when I say so (the
    status bar offers Install update) and Do not look for updates (only File › Help ›
    Check for updates
    looks). Skip this version passes a release over until a newer one
    is out, Not this time keeps a downloaded Windows setup from running when the editor
    is closed (docs).
  • Bug reports name the system and the graphics: the technical details give the
    version of the operating system (the build of Windows), the graphics card with the
    version of its driver and OpenGL, and which title bar the main window has.
  • Open a server project from a link: the web editor at …/#server=<address>&open=<project>
    opens that project on that project server as a shared project, also with #wiring
    for a tablet in the workshop (#wiring&server=/projects&open=1E62). The address is a
    path of the editor's own site, never another server. If the project does not open,
    the dialog offers to try again, and asks for a user name when the browser has none yet.
  • Copyright notice of the symbol drawings: the picture data of the page of a
    symbol names the copyright of its drawing (copyrightNotice, the line of
    LICENSE-MIT) beside its license; Google Search Console reported the field as
    missing (website).
  • Distribution board overview, terminal diagram with the wiring: the report Distribution
    board overview
    (board_overview) lists board by board (the cabinet a device is
    placed in, else the location of its tag) every protective device of the mains, every
    residual current and surge protective device and the main switches and switches on
    the mains as a tree – every device below the one it is fed from, so that it shows what
    a residual current device cuts off – with kind (circuit breaker, fuse, RCBO, arc fault
    detection device by the tech data Arc fault detection: yes of its part, …),
    type (B 16 A, 40 A RCD 30 mA), phases, the residual current device protecting it,
    function text, Spare or what it feeds, the rooms of its circuit, its outgoing
    cables and where it is drawn; what it lists the part decides (its tech data
    Distribution board overview: Show | Hide, else its functions), the new device
    property Distribution board overview (tab Device) overrides it. The terminal diagram also names the devices wired directly to each
    terminal with cable and core (by default only those; a page can name all devices of
    the potential), its conductor – the outer conductor of the circuit breaker's pole a
    terminal is wired from, every N of a residual current device by its own potential –
    and the kind of its jumper, the devices as links to their page in the blue of cross
    references; a page can hide the numbers of the jumpers (set_report_page jumper_numbers) and draw the conductors in the colours of IEC 60445
    (black as printed without, the conductor written at every terminal), the jumpers lie
    on the terminals, every kind by its shape, with a legend. The new jumper kind Busbar
    bridge
    (busbar) is the N or PE busbar terminals sit on (PE terminals allowed, no
    jumper part); an interrupted N busbar is one busbar per section, a busbar passing a
    terminal not on it is reported, and the bill of materials counts busbars by their
    length (tech data Busbar of the terminal part, new part GEN.TB-BUSBAR-10X3).
    Renumber jumpers 1 … n (renumber_jumpers) numbers the jumpers of a strip in its order. The strip option PE over the mounting rail (set_strip pe_rail)
    connects the PE terminals of such strips of a board (the cabinet they are placed in, else
    their tags without the last product aspect); the check Wires at terminal
    clamps
    gives a hint where more wires end at one clamp of a terminal than it takes;
    the new symbol Terminal with four connection points (term_4) takes two wires a side.
    The import of Elektroplanung makes its fuse overview sheets pages of the distribution
    board overview, which replaces the report Fuse overview of the import (pages of it
    in saved projects open as the overview) (#277).
  • Translations of terminal texts: "Strip" is the terminal strip, not the stripping of
    a wire, "Level" of a terminal no fill level (the measured variable of process
    engineering has a text of its own) and the saddle jumper no plug-in jumper in German,
    French, Spanish and further languages.
  • Report pages show what is wanted: the page properties of a report page choose the
    groups shown (boards, strips … ticked one by one or as a pattern), the columns (a
    tick each; with the graphical form, chosen first, those the graphic can leave out), the
    aspects of the device tags, the tree of a report that has one and the graphical form
    or the table (set_report_page), each page its own; a tree is drawn with lines from
    branch to branch, texts too long for their column are wrapped (long words between
    their syllables with a hyphen, by the rules of the language). The rows of the
    distribution board overview link to their device by its cell only, in the blue of
    cross references. The page properties open as a tab beside the properties at the
    right and show the page chosen.
    Continue on following pages (continue_report_page) adds pages for the rows that do
    not fit and removes them when the rows shrink, optionally every group on pages of its
    own; a page after the first is named after it (S3, S3.1, S3.2 …). Report blocks can follow the project the same way (Follows the project): they
    are generated again after every change that changes their pages, in the undo step of
    that change, and their pages stay where the user moved them.
  • The start page after discarded changes: with Settings › On startup › Show the start
    page
    the editor no longer opens the project of the last session behind File › Start
    when its changes were discarded on closing. Unsaved work the editor kept (the window
    was not closed through the dialog) still stays behind it.

Downloads

Check a download with sha256sum -c SHA256SUMS --ignore-missing.
Its origin (build provenance of this workflow) with gh attestation verify <file> --repo nilres/OpenECraft.
The licenses of the libraries and fonts the programs contain are in THIRD-PARTY-LICENSES.html.

Docker images

The parts server, the project server and the web editor as containers (docs/installation.md):

docker pull ghcr.io/nilres/openecraft-parts-server:0.1.5
docker pull ghcr.io/nilres/openecraft-project-server:0.1.5
docker pull ghcr.io/nilres/openecraft-web:0.1.5

The Windows setup is not code signed: SmartScreen asks for confirmation on first start (More info › Run anyway).

The macOS apps are not notarized: Gatekeeper asks for confirmation on first start (System Settings › Privacy & Security › Open Anyway).