Yakovlev Yak-3

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Yakovlev Yak-3

Post by Chris_G »

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 6582 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 6582 times
Yak-25.jpg
Yak-25.jpg (186.2 KiB) Viewed 6582 times
Yak-26.jpg
Yak-26.jpg (21.49 KiB) Viewed 6582 times

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

Re: Yakovlev Yak-3

Post by triplus »

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

Re: Yakovlev Yak-3

Post by Kunda1 »

Nice!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Yakovlev Yak-3

Post by regis »

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 6559 times
lippisch_me_163c_cutaway_big.jpg
lippisch_me_163c_cutaway_big.jpg (236.37 KiB) Viewed 6559 times
071017-F-1234S-029.JPG
071017-F-1234S-029.JPG (277.77 KiB) Viewed 6559 times
chrisb
Veteran
Posts: 53932
Joined: Tue Mar 17, 2015 9:14 am

Re: Yakovlev Yak-3

Post by chrisb »

Very impressive, thanks for sharing.
Last edited by chrisb on Sun Jul 02, 2017 1:13 am, edited 1 time in total.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Yakovlev Yak-3

Post by regis »

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
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Yakovlev Yak-3

Post by Chris_G »

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
Veteran
Posts: 3129
Joined: Sat May 20, 2017 12:06 pm
Location: Germany

Re: Yakovlev Yak-3

Post by thschrader »

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

Re: Yakovlev Yak-3

Post by HoWil »

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
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Yakovlev Yak-3

Post by Chris_G »

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 6387 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 6387 times
sw2r-3.jpg
sw2r-3.jpg (34.93 KiB) Viewed 6387 times
Good luck :lol:
Attachments
sw2r-example.fcstd
(12.5 KiB) Downloaded 193 times
Post Reply