30 strand, 25 feet, and then i was playign with the height, but it works now
Josh wrote:30 strand, 25 feet, and then i was playign with the height, but it works now
I don't have a ton of error logging or warnings in there. So if you put in some messy params, it can goof up. Like if you have a center pole height of 25 feet and you put in 20 foot strings, it'll return some odd results (obviously).
Methinks it's not working properly...
I put in 10 for the Center Pole Height, and 8 for the Diameter of Base. According to my calculations, that makes the diagonal (L) 10.77'ish
According to your page it's 9.16515138991
4^2 + 10 ^2 = 116
sqrt(116) = 10.77 (approx)
Your code is subtracting when it should be adding.
oldcqr wrote:Methinks it's not working properly...I put in 10 for the Center Pole Height, and 8 for the Diameter of Base. According to my calculations, that makes the diagonal (L) 10.77'ish
According to your page it's 9.16515138991
4^2 + 10 ^2 = 116
sqrt(116) = 10.77 (approx)
Your code is subtracting when it should be adding.
You're right. Copy & paste bit me in the butt. It's fixed now. Good catch.
Photovor wrote:You're right. Copy & paste bit me in the butt. It's fixed now. Good catch.
No prob.
Would you mind a link/embed to it from my Megatree DIY article on my website?
oldcqr wrote:No prob.Would you mind a link/embed to it from my Megatree DIY article on my website?
Be my guest. The URL won't change.
That is cool! I even fashioned a little .NET application after it for when I'm not connected to the net.
Yours was quite helpful in my planning of the tree for '09.
I'm going to add the preview to mine and may even add a power calculator to it as well.
Right now I have no real error handling either.
Glad I could be an inspiration to you. You'll have to share your app when you get it finished!
The idea of adding power calculation was a good though too.
The Mega Tree part of the app is pretty much finished.
I just have to add a power calculator.
Well the rough hewn utility is ready if anyone wants to try it.
I used the power specs for the Amperage power calculator from a document I found a while back, but don't know if its current/correct. It probably isn't complete either.
It does the mega tree calculations, allows a rough preview once calculated, and also has the display power calculator as well.
I thought I's put in error handling when I run across problems.
This probably has been done somewhere and can be done on the net as well, but I just thought I'd do it for my own programming satisfaction, I guess. I'm no coding pro by any means.
