Blades and turbine
Hi all,
I want to draw a turbine (blades + tree) using salomé,I draw the first blade (with this coordinates):
(1,8.0,6); (2.1; 8.4, 0.4); (6.1, 7.9, 0.9); (6.1, 6.5, 1.4); (2.1, 6, 2.2); (1, 6.4, 2)
Then I choise the "multi-rotation" (4 rotations)
THen I draw the "tree of turbine"
But when I get the "Fuse" operation of the blades "multi-rotation" with the "tree of turbine = cylinder" I get this error message :
BOOLEAN OPERATION WILL NOT BE PERFORMED, BECAUSE SHAPE IS NOT VALID
and don't understund this error, Do you have an idea please
THansk
Hey Stephane
I fixed your script. You did a common mistake of most beginners, you created a planar face on a non-planar wire.
St.Michael
Hi Michael,
Thanks for your help,Could you explain what you changed in the initial draw to make it work the "fuse". Because I want to drow other turbine with new coordinates.
How did you handle and Where.. You're right I biginners with salome 
Thanks
When you create a face from edges, there is a check box "Try to create a planar face". In your case it should be switched off. In python, the last argument of geompy.MakeFaceWires() corresponds to this check box.
In your script:
Face_1 = geompy.MakeFaceWires([Line_1, Line_2, Line_3, Line_4, Line_5, Line_6], 1)
but it should be
Face_1 = geompy.MakeFaceWires([Line_1, Line_2, Line_3, Line_4, Line_5, Line_6], 0)
St.Michael
Euuh yes thank you very much,
I'm sorry, I will to ask other question, can I change this "1" by "0" on GUI mode? if yes, in wich "menu" please?
It's good I've found, "try to create .." Thanks a lotttttttt 
Previously stephane gad wrote:
Euuh yes thank you very much,
I'm sorry, I will to ask other question, can I change this "1" by "0" on GUI mode? if yes, in wich "menu" please?
Hi, I'm a new one, and I read that thread very carefully.
I have a question about generation of blade. In that case stephane used similar faces to generate.
Does there other posibilities exits to generate the blade (radial impeller blade)?
In my case I have only cartesian coordinates (x,y), 21 points, so I can generate a curve/spline.
Now I can generate an extrusion of the spline, I get a "blade face" (the height of extrusion is currently unimportant).
How can I generate a thickness of that blade face and in result a solid blade now?
Thanks
radionline
Hi
As far as I see you get a "blade face" by extruding your blade profile (curve) and you want to get a solid instead of a face. You can first create a face from you blade profile, which should be closed, and then extrude this face into a solid.
St.Michael
Hello Michael,
In this exampl, I want to "fuse" multi-rotations" with "cylinder1" but I have this error:
Boolean operation aborted : non valid result
could you see this file please?
Thanks
First, you again try to create planar faces 
Second, try to deep the blades into the cylinder, because tangent interferences are difficult for boolean operations. See an image
St.Michael
normally I unchecked "try to create a planar face"! (it did not work then
)
I'll try again and I'll let you know
Thanks
Hi Michael,
thanks for your quick reply. Did Salome have a way to import points out of a data sheet like P1 (x1;y1;z1), P2 ...Pn?
Like *.txt or *.dat or similar...
Many Thanks
radionline
Hi Peter
There is no such a possibility but it easy to read point coordinates in a python script and add them to mesh.
St.Michael
You can do something in SALOME and then dump a Study into a Python script (menu File / Dump Study ) to see how to get the same thing in Python (switch off "Save GUI state" in order not to get too long script).
There are a lot of sample Python scripts provided with SALOME.
See also
http://docs.salome-platform.org/salome_6_5_0/gui/GEOM/geompy_page.html
http://docs.salome-platform.org/salome_6_5_0/gui/SMESH/smeshpy_interface_page.html
