![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5
![]() |
Geodesic Dome Calculator
I wrote this for personal use to satisfy my interest in dome construction. Gives estimated cost of constructing a geodesic dome using wood. Determines chord lengths, hub angle, concrete, area etc. Allows different frequency choices and projects shell cost. I should have used a dialog as main but the IDE I was using at the time auto-generated the controls code and I'm too lazy to clean it up. Nothing special but you are welcome to check it out. Full assembler source code included. http://lostcauz.org/DOME.zip
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5
![]() |
Wow, no comments, suggestions or gripes? I had expected more from this bunch.
Nobody even complained about using [ctrl-C] for calculating. Ahh well, maybe I'll clean it up one day. I'm considering a full switch to using FASM as my primary assembler. It's very fast and cleanly coded. I've been playin' around with it and so far I really like it.
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
|
|
#3 |
|
Programming Guru
![]() |
I just looked at it now, looks a little crowded all the things you have to put in, also confuses the hell outta me
![]()
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." - Albert Einstein |
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5
![]() |
Thanks for the comments Berto, all you really have to enter is a diameter. There is also a help file. :p
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
|
|
#5 |
|
Programming Guru
![]() |
also 2 of the txt's are not aligned properly. and some you cant see allof the text.
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." - Albert Einstein |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5
![]() |
It looks fine on my xp 1024x and win98 800x. I'll look into it though since it is bunched up pretty tight. Thanks for noticing and tell me your OS and screen-res if you don't mind.
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
|
|
#7 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I just didn't understand the use of asm, since so much of the code is external non-asm, anyway. Except as a proficiency exercise, of course.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#8 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5
![]() |
I guess it's just my preference asm+macros+api and I suppose it was a bit of a proficiency excercise as well for my rather lacking fpu skills. Programming is not my occupation but I do enjoy it as a hobby. I waded through several languages before choosing one. I've stated before that I'm much too stupid to be useful using HLL languages. This program was useful for quenching my appetite for knowledge of dome construction and may become useful to me in the near future when building a dome shed.
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
|
|
#9 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
The use of asm is the only way you will ever gain a true understanding of the Von Neumann architecture. Fine hobby. Building one from scratch contributes a great deal, also. The other side of the API, of course, contrubutes nothing to that. If you were a professional, your value would be enhanced (95% of the time) by putting as much abstraction between your brain and that machine as possible. Just a market force.
The dome thing is interesting. Quite a few years ago they became very popular in East Texas as vacation-type residences, as opposed to trailers or other manufactured housing.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#10 |
|
Hobbyist Programmer
Join Date: Nov 2004
Location: 1691 miles East of L.A.
Posts: 159
Rep Power: 5
![]() |
Point taken concerning the market for asm programmers but my ambition and desire is not directed at programming, per say, but simply a side-effect. I don't market myself as a professional programmer, although I have made money programming before, nor do/will I have any urge toward working in this field exclusively. 80% of my working life has been spent working for myself and I expect this to remain constant for many moons to come. I don't play well with others.
![]() I think the domes are interesting too. The concrete monolythic domes are the way to go for a home. I've seen some really large interesting ones and with all the advantages (cost of materials, structural integrity, space-filling efficiency, heating/air efficiency, natural disaster protection...) it seems a no-brainer IMO for building a new home. The domes you mention in Texas are more akin to what the program refers to. In many countries these could help alleviate some of the widespread housing shortages. I'm all for things of this nature. Solar <insert alternative here> powered everything, grow your own etc. In fact, I was first introduced to domes in New Caney, Texas. In '84 a neighbor, who had purchased the adjacent property, built 3 of those smaller wood strut/hub style domes. I thought they were too small for even one person to live comfortably and finally requested a tour. I was amazed at the amount of room and the efficiency of his setup to maximize the available space. Most impressive was the implementation of a nice skylight and the height at center which added to the spacious feel. Thanks for the comments and suggestions, I really enjoy the constructive criticism.
__________________
-- lostcauz Stepped in what?... Behind whose barn?... I didn't even know they had a cow! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|