Airfoil Sketch from File
無料
OS:
言語:
説明
Very simple to use, an existing construction line on a sketch need to be selected, then the file from which to generate the airfoil is selected. You can choose to have the airfoil name added as text on the sketch.
Features:
- Use an existing sketch line as a chord reference for the profile. Can be of any length, at any angle with horizontal.
- Accept CSV files, with either comma or semi-colon as a delimiter.
- Accept DAT files, either in the Selig format or the less common Lednicer format
- For Dat files, the name of the Airfoil can be added to the sketch, if desired.
- Leading edge is always where the line started to be drawn.
このバージョンについて
バージョン 1.2, 2024/09/19
File dialog bug fixed, inverted profile fixed when line drawn from right to left, file dialog open on the existing profils directory.
The Addin is pretty great, simple and easy to use but the developer doesn't seen to be a professional developer as simple bug was left in the code. Still, pretty good work!
The fix is pretty simple for users and for the developer. Go to: "C:\Users\YOURUSER\AppData\Roaming\Autodesk\ApplicationPlugins\AirfoilSketchFromFile.bundle\Contents\AirfoilSketchFromFile.py".
Open the file in a text editor, and then edit the file by simply erasing line 175, an 'else' statement and removing one tab form the 3 lines below it.
The code before loks like this:
if originSP.x > originEP.x:
translationMatrix.translation = endPoint.asVector()
else:
filename = dlg.filename
extension = os.path.splitext(filename)[1][1:]
csv = extension.casefold() == 'csv'
And after:
if originSP.x > originEP.x:
translationMatrix.translation = endPoint.asVector()
filename = dlg.filename
extension = os.path.splitext(filename)[1][1:]
csv = extension.casefold() == 'csv'
Used it for a long time and it was ok. lately it stopped working.
I get the notification:
Failed:
Traceback (most recent call last):
File "C:/Users/macie/AppData/Roaming/Autodesk/ApplicationPlugins/AirfoilSketchFromFile.bundle/Contents/AirfoilSketchFromFile.py", line 180, in notify
with io.open(filename, 'rt', encoding='utf-8-sig', errors='ignore') as f:
^^^^^^^^
UnboundLocalError: cannot access local variable 'filename' where it is not associated with a value
I get it as well, such a shame it didn't work...
Try drawing the construction line form left to right or vice versa. (Only one direction works)
in the comments theres a dude named João Peterson Scheffer he made a comment how to fix that error find his comment and it says how to fix the problem
Works great with Airfoil Tools!
How? It is showing error again and again
Works 50% of the time. You never know when after constructing a complicated construction line, if the airfoil will actually produce or cause an error. I get the same error as the review below me.
Traceback (most recent call last):
File "C:/Users/rgtor/AppData/Roaming/Autodesk/ApplicationPlugins/AirfoilSketchFromFile.bundle/Contents/AirfoilSketchFromFile.py", line 180, in notify
with io.open(filename, 'rt', encoding='utf-8-sig', errors='ignore') as f:
^^^^^^^^
UnboundLocalError: cannot access local variable 'filename' where it is not associated with a value
SAME! Found any solution to it?
Unfortunately no, my workaround is to produce an airfoil whenever it works and then use the move/scale command to position it in place where I want.
Try drawing the construction line form left to right or vice versa. (Only one direction works)
Failed:
Traceback (most recent call last):
File "C:/Users/rgtor/AppData/Roaming/Autodesk/ApplicationPlugins/AirfoilSketchFromFile.bundle/Contents/AirfoilSketchFromFile.py", line 180, in notify
with io.open(filename, 'rt', encoding='utf-8-sig', errors='ignore') as f:
^^^^^^^^
UnboundLocalError: cannot access local variable 'filename' where it is not associated with a value
SAME! Found any solution to it?
Hey, I hope I am not to late but, the dev is still active on is youtube and he speaks my native tongue therefore I have e-mailed him, and I will come back to this thread when I get an answer. Wish me luck ; ).
Update: The dev is looking into it, hope this helped
@Gavit Gupta Try drawing the construction line form left to right or vice versa. (Only one direction works)
It would be really useful
I can install a single airfoil on a design, but when I go and try to ad a second it keeps giving me an error that really is of no help to me
***************
Failed:
Traceback (most recent call last):
File "C:/Users/....../AppData/Roaming/Autodesk/ApplicationPlugins/AirfoilSketchFromFile.bundle/Contents/AirfoilSketchFromFile.py", line 180, in notify
with io.open(filename, 'rt', encoding='utf-8-sig', errors='ignore') as f:
UnboundLocalError: local variable 'filename' referenced before assignment
************
I wish I could have this run on my Apple PC
I absolutely love this little add-in and have been using it extensively. Thank you very much Le Bear CNC for making it available, it's really nice. The only limitation is the directionality. If I draw a line from left to right versus right to left, everything changes. So for example, if I am in Fusion's "Left" view with Y pointing left and Z pointing up, I must draw my line going from +Y (right) to -Y (left). If I do the opposite, it gives me an incomprehensible error. This is not properly explained. I guess the workaround is to always have an airfoil sit in a separate component and then scale and assemble it where you actually want it with the proper incidence angle, dihedral, etc.
Using this tool significantly sped up my workflow. I am currently working on aerospace projects, and as a software engineer I appreciate a well-written tool. This tool does exactly what it says on the tin and in my experience it works without any bugs.
introuvable de fusion une fois insteller jai fais plusieur fois la manip mais rien alors qu'il fontionner très bien avant la mise ajour des fusion
Failed:
Traceback (most recent call last):
File "C:/Users/User/AppData/Roaming/Autodesk/ApplicationPlugins/AirfoilSketchFromFile.bundle/Contents/AirfoilSketchFromFile.py", line 180, in notify
with io.open(filename, 'rt', encoding='utf-8-sig', errors='ignore') as f:
UnboundLocalError: local variable 'filename' referenced before assignment
I have the same issue
I am also having the same issue intermittently. Most of the time I get this same error, but a few times it worked as expected. It must be some edge case.
I have the same problem. Somtime it works but almost every time it fails with the message. I want to know the reason why.
..., "If the cook does not lie to us...," then such a message appears when the chord of the profile is indicated by the "usual" line. When I change a line to "construction," there is no such message.
It only accepts airfoils in left and right positions in sketch. You need to draw the line down the middle. If you draw from left to right you will get this.
Joonas Hint "It only accepts airfoils in left and right positions in sketch. You need to draw the line down the middle. If you draw from left to right you will get this." Thanks, your advice helped!
I have the same problem.
MERCI !
I JUST HAVE TO SAY, THANK YOU. I tried so many ways, apps and finally found you. Thank God
When it works this tool is invaluable! Unfortunately it frequently errors and once it does it seems impossible to get it working again.
Bonjour,
Effectivement , l'application ne fonctionne plus et c'est vraiment dommage.
C'est regretable qu'elle disparaisse avec la dernière mise à jour. Si utile pour travailler sur les profils et elle rendait un fier service.
A souhaiter vivement que les développeurs puissent entendre notre SOS . . . .
La mise en jour est maintenant disponible.
This is a great tool, but it does not work with the latest Version of fusion360. I pay for my version of Fusion360 and it would be nice if it worked again...
Update available now. It does work again.
Creating airfoils in Fusion360 is a lot easier with it! Thank you
I launch an S.O.S. to bring it back !!!!! Now, i hope i hope . . .
Looks to do exactly what i want it to but does not work. Please update so it works with the most recent version of fusion.
Done, update available.
Seit dem letzten Update geht die App nicht mehr
Works again. Update.
This was working really well but now I don't get the pop up to select my .dat file after selecting the construction line and clicking on 'ok'
The version of Fusion 360 I am running is 2.0.9305
I just find, I can't use it too, like yous
Same problem with the version 2.0.9313
fix available now.
Thanks a lot, you have saved me a lot of time. great wrok!
Très beau boulot. Un modéliste reconnaissant ;)
many thanks for this App... Good work indeed... I have downloaded tre free tracfoil databank and linked it to the app... quick, easy, effective...
Merci beaucoup
There are some problems with loading data points that are beyond the dimension (-1;-1) to (1;1). I found that it was best to stay within these limits.
If you need to import airfoil data to your Fusion design, this is the tool to use!
As intended, this add-in reads and imports any properly formatted airfoil DAT files as a spline to your sketch; Which is much more elegant and convenient than a series of lines segments.
The second great thing is that, it scales and aligns the airfoil to the selected construction line during the import. Which means that the airfoil comes at the right dimension and with the right angle (provided you selected a properly dimensioned construction line).
The only cons, is that as others mentionned, the airfoil is sometimes drawn inverted. (I guess it has something to do with the coordinates system when parsing). It takes no time to fix the sketch by mirroring the profile around the construction line. Maybe this can be fixed in a future version
Generates a flawed spline (contains curvature errors, etc) and seems to have chosen only a few of the points contained in the airfoil .dat files. The files work with the other Fusion airfoil plugin.
Could you give me a link where I could download your .dat files? Which one of the different standards are they following?
Simple and efficient. But same problem as Fabien. Sometimes the direction is not correct and I have no clue how to flip it.
Works great, simple and efficient.
Thanks!
We can't specify the direction of the airfoil. Sometimes it is right, other times the plugin is stubbornly stuck reversed, with the leading edge pointing aft :(
Please add a checkbox option to reverse the direction.
Here's a video that shows the bug https://youtu.be/DjMTnINHLK4" target="_blank">https://youtu.be/DjMTnINHLK4
A simple miror will help, here.... Now, I agree it would be better if it was always consistent. Once I have some free time, I may look to make a version 2 with this corrected.
Just work as promised. Needed to reinstall/repair it after F360 update...
This plugin does what it's supposed to and does it well!
Trés bien!
Clearly, ability to draw an airfoil on an existing sketch, first selecting the cord, allow to make a very precise wing, with proper angles where needed.
A BIG plus!