Another approach... - Grasshopper2024-03-28T09:19:51Zhttps://www.grasshopper3d.com/forum/topics/another-approach?groupUrl=devsrf&%3Bfeed=yes&%3Bxn_auth=no&feed=yes&xn_auth=noHi there Lowell,
Well behind…tag:www.grasshopper3d.com,2015-03-12:2985220:Comment:12413322015-03-12T13:44:36.365Zjjsollyhttps://www.grasshopper3d.com/profile/jjsolly
<p>Hi there Lowell,</p>
<p>Well behind the trend but I am playing with some developable surfaces and wondered if you had ever posted the C# code for the tool you wrote? Fascinated to have a look and see if I have understood the method correctly, particularly the method by which you are finding the best ruling within the allowable domain. </p>
<p>James</p>
<p>Hi there Lowell,</p>
<p>Well behind the trend but I am playing with some developable surfaces and wondered if you had ever posted the C# code for the tool you wrote? Fascinated to have a look and see if I have understood the method correctly, particularly the method by which you are finding the best ruling within the allowable domain. </p>
<p>James</p> OK, Its kind of a mess now tr…tag:www.grasshopper3d.com,2014-02-14:2985220:Comment:10093792014-02-14T15:57:50.888ZLowell Walmsleyhttps://www.grasshopper3d.com/profile/LowellWalmsley
<p>OK, Its kind of a mess now trying to get a couple of features sorted out and lots of old stuff lying around. When I get to something a little more concise, I'll post it.</p>
<p></p>
<p>OK, Its kind of a mess now trying to get a couple of features sorted out and lots of old stuff lying around. When I get to something a little more concise, I'll post it.</p>
<p></p> Thanks for your kind comments…tag:www.grasshopper3d.com,2014-02-14:2985220:Comment:10092932014-02-14T13:24:11.027ZFred Becquelinhttps://www.grasshopper3d.com/profile/FBecquelin
<p>Thanks for your kind comments. Yes I'd love to see the c#!</p>
<p></p>
<p>Thanks for your kind comments. Yes I'd love to see the c#!</p>
<p></p> I should add that the Phasma…tag:www.grasshopper3d.com,2014-02-12:2985220:Comment:10082872014-02-12T20:35:37.418ZLowell Walmsleyhttps://www.grasshopper3d.com/profile/LowellWalmsley
<p>I should add that the Phasma system is very impressive, especially in attention to detail and completeness.</p>
<p>Way beyond what I'm doing, which is experimenting with algorithms to find rulings in developable surfaces.</p>
<p></p>
<p>Lowell</p>
<p>I should add that the Phasma system is very impressive, especially in attention to detail and completeness.</p>
<p>Way beyond what I'm doing, which is experimenting with algorithms to find rulings in developable surfaces.</p>
<p></p>
<p>Lowell</p> Hi Fred,
This started as a w…tag:www.grasshopper3d.com,2014-02-12:2985220:Comment:10083422014-02-12T19:58:51.846ZLowell Walmsleyhttps://www.grasshopper3d.com/profile/LowellWalmsley
<p>Hi Fred,</p>
<p></p>
<p>This started as a way to test approaches and not really as a production product. Its pretty crude in places, but I'm learning some things from it.</p>
<p></p>
<p>I've tried to read quickly what you did, and forgive me if I've missed big parts.</p>
<p>I think the general approach is similar - to make a way to evaluate twist across a ruling and try to find rulings with the least twist.</p>
<p>I do it by sampling points up and down the rails in a somewhat controlled way,…</p>
<p>Hi Fred,</p>
<p></p>
<p>This started as a way to test approaches and not really as a production product. Its pretty crude in places, but I'm learning some things from it.</p>
<p></p>
<p>I've tried to read quickly what you did, and forgive me if I've missed big parts.</p>
<p>I think the general approach is similar - to make a way to evaluate twist across a ruling and try to find rulings with the least twist.</p>
<p>I do it by sampling points up and down the rails in a somewhat controlled way, moving one ruling at a time, but only in the range that doesn't cross adjacent rulings, then repeat since the ranges are now changed.</p>
<p>The test I use for twist is:</p>
<p>Get a surface normal at each end of the ruling by Cross product (ruling_direction, rail_tangent) then cos(twist) = dot product of the surface normals and look for biggest result.</p>
<p>It really becomes a problem of book keeping to make sure things don't cross and that the rulings don't all migrate to easy to solve areas and to isolate areas that need more refinement etc.</p>
<p></p>
<p>Do you mean that you're interested in the c# code for the GH component?</p>
<p></p>
<p>Thanks,</p>
<p>Lowell</p>