Menu

#41 Wirings plugin

open
nobody
1
2025-07-19
2022-01-06
Daniele
No

This plugin brings to SH3D the capability to draw 3D polylines that will snap to floors, walls and ceilings, directly in the 3D view. This could be useful to draw electrical installations, plumbing, and simple decorations.
In order to use this plugin you have to install Pan3dView plugin version 1.7 or later.

The plugin comes with an integrated user guide available in english and italian under the Help > Draw wirings help menu, please take a moment to read it to learn how to use the plugin.

Features

  • straight polylines in 3D space (no curved lines);
  • customizable color;
  • customizable style (solid, dot, dash, etc...);
  • lines can be edited in any way: adding point at the end, at the begin, or in the middle, remove any point, move any point, split at any point;
  • intelligent snap cursor: snaps to other wirings at any point and even within segments; snap to wall corners too;
  • automatic bend when moving between floor/wall/ceiling;
  • automatic curve on curved walls.

Here some screenshots:
Corridor
Boiler
Kitchen
Ceiling

1 Attachments

Discussion

  • Daniele

    Daniele - 2022-01-10

    Version 1.1

    Changes:

    • Added the ability to display the total length for each tipe of wiring (1)
    • Added the ability to show/hide all wirings of a give type in the 3D view (1)
    • Added the ability to show/hide individual wirings in the 3D view
    • Added the angular snap feature
    • Added measurement labels when moving points (2)
    • Improved wiring selection

    (1) From the menu Tools > Wirings toolbox:
    Wirings toolbox

    (2) Measurement labels:
    Measurement labels

     
  • Daniele

    Daniele - 2022-01-24

    Version 1.2

    • Fixed the code to assign the wiring to the proper level when loading the home
    • Changed the remove point modifier keys from SHIFT to CTRL+SHIFT
     
  • Daniele

    Daniele - 2022-02-12

    Version 3.0

    In order to use this plugin you have to install Pan3dView plugin version 3.0 or later.

    Summary of changes:

    • Drawing allowed on ceiling even if no room is defined
    • Added Chinese translation, courtesy of YGYL
     

    Last edit: Daniele 2022-02-12
  • Daniele

    Daniele - 2022-04-05

    Version 4.0 alpha
    Warning: this is an alpha version, it is unstable and may cause crashing or data loss. Test it at your own risk.

    This version brings the capability to link 2 or more objects automatically. Just select the objects and click on Link selected furniture from the Tools menu, or use the button on the toolbar.
    If you move a linked object the links will follow the object in real time. If 2 or more wirings are attached to the same object, a different offset is applied to each wiring to avoid overlapping.

    You can see the plugin in action here: video on YouTube

    Screenshot:

     
  • Andrey Mitrofanov

    Dear Daniele! Thank you a lot for best solution of wiring for SweetHome. Unfortunately I can't generate specification (Toolbox table of wiring). Might be I do something wrong.

     

    Last edit: Andrey Mitrofanov 2022-08-03
    • Daniele

      Daniele - 2022-08-04

      Version 4.1.1

      • Fixed thickness bug
      • Fixed the bug happening when editing with Advanced editing plugin
      • Fixed the toolbox window not opening. Thanks to Andrey for reporting the bug.
       

      Last edit: Daniele 2022-08-04
  • Gabriele Giammatteo

    Great plugin Daniele, it is exactly what I was looking for!! I noticed that if a polyline has arrows at the start or the end they are not rendered in the 3d view. Am I doing something wrong or it is not supported currently?

    Another thing I'd like to use is the possibility to annotate the polylines with some text visible also in the 3dview, but I understand that it could not be trivial to achieve. Currently adding some text manually is not a satisfying solution for me because a) we have to position it manually close to the polyline and b) if I move the polyline the text does not move with it

    Thank you!

     
  • Daniele

    Daniele - 2022-09-02

    Hi Gabriele, thank you. The arrows aren't supported yet in the 3D view, but adding them should be quite easy. Adding labels would require some work. I will add both to the roadmap.

     
  • Dec

    Dec - 2022-09-05

    Great Plugin. Looks like a lot of work.

     
    • Daniele

      Daniele - 2022-09-05

      Thank you!

       
  • vanya yatskanich

    как удалять плагын из програ

     

    Last edit: vanya yatskanich 2022-10-14
    • Emmanuel Puybaret

      Please write in English

       
  • vanya yatskanich

    how to delete plugins from the program

     
    • Daniele

      Daniele - 2022-10-15

      Please use the SweetHome3D forum for general questions. If you have trouble with Wirings plugin, I would be happy to support you if you give a description of the problem.
      Anyway, you'll find the steps to remove a plugin just under the plugins table on the official plugins page. I may also recommend the Plugin manager plugin, which helps you manage all plugins.

       
  • Daniele

    Daniele - 2023-04-13

    Version 4.2

    • Fixed a bug that happens if you delete a linked furniture
    • Fixed Dutch translation
     
  • Daniele

    Daniele - 2023-07-17

    Version 4.3

    • Fixed length calculation
     
  • Daniele

    Daniele - 2023-08-29

    Version 4.4 beta

    Compatible with SweetHome3D 7.2 and Pan 3D View 4.0 beta.
    Requires Pan 3D View 4.0 beta or later.

     

    Last edit: Daniele 2023-08-29
    • Daniele

      Daniele - 2023-09-03

      Version 4.4 beta 2

      Allows wiring selection from the 3D view (Wiring tool must be disabled)
      Once selected, the wiring can be edited using CTRL+E.

       
  • Ant Hee

    Ant Hee - 2025-07-19

    Hi,
    I want to use the wiring tool with SH3D 7.5, but i can´t installate it.
    I tried it also with 7.2, but it doesn´t work on my desk.
    Pan3 D is installed.
    Do I need other plugins?

    Thanks a lot for your help.

     

Log in to post a comment.

MongoDB Logo MongoDB