Visio Guy

Visio Guy Website & General Stuff => User-submitted Stuff => Topic started by: Thomas Winkel on February 17, 2024, 10:48:45 AM

Title: Flexible DIN Rail Shape
Post by: Thomas Winkel on February 17, 2024, 10:48:45 AM
My most complicated shape ever is a DIN Rail :o
Hiding geometries based on the width was easy.
But setting up the formulas to draw the last long hole when it's cut took hours of my life.
It wasn't worth the effort, but I wanted to demonstrate that it could be done.
* Scaling 1:10 (we do not use drawing scale)
* Max length: 200mm (-> 2m)
* User fields are only helper formulas for formulas in Geometry 1. They do not affect the other holes
* Only the last hole can be cut, not the first one (could be done with a control).
Title: Re: Flexible DIN Rail Shape
Post by: Yacine on February 17, 2024, 06:07:29 PM
Noice indeed. Bienchen!
You moved the critical hole to the end. Smart smart.
Title: Re: Flexible DIN Rail Shape
Post by: hidden layer on February 22, 2024, 10:30:47 AM
aargh - this is so fantastic - I would have taken this for the terminals I made recently but they're 1:1.
Damn!

but in the end - no one see the DIN-rail after devices are shapped in  :) :(

thank you!

hl


Title: Re: Flexible DIN Rail Shape
Post by: Yacine on February 22, 2024, 11:07:51 AM
"Reihenklemmen"?
Germany is ranking #3 after the US and Russia in the forum.
Title: Re: Flexible DIN Rail Shape
Post by: Thomas Winkel on February 22, 2024, 12:43:46 PM
Thanks for your comments :)

Quote
...but they're 1:1
Feel free to adapt it to your needs.
Years ago we discussed internal what scaling to choose in our project.
1:1 requires to set the drawing scale appropriate for each page.
Finally we decided to scale our mechanic shapes and let the pages 1:1.
Main reasons were:
* Easier for the user
* Possibility to mix different scalings on the same page (e.g. schematics and mechanics)

