Air Plane Design Workbench - discussion thread

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
a179308
Posts: 33
Joined: Wed Oct 03, 2018 5:39 pm
Contact:

Air Plane Design Workbench - discussion thread

Postby a179308 » Sun Jan 05, 2020 6:06 pm

Hello,
I've have started a Air Plane Design Workbench :https://github.com/FredsFactory/FreeCAD_AirPlaneDesign . Available to install in the addon manager, Air Plane Design Workbench V0.1 and V0.2 can create a wings based on panel and profil.
Please don't use the V0.1 it was a first draft, based on sheet with which I designed the wing of my ASK13 (https://fredsfactory.fr).
The approach on the V0.2 is completely different and integrate parametric objects based on a dedicated UI.
You can use this discussion thread to interact with me.
Hoping this can be of some utility for FC users.

I created this topic to avoid technical discussions in the topic Announcements & Features.

Fred
a179308
Posts: 33
Joined: Wed Oct 03, 2018 5:39 pm
Contact:

Re: Air Plane Design Workbench - discussion thread

Postby a179308 » Sun Jan 05, 2020 6:12 pm

Generic approach to create a wing :
The process is very simple :
0 -Workbench : Image, import 3views and scale it to the right dimension
1 - Workbench : Air plane design, create a rib
Capture d’écran 2020-01-02 à 13.30.14.png
Capture d’écran 2020-01-02 à 13.30.14.png (372.15 KiB) Viewed 953 times

2 - Create two sketch
Capture d’écran 2020-01-02 à 13.31.50.png
Capture d’écran 2020-01-02 à 13.31.50.png (203.84 KiB) Viewed 953 times
he result :
Capture d’écran 2020-01-02 à 13.33.58.png
Capture d’écran 2020-01-02 à 13.33.58.png (70.23 KiB) Viewed 953 times
3 - Workbench : Curved Shapes, "Create an Array" after select the rib and sketches. You can adjust the number of items, if you want a solid or a surface or only ribs.
Capture d’écran 2020-01-02 à 13.34.22.png
Capture d’écran 2020-01-02 à 13.34.22.png (124.43 KiB) Viewed 953 times

don't forget to recompute if you change your rib profile

Next step for me is to develop a wizard in the Air Plane Design Workbench to integrate this approach...

The file :
Sirius_2009-Wing.FCStd
(362.66 KiB) Downloaded 35 times
Fred
User avatar
hammax
Posts: 1209
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Air Plane Design Workbench - discussion thread

Postby hammax » Sun Jan 05, 2020 7:05 pm

Warning:
Don't store your own Data, Examples and Pictures under the folder "AirPlaneDesign"
they get lost when updating AirPlaneDesignWB.

AirPlaneDes.PNG
AirPlaneDes.PNG (5.59 KiB) Viewed 937 times
a179308
Posts: 33
Joined: Wed Oct 03, 2018 5:39 pm
Contact:

Re: Air Plane Design Workbench - discussion thread

Postby a179308 » Sun Jan 05, 2020 7:38 pm

To answer to Will_C https://forum.freecadweb.org/viewtopic. ... 37#p358037 :
"I would have two questions regarding your WB.

1) What is the intent of the property "Rib Profil" which i circled in the attached Picture?
I can change the profile by typing in a new number in the section "Naca Profil".
Is Rib Profil only necessary if I want to use a DAT file?
"
question ribprofile.JPG
question ribprofile.JPG (27.29 KiB) Viewed 931 times
the "Rib profile" field is either the name of the DAT file if the "Naca Profile" field is empty; if the Naca Profile field is filled, the value in the "Rib profile" field is not taken into account.

2) Is it possible to select and/or attach the rib geometry to a vertex?
When I create a rib it just appears at a random point and I didn't find a way to set the origin during creation.
It would be helpful if I could fix the leading edge of the rib to a parametric vertex.


At this point it is not possible, but can you share a file with an example so that I understand what you want to do?

Fred
Will_C
Posts: 8
Joined: Wed Jan 01, 2020 1:49 pm

Re: Air Plane Design Workbench - discussion thread

Postby Will_C » Mon Jan 06, 2020 3:50 pm

a179308 wrote:
Sun Jan 05, 2020 7:38 pm

At this point it is not possible, but can you share a file with an example so that I understand what you want to do?

Fred
I'm currently working on a construction of a model plane based on a pdf-sketch.
Since I'm not used to FreeCAD yet, I am trying different approaches to design the model.

