Hi,
Thanks for the reply,
i manage to learn a little, and i did the attached,
but the thing i cant understand is why cant i rotate to the oposite direction
Thanks anyway but R6 spikes R5 again - incompatible EvalSrf:
I could fix that if I had an image of your code but honestly, I’ve done this kind of thing so many times that it doesn’t interest me anymore. Good luck and have fun.
P.S. Can you rotate louvers on a simple, flat (planar) rectangular surface?
I poked around the code a little bit and realize that much of it is probably from @EliabuRada and the parts you (@nikolaos.argy) created are mostly in the purple group? (below)
Having said that, I hope these comments will be received in the spirit they are offered, to help others understand Grasshopper better.
The first thing I noticed was this text panel where a value (35.2984401) is passed through the panel instead of the panel being a removable appendage. It’s generally considered “best practice” to avoid that as it can cause problems.
Next, I noticed that adjusting many of the eighteen(!) sliders (plus two Point On Curve components) has no affect on the model at all. Looking more closely, I realized that a lot of the components contribute nothing to the final output. Specifically, everything moved to the red group (below) and disabled.
I know how it goes, my own code looks that way too sometimes before I throw away the abandon parts and clean it up. But it’s easier to understand when the extraneous stuff is removed, eh? I also disabled preview for the points that obscure the louvers. Purely cosmetic, no functional changes at all.
Playing with the model, I had a hard time getting all the louvers to lay flat on the surface and started messing around… I discovered later that setting both “Domain start” and “Domain end” to 90 does the job:
But not before I “simplified” the model further by discarding the Extr (extruded) louvers and using the DeBrep ‘F’ (Faces) instead:
Yea, so many ways!
Good that you mention all the above (for cleaning the script and the tab mistake). It’s super important for other people to understand. I didn’t have much time to do that, thank you.