News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

Best Practice

Started by Steve Edwards, February 09, 2022, 03:50:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steve Edwards

 I have reached a bit of a juncture with my use of TurboCAD. I'm not sure whether I'm pushing the limits of TC or, and much more likely, reaching my limit of expertise. I have a growing suspicion that I am not always using best practice.
My question is an open one and will no doubt divide opinion, but what is best practice? And although this is about my recent experience, specifically a glider wing design, what is the correct approach to take?


I wish to publish a procedure for making model aircraft using TC which based on my recent experience in the hope it will inspire others, however I have a reluctance to publish because it is very likely not "best practice" and may mislead rather than assist.


I have completed several of the excellent Don Cheke tutorials, my Workspace and Program set up is based on these preferring to use the traditional setup on two screens rather than the ribbon driven menu. As a result I consider myself competent enough to model most things but as I challenge myself with more complex designs I'm reaching my limit.


I'm having nagging doubts that for this glider wing design I could have made better use of TurboCAD constraints, blocks, macros etc. What are the implications of using differing curves or polylines and whether they should be closed or finished, or convert to curve, sharp corners or rounded, shelling, lofting etc.etc....Unfortunately the online help does not explain any of this to any great extent (although I know I can always get great help from this forum).


I see much more complicated models in the gallery section which just adds to my doubt that I'm not getting the best from TC.


What is best practice what am I missing?


I have attached my draft guide for reference only.


I notice comments elsewhere in this forum about online "peer to peer" tutoring. Sounds like a good idea.
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Steve Edwards

Attachment that will not post
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Henry Hubich

Steve, here's my purely personal view on some of the points you raise...

In my opinion there is no "best" practice in TCad.

I use Blocks when the drawing will contain two or more instances of a particular component. Be aware that each instance can be rescaled if necessary without affecting the others.

Constraints provide a way to modify components. But there are other ways, of course, and I almost always prefer those others.

Maybe I'm missing out on something really worthwhile, but I've never used a Macro.

Henry H

AussieBloke

Steve I just downloaded the pdf and took a quick look on my mobile ( cell ), while I only looked at some of the info and images it appears that you have done a ripper job. I will dl later onto my  pc and check it out more thoroughly.

Thanks for the detailed plans, Im all in from here.  ;D

Dean

Thanks for sharing,Steve.
I agree with Henry, also, concerning surface continuity, in general I would recommend lofting 2D or 3D splines that maintain the least number and equal number of nodes.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

Henry Hubich

Quote from: Dean on February 09, 2022, 01:09:10 PM
Thanks for sharing,Steve.
I agree with Henry, also, concerning surface continuity, in general I would recommend lofting 2D or 3D splines that maintain the least number and equal number of nodes.

Definitely.

Henry H

Andy H

Very nice work on the pdf Steve.

The main thing I do differently to yourself is.  When drawing a spline, rather that put the last node on top of the start and using finish.  (which is fine if one wants a sharp point).  I tend to put the last node just short of the start node. and choose close.  This automatically creates a rounded end to the spline, without a double node.   Though using spline by 'fit point', one does have to be a little more careful or the spline can become twisted.  Causing self intersection when lofted or extruded.

Steve Edwards

Hi Andy,
Thank you for the kind comments and the tip about splines. I had so much trouble with "self intersecting section" initially when lofting. I have found the Ruby routine Import XYZ Spline By Fit Points (the one Nikki wrote) to be the best way to import aerofoil CSV files. Since using this I have had no problems.

It would be good if the Help files gave a bit more guidance. A few do's and don't about lofting splines and what is best practice would have saved a lot of effort.
Thanks Steve
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Jeff_in_90620

Quote from: Henry Hubich on February 09, 2022, 08:49:29 AM
Maybe I'm missing out on something really worthwhile, but I've never used a Macro.

I've tried using Macros on TurboCAD, but they have failed every time.  Perhaps I was just a little off the mark on the functionality I tried to record.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

murray dickinson

I find them useful occasionally.  We don't really import splines, we fit splines to the coordinates we've got, and I've recorded drawing arbitrary splines to three or four random points, then formatted, copied and pasted between macro and Notepad++ to build macros that use coordinate lists to draw splines.    Nobody has mentioned that you can elevate or reduce curve degree between 3 and 9 in TC, control point population with it, what does that do to your carefully imported coordinates, I wonder?  Does the curve still interpolate them?  Do the interpolated points have to be control points, or can you use any control point location that'll still have the curve interpolating those coordinates?  It's keeping me awake nights....

