Skip to content

Blade rendering with Hull{} #7

@akey7

Description

@akey7

A number of folks have asked for CAD files of the IEA 15-MW blade. WISDEM can generate the coordinates at arbitrary positions along the blade, so I figured I could do this.

If given a number of objects separated in space, OpenSCAD can connect them with the Hull() {} command. So, I am generating a very dense set of spanwise slices and airfoil coordinates of the blade. I have everything in a final numpy array, I just need help with the OpenSCAD commands. I bet you could take care of this fairly quickly.

I extracted all of the WISDEM code that was speckled around different modules and put them all together in the blade-branch of the new repo:
https://github.com/IEAWindTask37/windio2cad/tree/blade/blade

At the bottom of the lofted_blade.py file, I have some notes for what OpenSCAD needs to do:
https://github.com/IEAWindTask37/windio2cad/blob/blade/blade/lofted_blade.py#L167

So, I think we just need to create a polygon of the airfoil shapes, or a polyhedron with epsilon-thickness, and OpenSCAD will combine them with the Hull-command. With regards to the polygon/polyhedron, I’m a little confused about 2-D shapes in OpenSCAD, and whether they can be placed in an arbitrary plane in 3-D space. Let me know if this makes sense to you. I’m not always positive that I’m using the correct terms.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions