Yakovlev Yak-3

Show off your FreeCAD projects here!
User avatar
Chris_G
Posts: 1164
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Yakovlev Yak-3

Postby Chris_G » Sat Jul 01, 2017 9:01 pm

Hi,
I needed a test model for the "Sweep on 2 rails" tool I am working on.
This is a Yakovlev Yak-3, a WW2 warbird that looks really beautiful.
I found this plan on the web, and did some inkscape drawing over it :
web_plan.jpg
web_plan.jpg (72.84 KiB) Viewed 3914 times
Then, I have was able to test the "Sweep on 2 rails" to build the surfaces :
Yak-3.gif
Yak-3.gif (687.33 KiB) Viewed 3914 times
Yak-25.jpg
Yak-25.jpg (186.2 KiB) Viewed 3914 times
Yak-26.jpg
Yak-26.jpg (21.49 KiB) Viewed 3914 times

Yak-3-03.fcstd
(776.58 KiB) Downloaded 149 times
(Attachment needs my "Curves" workbench)
triplus
Posts: 8799
Joined: Mon Dec 12, 2011 4:45 pm

Re: Yakovlev Yak-3

Postby triplus » Sat Jul 01, 2017 9:34 pm

Looking good.
User avatar
Kunda1
Posts: 5937
Joined: Thu Jan 05, 2017 9:03 pm

Re: Yakovlev Yak-3

Postby Kunda1 » Sat Jul 01, 2017 9:38 pm

Nice!
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
regis
Posts: 655
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Yakovlev Yak-3

Postby regis » Sat Jul 01, 2017 10:42 pm

great stuff,
it reminds of my college project when I had to design an aircraft in Inventor.
I was facscinated by the German Messerschmitt Me163 Komet.
Attachments
messerschmitt-me-163-komet.png
messerschmitt-me-163-komet.png (903.88 KiB) Viewed 3891 times
lippisch_me_163c_cutaway_big.jpg
lippisch_me_163c_cutaway_big.jpg (236.37 KiB) Viewed 3891 times
071017-F-1234S-029.JPG
071017-F-1234S-029.JPG (277.77 KiB) Viewed 3891 times
chrisb
Posts: 19640
Joined: Tue Mar 17, 2015 9:14 am

Re: Yakovlev Yak-3

Postby chrisb » Sat Jul 01, 2017 11:08 pm

Very impressive, thanks for sharing.
Last edited by chrisb on Sun Jul 02, 2017 1:13 am, edited 1 time in total.
User avatar
regis
Posts: 655
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Yakovlev Yak-3

Postby regis » Sun Jul 02, 2017 12:28 am

chrisb wrote:
Sat Jul 01, 2017 11:08 pm
Very impressive, thaks for sharing.
Your process is quite interesting, did you import the inskcape drawings, one at a time and manually positioned them? did you have to scale the inscape files?
User avatar
Chris_G
Posts: 1164
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Yakovlev Yak-3

Postby Chris_G » Sun Jul 02, 2017 9:17 am

regis wrote:
Sat Jul 01, 2017 10:42 pm
it reminds of my college project when I had to design an aircraft in Inventor.
I was facscinated by the German Messerschmitt Me163 Komet.
Nice plan. Even though the plane is quite ugly ... :lol:
regis wrote:
Sun Jul 02, 2017 12:28 am
Your process is quite interesting, did you import the inskcape drawings, one at a time and manually positioned them? did you have to scale the inscape files?
The first thing I did was to scale the imported image file in inkscape, so I didn't have to bother about that in the following steps.
Then I imported the whole inkscape file in FreeCAD, and did the placement manually or with some python scripting.
thschrader
Posts: 1431
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Yakovlev Yak-3

Postby thschrader » Sun Jul 02, 2017 12:14 pm

Chris_G, amazing job, really nice!
We should give the YAK-25 shape to the cfd-WB-guys for testing... :geek:
Greetings Thomas
HoWil
Posts: 840
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: Yakovlev Yak-3

Postby HoWil » Sun Jul 02, 2017 7:57 pm

Chris_G wrote:
Sun Jul 02, 2017 9:17 am
regis wrote:
Sat Jul 01, 2017 10:42 pm
it reminds of my college project when I had to design an aircraft in Inventor.
I was facscinated by the German Messerschmitt Me163 Komet.
Nice plan. Even though the plane is quite ugly ... :lol:
regis wrote:
Sun Jul 02, 2017 12:28 am
Your process is quite interesting, did you import the inskcape drawings, one at a time and manually positioned them? did you have to scale the inscape files?
The first thing I did was to scale the imported image file in inkscape, so I didn't have to bother about that in the following steps.
Then I imported the whole inkscape file in FreeCAD, and did the placement manually or with some python scripting.
Hi Chris_G ,
I am very interested in this... not for creating planes but for creating free-form objects with the help of Inkscape.
Is it possible to get a fast forward tutorial (including Inkscape) of one of the wings or another simple part?
BR,
HoWil
User avatar
Chris_G
Posts: 1164
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Yakovlev Yak-3

Postby Chris_G » Sun Jul 02, 2017 9:01 pm

HoWil wrote:
Sun Jul 02, 2017 7:57 pm
Hi Chris_G ,
I am very interested in this... not for creating planes but for creating free-form objects with the help of Inkscape.
Is it possible to get a fast forward tutorial (including Inkscape) of one of the wings or another simple part?
BR,
HoWil
Look at the attached FC file. It has sketches, but it is the same as what you get when importing svg.
There are 2 rails and 3 profiles.
The profiles need to be rotated around their endpoints.
This piece of python does this (select a profile and run) :

Code: Select all

# rotates the selected NURBS edge around its endpoints
ANGLE = 90
s = FreeCADGui.Selection.getSelection()

for so in s:
    for e in so.Shape.Edges:
        c = e.Curve.copy()
        stPt = c.StartPoint
        enPt = c.EndPoint
        pl = FreeCAD.Placement()
        pl.Base = stPt
        vec = enPt.sub(stPt)
        pl.Rotation = FreeCAD.Rotation(vec,ANGLE)
        for i in range(len(c.getPoles())):
            c.setPole(i+1,pl.inverse().multVec(c.getPole(i+1))+stPt)
        obj = FreeCAD.ActiveDocument.addObject("Part::Spline","Profile")
        obj.Shape = c.toShape()

Then select the 2 rails and make a (PartWB) Ruled surface
Select this ruledSurface and the profiles and run "Sweep profile on 2 rails" tool in my WorkBench :
sw2r-1.jpg
sw2r-1.jpg (31.35 KiB) Viewed 3719 times

You get a point cloud. You can adjust the number of samples, or the displaymode ("wireframe" below).
Then you can run the approximation tool to get the surface :

sw2r-2.jpg
sw2r-2.jpg (42.73 KiB) Viewed 3719 times
sw2r-3.jpg
sw2r-3.jpg (34.93 KiB) Viewed 3719 times
Good luck :lol:
Attachments
sw2r-example.fcstd
(12.5 KiB) Downloaded 84 times