- Posts: 757
- Thank you received: 1164
RC software tools
- jon.in.swansea
-
Topic Author
- Offline
- Elite Member
-
To start it off there is an initial planning site: www.radiocontrolinfo.com/rc-calculators/...e-design-calculator/ which takes in a limited number of parameters and makes a report of suggested dimensions and areas. It uses imperial units and I like to layout in mm on grid paper so a bit of a hassle...
Then there is a site that helps with designing wing plan forms:
aerotoolbox.com/wing-plot-tool/
Here is an output for a 40" span, 8" root and a taper ratio of 0.67
Here is the same but with a taper that is close to what one would get with an eleptical wing.
And taking the area and wanting to initially plan for the other control surfaces the process slowed to a crawl when trying different layouts on sketch paper and doing the manual calculations to get their area.
So a bit of looking around the web there are places that will calculate areas but each had limitations like rounding the area to an integer.
www.mathsisfun.com/geometry/area-polygon-drawing.html
In my day job I used to do coding. Found some python that took a list of X Y coordinates and does the calculation. I tried it and it worked but it needed an interface and some flexibility in terms of the measurement units. Here is what a session looks like that is inputting the coordinates from the above close-to-eleptic wing (sorry about the double spacing):
jon$ python3 polyfind_d.py
Units: A) inches
Coordiantes in decimal inches:
Enter X coordinates in order followed by a blank line
0.0
20.0
20.0
0
Enter Y coordinates in order followed by a blank line
-6
-2.5
0.9
2
X Y= 0.0 -6.0X Y= 20.0 -2.5X Y= 20.0 0.9X Y= 0.0 2.0
input inches output sq inches: 114.0
input inches output m2: 0.07354824
input inches output dm2: 7.35482
Ok - very basic, few bells and whistles but it is going to save me a lot of time. It is 50 lines of python and should be runnable on just about any computer that has a python3 interpreter. I attach a text file. It needs to be renamed to polyfind.py in order to run via the command python3 polyfind.py
Please log in or register to see it.
Enjoy - Jon
Attachments:
Please Log in or Create an account to join the conversation.
- jon.in.swansea
-
Topic Author
- Offline
- Elite Member
-
- Posts: 757
- Thank you received: 1164
and see some additions to the 'cool-software-found'.... come on all you 'lurkers' out there, you must have some sites with useful software tools that would be good to share.....
Please Log in or Create an account to join the conversation.
- Quorneng
-
- Offline
- Forum Master
-
- Posts: 10058
- Thank you received: 19043
Please Log in or Create an account to join the conversation.
- THE BLACKBIRD
-
- Offline
- Forum Master
-
- Posts: 6781
- Thank you received: 10722
Please Log in or Create an account to join the conversation.
- Eric
-
- Offline
- Moderator
-
- Posts: 15406
- Thank you received: 14305
if you are calm and collected when all about you are going berserk - you've missed something important!
Please Log in or Create an account to join the conversation.
- jon.in.swansea
-
Topic Author
- Offline
- Elite Member
-
- Posts: 757
- Thank you received: 1164
Last night I used it to look at how to get a 16% aileron on a tapered trailing edge to understand trade-offs for the hinge line of the aileron. And in using it I evolved it a bit further to echo additional information to save a bit more fiddling with a hand calculator.
Here is some of the chatter in the revised tool for a hinge line roughly parallel with the trailing edge....
python3 polyfind_f.py
Units:A) inches
Coordinates in mm:
Enter X coordinates (in order one per line) followed by a blank line
302
508
508
302
Enter Y coordinates (in order one per line) followed by a blank line
-100
-63.5
-24
-60
X mm Y mm Xinch Yinch
302.00 -100.00 11.890 -3.937
508.00 -63.50 20.000 -2.500
508.00 -24.00 20.000 -0.945
302.00 -60.00 11.890 -2.362
input mm output sq inches: 12.692
input mm output sq ft: 0.088
input mm output m2: 0.0082
input mm output dm2: 0.819
Here is the script. Rename it to polyfind.py and run via python3 polyfind.py
Please log in or register to see it.
Attachments:
Please Log in or Create an account to join the conversation.
- Klipkopwildlife
-
- Offline
- Administrator
-
- I'm supposed to be retired!
Do it now, you may never get another chance
Please Log in or Create an account to join the conversation.
- jon.in.swansea
-
Topic Author
- Offline
- Elite Member
-
- Posts: 757
- Thank you received: 1164
Please Log in or Create an account to join the conversation.
- admin
-
- Offline
- Administrator
-
- Make it count!
If you tell me an input and an expected output. I can make it happen.
With that said though, There's no reason this type of thing couldn't be turned into an interactive web page.
"most people give up just as they're about to succeed" Napoleon Hill
"luck is when preparation meets opportunity" Oprah Winfrey
Please Log in or Create an account to join the conversation.
- admin
-
- Offline
- Administrator
-
- Make it count!
"most people give up just as they're about to succeed" Napoleon Hill
"luck is when preparation meets opportunity" Oprah Winfrey
Please Log in or Create an account to join the conversation.
- Klipkopwildlife
-
- Offline
- Administrator
-
- I'm supposed to be retired!
Do it now, you may never get another chance
Please Log in or Create an account to join the conversation.
- jon.in.swansea
-
Topic Author
- Offline
- Elite Member
-
- Posts: 757
- Thank you received: 1164
AND one of my issues with web-based tools like the one I referenced in the initial post - where you put in a few high level measurements and it returned a report on various areas and fuselage measurements was that it only reported in imperial units. I don't know how to look at the underlying source to see how the sausage is made so as to create a variant. Perhaps it is not a black-box?
My point is that sometimes it is useful to find out the embedded rules within these tools so we can add our own experience to them or to decide that the rules are rubbish. Goodness there are folk in Aeromodellers who have a wealth of knowledge although they might not be minded to do the coding themselves.
Please Log in or Create an account to join the conversation.
- jon.in.swansea
-
Topic Author
- Offline
- Elite Member
-
- Posts: 757
- Thank you received: 1164
www.python.org/downloads/windows/
Alternatively go into the Microsoft Store and search for Python3. I see a V3.10 and V3.11 available.
If you just type in "python3" in Powershell and it does not find it on the computer then it will start the install for you. It is a 40MB package.
You can then open up a DOS command prompt or use Powershell. Change folders to where the polyfind.py is located and you should be able to run it via the command python3 polyfind.py
I just tried it and it seems to be working fine.
Please Log in or Create an account to join the conversation.
- Klipkopwildlife
-
- Offline
- Administrator
-
- I'm supposed to be retired!
Do it now, you may never get another chance
Please Log in or Create an account to join the conversation.