nikkipollard

#10
Murray
You can change the spline properties in the script.
I guess it would adjust the algorithm and redraw the spline - the same way it does when you change properties in the Selection info palette.
Each vertex you add to the spline is added as if you were picking points with your mouse.
You choose the type of curve by changing the curves properties. and there is a method to convert (recalculate) a control point spline to a fit point spline
I edited Kevin Chapmans import line  ruby script so that it draws fit point splines instead of polylines.
I also provided a simplified vbscript (macro) version in Steves other post.
I am not sure of the syntax to change properties in a Rubyscript But it would be very easy to change the - slower vbscript version.

Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

nikkipollard

Quote from: Jeffin90620 on February 10, 2022, 05:32:55 PM
Quote from: Henry Hubich on February 09, 2022, 08:49:29 AM
Maybe I'm missing out on something really worthwhile, but I've never used a Macro.

I've tried using Macros on TurboCAD, but they have failed every time.  Perhaps I was just a little off the mark on the functionality I tried to record.
I have the same problem.

Jeff
I have the same problem
The scripts are so confusing when you try to understand them because it adds a whole lot of extra stuff that the script doesn't even use.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Andy H

#12
Quote from: Jeffin90620 on February 10, 2022, 05:32:55 PM
I've tried using Macros on TurboCAD, but they have failed every time.  Perhaps I was just a little off the mark on the functionality I tried to record.
Jeff

Quote from: nikkipollard on February 11, 2022, 01:27:35 AM
I have the same problem
The scripts are so confusing when you try to understand them because it adds a whole lot of extra stuff that the script doesn't even use.

Macro recording can be confusing.  Not helped by each actions has two sets of 'Drag origin' and 'click origin'  the first of which is often the mouse position which has very little to do with what one wants to accomplish.  And the inspection bar  + right click menu uses index numbers. which can differ depending on what one is doing.  Index numbers are different in 2d mode and 3d mode. and can do strange things if one gets them the wrong way round.

Better to use macro recorder as a guide only. And write ones own scripts for the proper finished macro.



 

murray dickinson

I'm sort  of the exact opposite of devil's advocate here, because I don't know anything about programming, I'm intimidated by talk of "VBS" and "Visual Studio" and dot net, C hash et al, but I've been able to do usable work with macro recorder by ignoring the additional and extraneous stuff that the "recorder" formats for me, and concentrating entirely on what happens when I click buttons or hit tool buttons. 
Nikki, I understand all of that, I'm pondering on .dat aerofoil files not actually telling you anything about what's between the coordinates.  We make assumptions about smoothness, continuity and curvature, but bare coordinates don't tell us anything about the "action" between them, so talk of "best practice" is presumptuous, IMO.     

Alvin Gregorio

Quote from: murray dickinson on February 11, 2022, 04:38:14 AM
...
Nikki, I understand all of that, I'm pondering on .dat aerofoil files not actually telling you anything about what's between the coordinates.  We make assumptions about smoothness, continuity and curvature, but bare coordinates don't tell us anything about the "action" between them, so talk of "best practice" is presumptuous, IMO.   

While helping Steve with his airfoil spline insertion, and working with him and Nikki on that Ruby scripting, I worked with the below, to better understand splines in CAD.
I am presuming that airfoiltools.com's plotter coordinates are intended for Degree-3 polynomial curve splines-- that is the interpolation "parameter" (wrong word).  That is just my presumption.

Here
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

Airfoil definition conventions predate CAD and Bezier and de Casteljau b-spline development by decades.  Before them, people plotted the points and used wooden splines to fair the curves between them...

Alvin Gregorio

Using the Ruby script method Steve describes, using the .csv coordinates file from the airfoiltools.com website, and the resultant spline in TurboCAD from the Ruby script having a Degree-3, results in an airfoil as shown, respectively, on the airfoiltools.com website.  As the "creator" of the airfoil intended.  I presume.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

Quote from: murray dickinson on February 11, 2022, 01:19:40 PM
Airfoil definition conventions predate CAD and Bezier and de Casteljau b-spline development by decades.  Before them, people plotted the points and used wooden splines to fair the curves between them...

Trivia quiz: The spline was held in place with metal weights. What were they called?

Henry H

murray dickinson

#18
Quack!  I know....I love the history and continuity of it.  Laying out actual splines in actual lofts.   I wonder why we don't refer to control points as ducks?

murray dickinson

Quote from: Alvin Gregorio on February 11, 2022, 05:57:00 PM
Using the Ruby script method Steve describes, using the .csv coordinates file from the airfoiltools.com website, and the resultant spline in TurboCAD from the Ruby script having a Degree-3, results in an airfoil as shown, respectively, on the airfoiltools.com website.  As the "creator" of the airfoil intended.  I presume.
There's a link on the airfoiltools site to another site that has an embedded program that you enter the name of the foil into, and it presents you with an IGES file that has a degree-3 curve.  All well and good - except that the site notes tell you that some foils have a "curl" in that format, and it advises tweaking the curl out by jockeying coords slightly....probably not the designer/researcher's intention.   

Alvin Gregorio

It's crazy to me that ALL those airfoils fly.  Some are so different from others-- yet, presumably, they all fly.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Steve Edwards

It seems the recent posts following my initial post, illustrate my point. It is not clear, to a simple user of TC (and no doubt other CAD software)how to use splines without having an extensive knowledge of the mathematics behind them and the effect it has on how you can use them in a model. My question was about best practice and it seems there is no consensus.
I have viewed some of the YouTube videos on Splines and Beizer curve generation from first principle, I got lost after the first 5 minutes! (Nikki posted a link on a previous post.)
You can spend a lot of frustrating trial and error time trying to work out what works in TC, and I have.
I am more knowledgeable as a result, but still not sure what is best practice. I appreciate I am looking only from the point of making glider wings but the principles should apply to other objects.




Alvin, I don't think all those airfoils listed are all for flying, some are turbine profiles or propellers.
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Steve Edwards

Ducks, I had to look it up
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Henry Hubich

Quote from: Alvin Gregorio on February 11, 2022, 07:55:13 PM
It's crazy to me that ALL those airfoils fly.  Some are so different from others-- yet, presumably, they all fly.

It's a common misconception that the cross sectional shape of an airplane wing is what makes it fly. In reality, a flat board would work (given enough thrust from the power plant), but not very well. The typical "airfoil" shape does increase lift and/or reduce drag.

Henry H

Alvin Gregorio

Quote from: Henry Hubich on February 12, 2022, 10:26:03 AM
Quote from: Alvin Gregorio on February 11, 2022, 07:55:13 PM
It's crazy to me that ALL those airfoils fly.  Some are so different from others-- yet, presumably, they all fly.

It's a common misconception that the cross sectional shape of an airplane wing is what makes it fly. In reality, a flat board would work (given enough thrust from the power plant), but not very well. The typical "airfoil" shape does increase lift and/or reduce drag.

Henry H

I'm sort of wondering what Wilbur and Orville actually invented.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Steve Edwards

Hi Henry,
What you say does run contrary to popular belief especially as there are many diagrams of airflow producing lift because it flows faster over the longer top surface at therefore lower pressure (creating lift).There is no denying the physics here, but so many plane wings are completely symmetrical in cross section, as would your flat board. How does that work?
A lot of my model gliders made as a young kid were just thin 1/16 inch planks of balsa wood (no shaping) and I remember them flying really well. As does a folded paper dart. Hmmmm
Steve
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Henry Hubich

Quote from: wwwdotsteve on February 12, 2022, 02:09:40 PM
Hi Henry,
What you say does run contrary to popular belief especially as there are many diagrams of airflow producing lift because it flows faster over the longer top surface at therefore lower pressure (creating lift).There is no denying the physics here, but so many plane wings are completely symmetrical in cross section, as would your flat board. How does that work?
A lot of my model gliders made as a young kid were just thin 1/16 inch planks of balsa wood (no shaping) and I remember them flying really well. As does a folded paper dart. Hmmmm
Steve

That effect does help but it does not dominate. Many airplanes can be flown upside down.

Henry H

murray dickinson

#27
For a flat wing, like other symmetrical section wings, which aren't that uncommon, it's got to have angle of attack.  Absolutely horizontal ain't gonna fly.  Planes have ailerons and flaps to arbitrarily modify camber for symmetrical wings.  You naturally point your paper darts upwards because that's where you want them to be, although it was a laugh a few years ago when a major  paper plane duration contest was won with a sheet of thin tissue set alight.  The convection eddy from the flame lifted the carbonised remnant and it was so light once it was aloft random breezes held it there for much longer than flat-plane aero theory supported any others.


Steve Edwards

Hi Murray,

