Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 101
Posts: 101   Pages: 11   [ Previous Page | 2 3 4 5 6 7 8 9 10 11 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 117865 times and has 100 replies Next Thread
upiazzolla@hotmail.com
Member
Member's Avatar

Italy
Joined: Apr 12, 2019
Post Count: 64
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

Ciao daniele
Per spiegarmi meglio qui ho postato un files con le prove con i miei oggetti .
Ciascun livello riguarda tipologie di collegamento cosi' come indicate.
Il primo livello (nascosto) contiene dei miei test sulle polilinee (alcune prodotte con Wirings altre direttamente con Sweethome) in cui ho sperimentato cosa provoca l'apposizione di nuovi punti nell'oggetto polilinea semplice. Il secondo (base) il muro (reso semitrasparente) ed i miei oggetti che lo forano parzialmente.
Salutim

Hi Daniel
To explain myself better here I posted a file with the tests with my objects.
Each level concerns types of connection as indicated.
The first level (hidden) contains my tests on polylines (some produced with Wirings others directly with Sweethome) in which I experimented with what causes the addition of new points in the simple polyline object. The second (base) the wall (made semi-transparent) and the my objects that partially pierce it.
Greetings

https://www.mediafire.com/file/g0j3dzw9at8jo5p/Polyline_with_wirings.rar/file
[Apr 17, 2025, 6:12:12 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
upiazzolla@hotmail.com
Member
Member's Avatar

Italy
Joined: Apr 12, 2019
Post Count: 64
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

Forgotten warning......
Objects that partially pierce walls should be placed with MAGNETISM DISABLED
[Apr 17, 2025, 6:57:09 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

I don't know if I have understood the problem correctly, however based on my guess I think your problem is originated by objects imported with the wrong front side.
I understand the reason you made this to simplify making holes, but the plugin logic is made to take advantage of the built-in features of SH3D which recognize the concept of backside of objects and enforce its usage through the magnetism option.

The plugin is designed to make wirings visible on the surface of walls without having to make the walls transparent, and using the backside of objects is the easiest way to determine the surface of the wall where the object is placed.

For completeness I'll report the exact logic of the automatic wiring feature.

The automatic wiring feature works with 2 main computations:
- the point on the object where the line starts/ends
- the path connecting the 2 endpoints

Endpoint point computation
- If the object elevation relative to the the level is 0, then the endpoint is on the floor centered on the object.
- If the object elevation plus the object height is equal or greater than the level height, then the endpoint is on the ceiling centered on the object.
- In all other cases the endpoint is on the center of the backside face of the object.
The computed point is then shifted horizontally along the X axis of the object (according to the object angle) by a small amount, so that multiple wirings on the same object won't overlap.

Path computation
- If endpoints are both on the floor, or both on the ceiling, then they are connected by a straight line (unless additional mid points have been added manually).
- If both endpoints are on the same wall*, or just one is on a wall (the other is either on the floor, on the ceiling), then a 3rd point is added and a bend occurrs so that the line becames "L" shaped (that is, it goes from the point on the wall straight up or down to the same elevation of the other point, and then moves horizontally straight to the other point).
- If each endpoint is on a different wall*, then a 4th point is added and 2 bends occurr so that the line becames "U" shaped (that is, it goes from the first point straight down along the wall to the floor, then moves horizontally on the floor straight below the last point, and then goes up straight along the wall up to the last point).
- If one endpoint is on the floor and the other is on the ceiling, then the connection breaks.

* points are considered to lay on the same wall when they aren't either on the floor or on the ceiling, and the backside of the furniture they belong to are aligned on the same line. There is no real check to see if they really are on a wall.
[Apr 18, 2025, 4:38:27 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

P.S. to get a blind hole, just put 2 walls side by side and put a window on one wall.
[Apr 18, 2025, 7:08:40 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
upiazzolla@hotmail.com
Member
Member's Avatar

Italy
Joined: Apr 12, 2019
Post Count: 64
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

Hi daniel
Thanks for providing me with the Wiring maxima design guidelines and the method to follow to trace the paths.
From what I understand, my objects INTENTIONALLY used to partially drill the walls cause the behavior.
The solution of building parallel walls could be good (apart from doubling the walls of an entire floor plan) could be valid if all the objects had the same depth otherwise you should provide accordingly.
Question is it possible to act having the walls on another level? Let me explain.....
On levels all with the same base
Level 1 the floor plan and the walls
Level 2 the solid objects (the plates with the sockets, the covers of the junction boxes, the fake light points on the ceiling or elsewhere) on which to trace
Level 3 my objects to partially drill

Would this allow you to trace correctly? If so, then it would be enough to choose the level to display or turn off on the walls of Level 1

Happy Easter
[Apr 19, 2025, 3:17:15 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
upiazzolla@hotmail.com
Member
Member's Avatar

Italy
Joined: Apr 12, 2019
Post Count: 64
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

Hi daniel
Sorry, incomplete speech...
If what you hypothesized were possible, then the levels would be 4..
The tracks on a separate level from the objects used to trace, because in this way, by selecting all the polylines of that level, it would be possible to bring everything inside the walls, correcting only the tracks outside the walls, then acting only on the relative objects
[Apr 19, 2025, 3:30:24 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

Yes, you can place every kind of object on a different level.
There is no need of looking for workarounds, as I've stated before, for objects that aren't either on the floor or on the ceiling, the wiring will start from their backside, so if the backside is inside the wall, the wiring will be too.
If you want that the wiring connects two objects without passing through the floor, then the backside of these objects must lay on the same line (there is 1 cm tolerance).

Examples:




----------------------------------------
[Edit 1 times, last edit by Daniels118 at Apr 20, 2025, 10:51:02 AM]
[Apr 20, 2025, 10:48:48 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
upiazzolla@hotmail.com
Member
Member's Avatar

Italy
Joined: Apr 12, 2019
Post Count: 64
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

Thanks Daniel
I was also testing using the file I had already sent....
I didn't use the double wall... I simply moved my objects that partially pierce on another level and on an intermediate level I put the solid objects AND IT WORKS.
I still have a strange problem when I lead to the false lights...the direct connection automation only works if the false light point is placed 20 cm above the height of the wall.
It could also be the use of an incorrect object, I will investigate.
Thanks again for dedicating part of a holiday to me.
Best regards
[Apr 20, 2025, 1:57:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

Perhaps your walls aren't as tall as the level?
Buona Pasqua
[Apr 20, 2025, 2:35:56 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
upiazzolla@hotmail.com
Member
Member's Avatar

Italy
Joined: Apr 12, 2019
Post Count: 64
Status: Offline
Reply to this Post  Reply with Quote 
Re: Wirings plugin

Tests continued
Even changing the object (I used a 1cm high cylinder) this must always be placed 20cm above the height of the wall......
Starting from an object placed at that height and connecting it to an object placed lower, the connection occurs from the ceiling.
Lowering the first connection object retraces everything from the base and restoring the height the connection remains fixed without restoring the previous one.
The minimum height from the base plane of an object to make the direct connection to the ceiling (always 20cm above the wall) is 0.1cm.
[Apr 20, 2025, 2:41:29 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 101   Pages: 11   [ Previous Page | 2 3 4 5 6 7 8 9 10 11 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved