Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blade rendering with Hull{} #7

Open
akey7 opened this issue Nov 5, 2020 · 0 comments
Open

Blade rendering with Hull{} #7

akey7 opened this issue Nov 5, 2020 · 0 comments
Assignees

Comments

@akey7
Copy link
Collaborator

akey7 commented Nov 5, 2020

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.

@akey7 akey7 self-assigned this Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant