algorithmic modeling for Rhino
Hello all,
I have a wind turbine blade geometry that is initially divided into 8 lengthwise strips, like so:
I am attempting to equally divide each of these 8 strips into separate surfaces (i.e. if I divided each strip into 6 shorter surfaces, I should have 48 surfaces overall). Currently I'm doing this using splitting planes and a custom script component I got from elsewhere on this forum:
Unfortunately I have some tricky criteria that I'm having trouble meeting:
1. These new surfaces cannot be trimmed. Currently I'm grabbing the edges of the new trimmed surfaces and building new surfaces using these edges. I realize this changes the geometry somewhat, and this is 100% okay for my purposes. However, I think this method is causing problems for criterion #2...
2. The new surfaces must all have the same UV directions; namely, the U-Direction for all surfaces is either "clockwise" or "counterclockwise" (either is fine, as long as they all match) AROUND the blade profile and the V-Direction is oriented lengthwise along the blade (either outward or inward, as long as they all match). Check UV directions using "Dir" in Rhino after baking.
Attached is my attempted solution. Criterion #2 is met immediately after splitting, but not #1, and vice versa after rebuilding. I've tried to put the surfaces through a sort of "filter" to switch UV directions accordingly, but I think I'm missing something. Maybe the best idea is to use a different method for splitting in the first place?
Any suggestions or help appreciated. Thanks in advance!
*the attached solution uses a component from LunchBox
Tags:
Just spotted that one.
I have several C# (no components of any kind around, mind) that do "similar" jobs (with a variety of ways : either sampling control pts or using sweep2 or using network or ... lot's of other weird methods).
I'll find the simplest possible (must be 100% suitable for your case as well) and I'll post it here.
BTW: Although - in general - "reconstructing" a polysurface into breps "contained" within section planes appears rather easy ... it's a bit case specific due to a vast amount of reasons.
more ASAP
Thanks for the response Peter, let me know if you manage to dig anything up!
Another attempted solution, in case that's helpful. If I can simply get the surface in this GH file to be divided by the series of curves, whilst maintaining the criteria above, then I should be able to solve the wider problem (I'm not 100% sure how the surface split component is working...this could be a more basic problem).
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by