What's new

Create part from data file txt.

Oldbelt

Alibre Super User
Can any body help with this .
running the .py code with the txt file, gives an error reading the firs text line
Ican't se whatis wrong
 

Attachments

  • SupFin.py
    1.9 KB · Views: 15
  • TestTest.txt
    976 bytes · Views: 7

Oldbelt

Alibre Super User
Thank you for your instant respons.
I fixed the false indent and run again, with the same error as before.

I can't understand why invalid syntax , it looks straight forward.
Stefan do you have a hint?


Error.JPG
 

Oldbelt

Alibre Super User
Thank you Stefan i have forgotten how to use a SW I have written myself, for several year ago.
I was made for the surfguy's, the wanted to design there own fins for there boards
Funny ide, the supplier know how to do it.
They just need to make a outline sketch at "grid" paper. and set the dimensions.
Then input those to a little SW I have made.Data creator.JPG

The output is the TXT files you have seen. The profiles is from Airfoil arkive. I then make a STL of the generated part, the surf guys can have and fiddle around with at there 3D printers.
Thank you for the help.
 

GIOV

Alibre Super User
Hi Oldbelt,
You do a wonderful Part. Only I saw that the Airfoils Profiles aren't so accurate. May be you are able correct this spline with Stefan 3D points Script.
1681751270806.png
 
Last edited:

Oldbelt

Alibre Super User
Hi GIOV.
The profil text file was a file was one i picked among a lot of files,
you know when you write a SW you make a lot of test and forget to delete them.
I send you a real txt file with a symmerical profile, taken fra the "Airfoil" archive.
 

Attachments

  • TestBLykke.txt
    4.8 KB · Views: 2

GIOV

Alibre Super User
Hi Oldbelt,
I ear that SW has a add-on called Surface Works (MultiSurf) of aeroHydro). Do you know about?
Is it feasible have a Pilot 3D (ProSurf) of New Wave as add-on in Alibre?
Thanks in advance.
 
Top