Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Software tool for diagrams. 12 Aug 2012 14:05 #542104

  • loudhvx
  • loudhvx's Avatar Topic Author
  • Offline
  • KZr Legend
  • Posts: 10868
  • Thank you received: 1615
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

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

Last edit: by loudhvx.

Software tool for diagrams. 12 Aug 2012 14:08 #542105

  • Mcdroid
  • Mcdroid's Avatar
  • Offline
  • User
  • Gone Kwackers
  • Posts: 6573
  • Thank you received: 303
Very nice...thanks for taking the time to do this...
Michael
Alvin, Texas

1982 GPz750
1977 KZ1000A
1978 KZ1000A
1982 GPz1100
1975 Z2A

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

Software tool for diagrams. 12 Aug 2012 17:07 #542130

  • 4TheKZ1000
  • 4TheKZ1000's Avatar
  • Visitor
even a blind dude like me can read it...very nice +1

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

Last edit: by 4TheKZ1000.

Software tool for diagrams. 12 Aug 2012 18:27 #542136

  • Boostable
  • Boostable's Avatar
  • Offline
  • User
  • Posts: 537
  • Thank you received: 13
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.

Software tool for diagrams. 12 Aug 2012 18:58 #542141

  • bluej58
  • bluej58's Avatar
  • Offline
  • Sustaining Member
  • The chrome don't get you home
  • Posts: 2484
  • Thank you received: 511
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.

Software tool for diagrams. 13 Aug 2012 00:48 #542217

  • testarossa
  • testarossa's Avatar
  • Offline
  • User
  • Attack life, it's only trying to kill you.
  • Posts: 3678
  • Thank you received: 82
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.

Software tool for diagrams. 17 Aug 2012 16:06 #543119

  • mtbspeedfreak
  • mtbspeedfreak's Avatar
  • Offline
  • User
  • Posts: 1413
  • Thank you received: 36
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!

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

Last edit: by mtbspeedfreak.
  • Page:
  • 1
Powered by Kunena Forum