My current approach is to create a system of wires with parametric edges and vertices which define the significant shape of the model as shown below. The resulting vertices clearly define later positions for ribs, frames and other supports.
Model Wires.JPG
Model Wires.JPG (65.27 KiB) Viewed 885 times
Based on that I want to allign the objects (e.g. ribs) which will create the faces/outer hull of the model. I wanted to use tools from the CurvesWB
to get the surfaces and therefore wanted to allign the NACA profiles from your WB to my vertices.

I "parametrized" the position of the NACA profiles by linking the Placement to the position of the respective vertice of my wire drawing.
Not ideal since I have to be super carefull not to run into topological problems but it is ok for the moment.
I'll probably have to redo the model a few times anyway until I find the right approach.

Here's am example of the Elevator:
Elevator1.JPG
Elevator1.JPG (40.44 KiB) Viewed 885 times
The blue circle above shows the vertex I'm adressing in the placement of the NACA profile below.
I did the same with the chord length by using the distance of two vertices from my sketch.
This doesn't allow me to get an angle, but it should give me the precision needed for creating faces or solids from the sketches.
Elevator2.JPG
Elevator2.JPG (54.37 KiB) Viewed 885 times
And thank you for the wing example. I will take a look into it. I'm sure this will simplify my workflow.

BR,
Will
User avatar
hammax
Posts: 1209
Joined: Thu Jan 19, 2017 5:03 pm
Location: Ammersee

Re: Air Plane Design Workbench - discussion thread

Postby hammax » Wed Jan 15, 2020 6:48 am

… a little "plane-impression" resulting from answering Will's CurvesWB questions concerning fuselage.
https://forum.freecadweb.org/viewtopic. ... 30#p359167
Only by eye, done without AirPlaneDesignWB, but maybe a food for it.

LittlePlane.PNG
LittlePlane.PNG (24.07 KiB) Viewed 783 times
Attachments
GordLoft_4.FCStd
(129.61 KiB) Downloaded 26 times
User avatar
Zolko
Posts: 1093
Joined: Mon Dec 17, 2018 10:02 am

Re: Air Plane Design Workbench - discussion thread

Postby Zolko » Tue Feb 04, 2020 1:35 pm

a179308 wrote:
Sun Jan 05, 2020 6:06 pm
I've have started a Air Plane Design Workbench
...
You can use this discussion thread to interact with me.
Hi, would this WB help in designing a rib construction wing ? Specifically, would it allow to make a geodesique (or geodetic ?) wing structure ?


Image Image
try the Assembly4 workbench for FreCAD v0.19
install with Tools > Addon Manager > Assembly4 — tutorials here and here
unclesal
Posts: 3
Joined: Sat Apr 13, 2019 3:41 am

Installation problem

Postby unclesal » Tue Oct 27, 2020 3:23 pm

Hello and thank you very much for your work.

I'm interested in looking at your module.
I have installed it using the plugin manager. When I turn on the workbench,
I see next message. Gentoo Linux, Qt=5.15.1. Tell me please, what is wrong?

Code: Select all

20:09:01  No module named 'PySide2.QtUiTools'
20:09:01  Traceback (most recent call last):
  File "<string>", line 58, in Initialize
  File "/home/sal/.FreeCAD/Mod/AirPlaneDesign/airPlanePanel.py", line 31, in <module>
    from airPlaneRib import WingRib, ViewProviderWingRib
  File "/home/sal/.FreeCAD/Mod/AirPlaneDesign/airPlaneRib.py", line 32, in <module>
    from airPlaneDesignProfilUI import SelectObjectUI
  File "/home/sal/.FreeCAD/Mod/AirPlaneDesign/airPlaneDesignProfilUI.py", line 22, in <module>
    from PySide import QtCore, QtGui, QtUiTools
  File "/usr/lib64/freecad/Ext/PySide/QtUiTools.py", line 1, in <module>
    from PySide2.QtUiTools import *
a179308
Posts: 33
Joined: Wed Oct 03, 2018 5:39 pm
Contact:

Re: Air Plane Design Workbench - discussion thread

Postby a179308 » Tue Oct 27, 2020 8:29 pm

Hello
Which version of FreeCad do you have installed ?
Fred
unclesal
Posts: 3
Joined: Sat Apr 13, 2019 3:41 am

Re: Air Plane Design Workbench - discussion thread

Postby unclesal » Wed Oct 28, 2020 5:08 am

OS: Gentoo/Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22834 (Git)
Build type: Release
Branch: (HEAD detached at refs/git-r3/HEAD)
Hash: 34154019168b2f6fc9e2dc673f80ca936cfb61b6
Python version: 3.7.9
Qt version: 5.15.1
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Russian/Russia (ru_RU)