PDA

View Full Version : Free software for the BBS Members: Circle coordinate calculator



Evan
06-15-2011, 02:11 PM
The question of how to calculate the x,y coordinates of a circle came up again recently. Marv Klotz has a DOS program available but a lot of people aren't comfortable using a command line program. So, I wrote a little circle coordinate calculator everyone may have for free. You may also distribute it any way you like as long as no money is charged.

http://ixian.ca/pics9/ccalc11.gif

Instructions are included in the program, just click the help button. If anyone finds any bugs or has a suggestion for improvement please post accordingly.

The code is only 39,936 bytes. It requires no installation and makes no changes to your computer whatsoever. It is for Windows only.

http://ixian.ca/server/circlecalcv11.exe

Please note that this version addresses the comments below.

small.planes
06-15-2011, 02:26 PM
Just crashes with a WindowsAppication1 has stopped working dialogue.

Win7/64

Dave

Peter.
06-15-2011, 02:30 PM
Same here. My PC is quite up-to-date (win xp sp3). Are there any runtime files or something we need that should be included in the exe?

Evan
06-15-2011, 02:31 PM
You must have the dot.net framework 3.5 installed.

Including the runtime in the exe would make it too large for my server to handle the load. It's a free download from MS.

Peter.
06-15-2011, 02:35 PM
I have dot net 3.5 sp1 Evan.

Evan
06-15-2011, 02:37 PM
get it here:

http://www.microsoft.com/downloads/en/details.aspx?familyid=ab99342f-5d1a-413d-8319-81da479ab0d7

Evan
06-15-2011, 02:41 PM
I recently installed the dot.net 4 runtime so maybe that affected vb2008. Try the .net 4 runtime instead.

http://www.microsoft.com/downloads/en/details.aspx?familyid=9cfb2d51-5ff4-4491-b0e5-b386f32c0992

Peter.
06-15-2011, 02:51 PM
I have that too. here is my install list for such things:

http://peterrimmer.myby.co.uk/images/dotnet.gif

ikdor
06-15-2011, 03:05 PM
Hmm, crash here as well.
XP SP3, framework 4, VB2010
Weird

Igor

Black Forest
06-15-2011, 03:07 PM
Doesn't run on my computer either.

I have .net framework 4 extended installed.

Evan
06-15-2011, 03:27 PM
Download it again and try. It should work now. I was using some special functions from a VB powerpack to draw lines on forms and it didn't include the code. I'll fix that later.

goose
06-15-2011, 03:33 PM
Runs good on my computer - Windows XP service pack 2


Good job Evan, Thanks !

Peter.
06-15-2011, 03:36 PM
Works perfectly here too - thanks Evan, it's a great little app :)

Evan
06-15-2011, 03:38 PM
I put the lines back in with an image if you want to download it again.

kc5ezc
06-15-2011, 03:55 PM
Runs fine here Evan. Xp SP3. The only problem I have with netframework is a 1.0 security update that won't install. MS says to remove all versions of net.framework and reinstall. What a pain. Seems to work fine anyway.
Thanks.
John Burchett
in Byng OK

S_J_H
06-15-2011, 05:32 PM
Hey thanks Evan!
Works great for me, WIN7 and .net 4

Steve

Jeremy_BP
06-15-2011, 10:56 PM
Great job, Evan!
For anyone who would like this and doesn't run windows, I made a quick version in java. http://tinyworkshop.org/ul/BoltCircle.jar
It doesn't have as many features as Evan's, and if you would like anything added let me know.

Elninio
06-15-2011, 11:09 PM
why don't you write it in java?

wierdscience
06-15-2011, 11:12 PM
Nice job Evan,thank you for your time!

MichaelP
06-16-2011, 04:11 AM
Nice program. Thank you, Evan.

Boostinjdm
06-16-2011, 05:05 AM
Will it do full circles only? Or can you do arcs with a start/end angle. I don't need it, but those options could come in handy for someone else.

fraker
06-16-2011, 10:34 AM
Many thanks Evan.

Works a treat

Bill.

plunger
06-17-2011, 01:36 AM
Evan at the risk of showing how stupid I am can this thing be used to for example plot the co ordinates of a pipe bending die? if i wanted to machine my own die. I have heard a die can be made by winding in your crosslide in a bit and then by moving the carriage a bit so you step it and then finish it off with a file. Like a manual g code so to speak.

Evan
06-17-2011, 06:47 AM
That is how it is meant to be used. It can also be used to calculate bolt circles.

plunger
06-17-2011, 02:57 PM
Evan I am amazed at how many different interests you have. How do you find the time? You must be at least 385 years old to absorb all this different knowledge. I suffer from discalcula so I dont grasp computers and maths to quick. Would a program like this work for the more civilized countries .I am trying to machine a 22mm die?.

Evan
06-17-2011, 03:22 PM
It makes no difference what the units are. It is unit agnostic. The results are whatever units you want them to be. Everybody uses the same number of degrees in a circle and that is all that matters.

I have an improved version in the works but you may as well download the one above. it will only take a few seconds even on a dialup connection. When next version is done I will start another thread so it isn't missed. It will have more flexibility and a new function or two.

Peter.
07-30-2012, 06:33 PM
Hey Evan I just wanted to drag up this thread to let you know I'm using your program to make curves on my manual mill. I set the radius from the arc centre to centre of the 10mm cutter, put in the start angle then divide my arc angle by about 5 or 6 to give me a set of co-ordinates to make a pattern of holes with enough overlap to make a tidy curve. Works great and will clean up a swipe of emery so you could never tell.

What really helps is the start angle feature - my part has three curves and I can mill them all off one set-up, I just pasted the tables into calc (free excel), printed it off and followed the co-ordinates.

http://peterrimmer.myby.co.uk/images/calctable.gif

Evan
07-30-2012, 08:00 PM
I'm happy to see you have a use for it.

Evan
07-30-2012, 08:07 PM
That's the old version linked above. This is the latest version:

http://ixian.ca/server/circlecalcv11.exe

I'll update the link above too.

doorknob
07-30-2012, 09:23 PM
That's the old version linked above. This is the latest version:

http://ixian.ca/server/circlecalcv11.exe (http://ixian.ca/server/ciclecalcv11.exe)

I'll update the link above too.


Evan,

Your link looks like it is going to http://ixian.ca/server/circlecalcv11.exe

however it is actually going to http://ixian.ca/server/ciclecalcv11.exe (note the dropped 'r' in the .exe name) which gets a 404 not-found error.

Dr Stan
07-30-2012, 09:30 PM
Great piece of freeware thanks Evan. However is there a way to add an icon to my desktop or I am just missing something?

BTW, I took classes in Basic and Turbo Pascal (years ago of course). I could write some simple stuff, but I tended to be slower than others. In retrospect I suspect it is due to my dyslexia which has dramatic negative effects on my writing abilities. The classes however did teach me the structure and how to use subroutines which was an immense help when I started writing code for CNC machines before CAD/CAM came along.

Evan
07-30-2012, 09:58 PM
Hmm. The only way I was able to fix that was to delete the URL entirely and retype it. That isn't much fun.

Right click and drag it to the desktop, click on create shortcut here. Or, just put a copy on the desktop.

Dr Stan
07-30-2012, 10:54 PM
Thanks Evan got it now.