Quote
but in the end - no one see the DIN-rail after devices are shapped in  :) :(
So true, for that reason it wasn't worth the effort... :-\

Attached another experiment using custom dash type.

Greetings from Paderborn
Title: Re: Flexible DIN Rail Shape
Post by: zhuravsky on March 06, 2024, 09:55:23 AM
One more variant
Title: Re: Flexible DIN Rail Shape
Post by: Thomas Winkel on March 06, 2024, 10:15:21 AM
Ah, using fill pattern, nice.
Behaves better than the dash type variant.
And much easier / faster to implement as formulas in the geometry section.
Thanks for sharing.
Title: Re: Flexible DIN Rail Shape
Post by: zhuravsky on March 06, 2024, 01:12:43 PM
If somebody needs I had somewhere also some shapes for Rittal, made with custom fill patterns. Let me know...
Title: Re: Flexible DIN Rail Shape
Post by: Mouthpear on March 12, 2024, 06:25:09 AM
Quote from: Thomas Winkel on February 22, 2024, 12:43:46 PM

Attached another experiment using custom dash type.

Greetings from Paderborn

Are the DIN Rail components, like the terminal blocks and fuse holders, part of a library that is downloadable or are they your own personal created shapes?

If they are a library, where can the be found/downloaded?
If they are your own personal creations, will you be willing to share?

Thanx.
Title: Re: Flexible DIN Rail Shape
Post by: hidden layer on March 12, 2024, 09:18:37 AM
Hi,
I made them (#2) for my personal purpose.
maybe I made the "mistake" to locate the connection point to the position where the terminals are latching on the top of the DIN-rail...the middle would be easier to maintain for the rails presented here.
Feel free to download, modify and improve them. After that we'd like if you share them with us ;)
I guess Thomas' shapes are made to support a company-workflow with ability to create lists etc. not sure if he'd share it...but in this forum there are some very interesting discussions about how to create wire (or terminal) lists. I hadn't the time or necessity to adapt one because for this I have E-PLAN.

cheers!
Title: Re: Flexible DIN Rail Shape
Post by: Mouthpear on March 12, 2024, 10:50:35 AM
Quote from: hidden layer on March 12, 2024, 09:18:37 AM
Hi,
I made them (#2) for my personal purpose.
maybe I made the "mistake" to locate the connection point to the position where the terminals are latching on the top of the DIN-rail...the middle would be easier to maintain for the rails presented here.
Feel free to download, modify and improve them. After that we'd like if you share them with us ;)
I guess Thomas' shapes are made to support a company-workflow with ability to create lists etc. not sure if he'd share it...but in this forum there are some very interesting discussions about how to create wire (or terminal) lists. I hadn't the time or necessity to adapt one because for this I have E-PLAN.

cheers!

Thank you. Speaking to Thomas Winkel. I make my own connection/terminal blocks (IMAGE #2) but the ones he is using just blow mine away. IMAGE #1

However I am actually very glad that you responded. I wanted to thank you for putting out the idea to use it as a fill pattern. It works great. IMAGE #2 Before that I was using a single shape (single 25mm section with one slot) with connection points. Then dropping how ever many more needed, then linking them all together, then grouping them all. TOO MUCH TIME AND EFFORT. Using the fill pattern does away with all that. TY

Still I did not like the lines that show up at every tile of the pattern. IMAGE #6     I wish MS would fix that. The workaround is to make the page of the fill pattern the same as the pattern itself. IMAGE #3, Then extend the pattern just past the width. IMAGES #4,5.  Hides the lines. IMAGE #7






Title: Re: Flexible DIN Rail Shape
Post by: Mouthpear on March 12, 2024, 10:52:29 AM
Sorry for all the replies. Don't know how to show all the pix at once.

Title: Re: Flexible DIN Rail Shape
Post by: Mouthpear on March 12, 2024, 10:53:36 AM
Quote from: Mouthpear on March 12, 2024, 10:52:29 AM
Sorry for all the replies. Don't know how to show all the pix at once.


Images 4 & 5 shows, the pattern template, just below and out of alignment with the page. This is to show that the pattern template extends past the page and that is the key to having a tiny bit of overlap to cover the pesky line.
Title: Re: Flexible DIN Rail Shape
Post by: Mouthpear on March 12, 2024, 10:55:34 AM
Quote from: Mouthpear on March 12, 2024, 10:52:29 AM
Sorry for all the replies. Don't know how to show all the pix at once.

Title: Re: Flexible DIN Rail Shape
Post by: Thomas Winkel on March 13, 2024, 12:04:56 PM
Quote
Are the DIN Rail components, like the terminal blocks and fuse holders, part of a library that is downloadable or are they your own personal created shapes?
These shapes are part of our Visio based ECAD tool.
I cannot publish them now.
Maybe I will publish some demo shapes later this year together with the software.

I think your shapes are very convenient.
Are the cables hand drawn with connection points at the shapes?
We don't have any support for cables in mechanic view, only in schematic view. But I like the idea.
Title: Re: Flexible DIN Rail Shape
Post by: Thomas Winkel on March 13, 2024, 12:21:49 PM
Quote from: zhuravsky on March 06, 2024, 01:12:43 PM
If somebody needs I had somewhere also some shapes for Rittal, made with custom fill patterns. Let me know...
How about an open source shape database as community project here at Visguy?
With preview, search, filter and stencil generator?
Title: Re: Flexible DIN Rail Shape
Post by: Yacine on March 13, 2024, 04:50:44 PM
Thomas,
there have been plenty attempts to do so.
All the community based stuff fell asleep.
Only the individual projects are reliable.
Surrogate's shapesheet site
Nikolay's commercial and free tools

versus the open project
last I recall are our projects on GitHub.
You're welcome to contribute.
Title: Re: Flexible DIN Rail Shape
Post by: Thomas Winkel on March 14, 2024, 07:38:59 AM
Quote
last I recall are our projects on GitHub.
You're welcome to contribute.
Which projects? Do you have ha link?
Title: Re: Flexible DIN Rail Shape
Post by: Surrogate on March 14, 2024, 07:51:48 AM
Quote from: Thomas Winkel on March 13, 2024, 12:21:49 PM
How about an open source shape database as community project here at Visguy?
We have same thread few years ago: Sharing space for Visio Shape (http://visguy.com/vgforum/index.php?topic=9734.msg43945#msg43945)
Quote from: Thomas Winkel on March 14, 2024, 07:38:59 AM
Which projects? Do you have ha link?
There you can find link for this project: Visio-Resources (https://github.com/Visio-Resources)
Title: Re: Flexible DIN Rail Shape
Post by: wapperdude on March 14, 2024, 04:10:47 PM
Didn't know a DIN rail could be bent.  Much demand for such?  😆😆😆

Never mind.
Title: Re: Flexible DIN Rail Shape
Post by: Thomas Winkel on March 16, 2024, 08:10:35 AM
Quote
There you can find link for this project: Visio-Resources (https://github.com/Visio-Resources)
Nice knowledge base, I didn't know that.
Learned that most of the little functions that I implemented to run from ShapeSheet (SendToBack, Ungroup, ...) are unnecessary as this can be done with DOCMD() :D
With "shape database" I had a modern web app in mind:
Responsive, great usability, as webpage and also seamless integrated into Visio via AddIn.
Unfortunately I have no idea about web development.

Quote
Didn't know a DIN rail could be bent.  Much demand for such?  😆😆😆
Yes, for carousels, particle accelerators, ...  ;D
Title: Re: Flexible DIN Rail Shape
Post by: IamSpartacuz on March 30, 2024, 12:34:21 PM
Sorry New to this forum and still learning Visio. How can I change the color of the din rail?
Title: Re: Flexible DIN Rail Shape
Post by: Thomas Winkel on April 01, 2024, 09:55:19 AM
My shape is protected. Proceed as follows:
* Select the shape
* Ribbon -> Developer -> Protection
* Uncheck "Format" -> OK
If you do not have the Developer Ribbon:
* File -> Options -> Advanced
* Check "Run in developer mode" -> OK

Now you can change colors and other formats as usual.