There's a link on the airfoiltools site to another site that has an embedded program that you enter the name of the foil into, and it presents you with an IGES file that has a degree-3 curve.  All well and good - except that the site notes tell you that some foils have a "curl" in that format, and it advises tweaking the curl out by jockeying coords slightly....probably not the designer/researcher's intention. 

I tried this, boy do they curl ! I can't see IGES files being any advantage
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

lwpicking

#29
Way back in the day, I was taught the theory of lift by the classic airflow over the famous "Clark Y" (flat-on-the-bottom, curved-on-the-top) airfoil.  BUT, we then learned that there are infinite airfoils for specific purposes, and the proper airfoil will maximize the lift-to-drag ratio for the design airspeed.  And even this may be compromised if, say, you wish to improve STOL performance at the expense of cruise speed.

Next time you fly on a modern jetliner, get a window seat just aft the wing.  Watch the airfoil radically change shape as you go from takeoff thru climb-out and into maximum cruise.

Steve Edwards

I have seen the slats and leading edge changing the aerofoil shape to a massive extent on an air liner, quite a feat of engineering. I recently read an article on a full sized sailplane where they can morph (their word) the wing to improve its characteristics in flight.
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

lwpicking

#31
Just finished your draft pdf (it's been a busy week) and agree with the other comments, you have done a super job!

HAVING SAID THAT, and since you are inquiring as to best practices, I think using Excel to compute your parabolic wing, and then constructing a spline from the data, is unnecessarily laborious.  Using the Curve from Law tool is quicker, easier, and more accurate.  You can input a simple unit equation for a parabola and add constants to get the shape you want, all within TC, no need for Excel. Trial-and-error is easy by just fiddling with the parameters and replotting.  Once you get the shape you like, just explode the curve one time and you will get a very nice 4-point Spline of 20 segments.  You can change the segment number if you want.  Exploding again gives you a polyline with the same number of data points. See the attached screen shot.

IMHO this would be considered a better approach by an experienced TC (or any CAD) tech.

For what it is worth, and my apologies for the late response

Larry
2020 Platinum.

Henry Hubich

What is a parabolic wing?

Henry H

nikkipollard

If you used the lawtool - would you need to convert to a spline?
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

lwpicking

Quote from: nikkipollard on February 21, 2022, 09:32:31 PM
If you used the lawtool - would you need to convert to a spline?

Yes, there seems to be very few (if any) TC actions that you can perform on or with the initial curve from law.

Larry

Alvin Gregorio

Quote from: lwpicking on February 22, 2022, 03:45:38 AM
Quote from: nikkipollard on February 21, 2022, 09:32:31 PM
If you used the lawtool - would you need to convert to a spline?

Yes, there seems to be very few (if any) TC actions that you can perform on or with the initial curve from law.

Larry

Did you mean to type "cannot"?  As in "Yes, there seems to be very few (if any) TC actions that you cannot perform on or with the initial curve from law."

Clarification requested.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

lwpicking

Quote from: Alvin Gregorio on February 22, 2022, 03:50:07 AM
Quote from: lwpicking on February 22, 2022, 03:45:38 AM
Quote from: nikkipollard on February 21, 2022, 09:32:31 PM
If you used the lawtool - would you need to convert to a spline?

Yes, there seems to be very few (if any) TC actions that you can perform on or with the initial curve from law.

Larry

Did you mean to type "cannot"?  As in "Yes, there seems to be very few (if any) TC actions that you cannot perform on or with the initial curve from law."

Clarification requested.

No, I will stick with "can".  There seems to be few if any TC operations you can perform on a curve from law without converting it into a spline.  But the spline is, indeed, very accurately in the shape of the original curve.

lwpicking

Quote from: Henry Hubich on February 21, 2022, 05:14:58 PM
What is a parabolic wing?

Henry H

I doubt it is an officially recognized wing spec., but I am not that familiar with the glider industry.  In this case it means that if a sailplane is headed for your nose, you will notice the wing spread is in the shape of two semi-parabolas with their vertices at the wing tips.

Larry

lwpicking

Attn: Nikki and Alvin,

I have expounded on my experience with the Curve from Law, with a post in the Problems Section.

Larry

Steve Edwards

Thank you Larry. Never even thought of using the curve by law tool, but is exactly what I was looking for in my request for best practices.
Cheers
Steve
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

Steve Edwards

The parabolic dihedral is my idea,  in an attempt to mimic the shape of a bird wing and also similar to a high performance glider wing in flight although I think it is truthfully a hyperbolic curve.

TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS