Louver - rotation - Grasshopper2024-03-28T20:26:32Zhttps://www.grasshopper3d.com/forum/topics/louver-rotation?commentId=2985220%3AComment%3A1763501&feed=yes&xn_auth=nohow can I apply the same conc…tag:www.grasshopper3d.com,2018-06-06:2985220:Comment:19133552018-06-06T07:51:59.462Zabdullah y. ibrahimhttps://www.grasshopper3d.com/profile/abdullahyibrahim
<p style="background-color: transparent; color: #000000; font-family: Verdana,Geneva,Tahoma,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px 0px 6.5px 0px;">how can I apply the same concept but on a curved panel as a reference instead of a straight one?</p>
<p style="background-color: transparent; color: #000000; font-family: Verdana,Geneva,Tahoma,sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px 0px 6.5px 0px;">how can I apply the same concept but on a curved panel as a reference instead of a straight one?</p> I'm really done on this one,…tag:www.grasshopper3d.com,2017-06-06:2985220:Comment:17642902017-06-06T02:52:49.845ZJoseph Osterhttps://www.grasshopper3d.com/profile/JosephOster
<p>I'm really done on this one, Camila, sorry. </p>
<p>I'm really done on this one, Camila, sorry. </p> Hi Joseph,
I adapt your algo…tag:www.grasshopper3d.com,2017-06-06:2985220:Comment:17640992017-06-06T01:56:46.201ZCamila Leonehttps://www.grasshopper3d.com/profile/CamilaLeone
<p>Hi Joseph,</p>
<p></p>
<p>I adapt your algorithm because what I want is subdivide the surface and the result be like image attached. This way it's a good idea? because with what I did, the angle louver have problem again ;/</p>
<p>Is it possible subdivide surface on another way?</p>
<p></p>
<p>Thank you</p>
<p>Hi Joseph,</p>
<p></p>
<p>I adapt your algorithm because what I want is subdivide the surface and the result be like image attached. This way it's a good idea? because with what I did, the angle louver have problem again ;/</p>
<p>Is it possible subdivide surface on another way?</p>
<p></p>
<p>Thank you</p> on planes tangent to the curv…tag:www.grasshopper3d.com,2017-06-05:2985220:Comment:17636682017-06-05T01:34:10.117ZJoseph Osterhttps://www.grasshopper3d.com/profile/JosephOster
<blockquote><p>on planes tangent to the curve</p>
</blockquote>
<p>P.S. I mis-spoke there. Sweep station curves (rectangles in this case) are on planes <em><strong>perpendicular</strong></em> to the curve's tangent at each point. 'PFrames' in the <a href="http://www.grasshopper3d.com/forum/topics/louver-rotation?commentId=2985220%3AComment%3A1763404" rel="nofollow" target="_blank">latest effort</a> (…</p>
<blockquote><p>on planes tangent to the curve</p>
</blockquote>
<p>P.S. I mis-spoke there. Sweep station curves (rectangles in this case) are on planes <em><strong>perpendicular</strong></em> to the curve's tangent at each point. 'PFrames' in the <a rel="nofollow" href="http://www.grasshopper3d.com/forum/topics/louver-rotation?commentId=2985220%3AComment%3A1763404" target="_blank">latest effort</a> ( <a rel="nofollow" href="http://www.grasshopper3d.com/forum/attachment/download?id=2985220%3AUploadedFile%3A1763405">Louvers_2017Jun4a.gh</a> ), re-aligned "parallel to the base surface".</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769293122?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769293122?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p> Well, I couldn't let this go.…tag:www.grasshopper3d.com,2017-06-05:2985220:Comment:17634042017-06-05T01:04:01.577ZJoseph Osterhttps://www.grasshopper3d.com/profile/JosephOster
<p>Well, I couldn't let this go... It nagged at me, so I tried a different approach.</p>
<p>Of the four edges on each subsurface, I was using the first one for the rail - 'List Item' w/ i=0. Instead, I made 'i' an integer slider, 0 to 3, to choose any edge as the pivot axis (vertical or horizontal). Then I used 'PFrames' on that edge and figured out a way to align them using the surface normal vector at each point ('Srf CP' and 'EvalSrf'). I had to use the base surface for that instead of…</p>
<p>Well, I couldn't let this go... It nagged at me, so I tried a different approach.</p>
<p>Of the four edges on each subsurface, I was using the first one for the rail - 'List Item' w/ i=0. Instead, I made 'i' an integer slider, 0 to 3, to choose any edge as the pivot axis (vertical or horizontal). Then I used 'PFrames' on that edge and figured out a way to align them using the surface normal vector at each point ('Srf CP' and 'EvalSrf'). I had to use the base surface for that instead of the subsurfaces because surface normals are "messed up" at the edges.</p>
<p>Now it's very easy to have as many stations for 'Sweep 1' as you want, which makes it possible to have full length louvers without torsion wreaking havoc. I replaced my edge slider with a feature to easily switch between Vertical and Horizontal, changing the UV dimensions as well as which edge (left or top) is used for the sweep rail.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769293412?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769293412?profile=RESIZE_1024x1024" width="721" class="align-full"/></a>There is a flaw in "louver width", causing the louvers to overlap slightly. I understand why, and as I write this, an idea of how to fix it occurs to me... But I'll leave that alone for now.</p>
<p></p>
<p>I left my "Tree/List Viewer" tool in place this time so you can see how I use it. Three copies in this case, the second and third controlled by 'path idx' and 'list idx' sliders in the first one. Yellow is the 'PFrame' tree, cyan is the surface normal frame and black is the aligned frame ('Align' output). Being able to visually inspect geometry like that is really important for me in understanding GH!</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769293135?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769293135?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769293686?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769293686?profile=original" width="468" class="align-full"/></a></p>
<p>There is still room for improvement...</p>
<p>Aloha</p> There may be better ways to o…tag:www.grasshopper3d.com,2017-06-04:2985220:Comment:17635072017-06-04T21:05:20.761ZJoseph Osterhttps://www.grasshopper3d.com/profile/JosephOster
<p>There may be better ways to orient those base planes for the rectangular stations used by 'Sweep 1'. It can be frustrating. I struggled a bit on this one myself, but I knew from experience that sweep would work on this problem, provided those end rectangles are "square" to the curve, on planes tangent to the curve and parallel to the base surface. Until that's done, I would disable the slow 'Swp1' component.</p>
<p>There may be better ways to orient those base planes for the rectangular stations used by 'Sweep 1'. It can be frustrating. I struggled a bit on this one myself, but I knew from experience that sweep would work on this problem, provided those end rectangles are "square" to the curve, on planes tangent to the curve and parallel to the base surface. Until that's done, I would disable the slow 'Swp1' component.</p> Thank you, very much. I'll ad…tag:www.grasshopper3d.com,2017-06-04:2985220:Comment:17635062017-06-04T20:26:45.429ZCamila Leonehttps://www.grasshopper3d.com/profile/CamilaLeone
<p>Thank you, very much. I'll adapt a doubt of the other one, to solve this problem. </p>
<p></p>
<p></p>
<p>Thank you, very much. I'll adapt a doubt of the other one, to solve this problem. </p>
<p></p>
<p></p> I learned right here on this…tag:www.grasshopper3d.com,2017-06-04:2985220:Comment:17633932017-06-04T20:17:03.009ZJoseph Osterhttps://www.grasshopper3d.com/profile/JosephOster
<p>I learned right here on this forum, reading and understanding code written by others (as I still do!), studying many tutorials, asking questions when I got stuck. My long career as a programmer helps in some respects, but GH is so very different that I too struggled mightily with data trees, as everyone does at first.</p>
<p>I left a "Tree/List Viewer" tool in the code I posted earlier that I wrote myself. That tool, along with connecting text panels to see component output as data trees,…</p>
<p>I learned right here on this forum, reading and understanding code written by others (as I still do!), studying many tutorials, asking questions when I got stuck. My long career as a programmer helps in some respects, but GH is so very different that I too struggled mightily with data trees, as everyone does at first.</p>
<p>I left a "Tree/List Viewer" tool in the code I posted earlier that I wrote myself. That tool, along with connecting text panels to see component output as data trees, is critical to almost every bit of GH code of any complexity that I write.</p>
<p>As to horizontal louvers, I would do them the same way as the vertical louvers. But I'm not gonna do that for you, sorry. Struggle is part of the learning process. The best way I know is to <em><strong>thoroughly understand</strong></em> every step of any GH code you see, or any that you write.</p>
<p>Have fun.</p> Thank you Joseph ! Where did…tag:www.grasshopper3d.com,2017-06-04:2985220:Comment:17636422017-06-04T19:25:53.498ZCamila Leonehttps://www.grasshopper3d.com/profile/CamilaLeone
<p>Thank you Joseph ! Where did you learn grasshopper? I'd like to know how to solve the problems like you.. I'm trying this things a lot of time !</p>
<p>Could I aks you one more thing?</p>
<p>I did a different algorithm to horizontal louver, but have the some problem. The some angle rotation, represents different rotation, if you look the first and last louver, for example.</p>
<p>Thank you Joseph ! Where did you learn grasshopper? I'd like to know how to solve the problems like you.. I'm trying this things a lot of time !</p>
<p>Could I aks you one more thing?</p>
<p>I did a different algorithm to horizontal louver, but have the some problem. The some angle rotation, represents different rotation, if you look the first and last louver, for example.</p> Just for fun (and because I d…tag:www.grasshopper3d.com,2017-06-04:2985220:Comment:17633872017-06-04T18:20:30.296ZJoseph Osterhttps://www.grasshopper3d.com/profile/JosephOster
<p>Just for fun (and because I didn't want to bother implementing my earlier suggestion today), I reordered the sequence of 'SubSrf' components to eliminate the gaps when U > 1. If this were a building, it could be useful to have sectioned louvers anyway, since sunlight angles are very different from top to bottom. It might be useful to partition the list from the second 'SubSrf' into rows and columns?</p>
<p>Also made it easy to apply the louvers to all sides of the building at the same…</p>
<p>Just for fun (and because I didn't want to bother implementing my earlier suggestion today), I reordered the sequence of 'SubSrf' components to eliminate the gaps when U > 1. If this were a building, it could be useful to have sectioned louvers anyway, since sunlight angles are very different from top to bottom. It might be useful to partition the list from the second 'SubSrf' into rows and columns?</p>
<p>Also made it easy to apply the louvers to all sides of the building at the same time.</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769294266?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769294266?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769294548?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769294548?profile=original" width="447" class="align-full"/></a></p>