Software tool for diagrams.

  • loudhvx
  • loudhvx's Avatar Topic Author
  • Offline
  • KZr Legend
  • Posts: 10864
  • Thanks: 1618

Software tool for diagrams.

12 Aug 2012 14:05 - 12 Aug 2012 14:10
#542104
Wrote a VBscript that converts this:



into this:



It automatically cleans up the background artifacts from a wiring diagram scan.

The image must be a 24bit bitmap file (.bmp). You can use MSpaint to convert it as necessary from jpg or gif. 24bit bitmaps are lossless files so they preserve every detail, and are much easier to work with on a pixel basis.

You just save the bitmap and the script file into the same folder and double click the script.

Download this and save it to a new folder.

The upside of using a script is that it can be read in notepad so you can see every bit of the code and can be sure there is no malware. It also does not have to be "installed" or registered etc, making its use simple. The script is also self contained as one text file.

The downside is that it is slowwww. So if you have a slow computer, I don't recommend it for huge files. (Most wiring diagram scans are huge.) On my fast computer, a large file takes a few minutes. On my slow computer it takes about 15 minutes. (The above example file took a few seconds.)

So far, I've only tested it on Windows XP.

I may write a compiled version which would be much faster if I have time.

(Incidently, if both of the above images look the same on your monitor, then you may have a problem with the video card on your computer. This is not uncommon. I have a fix for that too:
home.comcast.net/~loudgpz/GPZweb/Mnls/An...ogVgaAttenuator.html
Last edit: 12 Aug 2012 14:10 by loudhvx.

Please Log in or Create an account to join the conversation.

  • Mcdroid
  • Mcdroid's Avatar
  • Offline
  • User
  • Gone Kwackers
  • Posts: 6691
  • Thanks: 354

Re: Software tool for diagrams.

12 Aug 2012 14:08
#542105
Very nice...thanks for taking the time to do this...
Michael
Victoria, Texas

1982 GPz750
1977 KZ1000A
1978 KZ1000A
1982 GPz1100
1975 Z2A

Please Log in or Create an account to join the conversation.

  • 4TheKZ1000
  • 4TheKZ1000's Avatar
  • User
  • Thanks: 0

Re: Software tool for diagrams.

12 Aug 2012 17:07 - 12 Aug 2012 17:07
#542130
even a blind dude like me can read it...very nice +1
Last edit: 12 Aug 2012 17:07 by 4TheKZ1000.

Please Log in or Create an account to join the conversation.

  • Boostable
  • Boostable's Avatar
  • Offline
  • User
  • Posts: 535
  • Thanks: 13

Re: Software tool for diagrams.

12 Aug 2012 18:27
#542136
That is pretty slick!!! Very nice..
~Jack

1982 KZ1000 J2 ~ Project (Street Fighter - Project Section)
1976 KZ900 - Daily Rider

Please Log in or Create an account to join the conversation.

  • bluej58
  • bluej58's Avatar
  • Offline
  • Sustaining Member
  • The chrome don't get you home
  • Posts: 2481
  • Thanks: 511

Re: Software tool for diagrams.

12 Aug 2012 18:58
#542141
My computers broke :pinch: I can't see any difference.

Thanks for the fix , I'll have to show it to my kid :S
78 KZ1000 A2A

Please Log in or Create an account to join the conversation.

  • testarossa
  • testarossa's Avatar
  • Offline
  • User
  • Attack life, it's only trying to kill you.
  • Posts: 3678
  • Thanks: 82

Re: Software tool for diagrams.

13 Aug 2012 00:48
#542217
As a slightly related aside I got an email the other day that Solidworks is introducing an electrical module soon. I have no clue how it will work but I do like Solidworks for creating 3D models of mechanical parts. Might be worth a look.
1978 KZ1000 A2 Click--->Build Thread
2004 ZX-10R
2007 Harley Sportster 1200
2020 Harley Street Glide Special
Angola, IN

Please Log in or Create an account to join the conversation.

  • mtbspeedfreak
  • mtbspeedfreak's Avatar
  • Offline
  • User
  • Posts: 1413
  • Thanks: 36

Re: Software tool for diagrams.

17 Aug 2012 16:06 - 17 Aug 2012 16:06
#543119
Google SketchUp is also useful for creating 2D/3D diagrams.

sketchup.google.com/download/
2000 ZRX 1100
1976 KZ 900- Daily Driver
1980 LTD 550- Dalton Highway survivor!

If it has tits or tires, it'll give you problems!
Last edit: 17 Aug 2012 16:06 by mtbspeedfreak.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum