2d offset - controlled output - Grasshopper2024-03-28T23:01:32Zhttps://www.grasshopper3d.com/forum/topics/2d-offset-controlled-output?commentId=2985220%3AComment%3A1478419&feed=yes&xn_auth=noPerfect. Thankstag:www.grasshopper3d.com,2016-03-06:2985220:Comment:14784192016-03-06T14:53:15.255ZMorten Ydefeldthttps://www.grasshopper3d.com/profile/MortenYdefeldt
<p>Perfect. Thanks</p>
<p>Perfect. Thanks</p> Some references to give conte…tag:www.grasshopper3d.com,2016-03-06:2985220:Comment:14784162016-03-06T14:30:05.548ZNik Willmorehttps://www.grasshopper3d.com/profile/NikFromNYC
<p>Some references to give context to Morten's strategy:</p>
<p></p>
<p><a href="http://cga.yonsei.ac.kr/uploads/planar_curve_offset_base_on_circle_approximation.pdf" target="_blank">http://cga.yonsei.ac.kr/uploads/planar_curve_offset_base_on_circle_approximation.pdf</a></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769116513?profile=original" target="_self"><img class="align-full" src="http://storage.ning.com/topology/rest/1.0/file/get/2769116513?profile=original" width="640"></img></a></p>
<p>Clipper plug-in:…</p>
<p></p>
<p></p>
<p>Some references to give context to Morten's strategy:</p>
<p></p>
<p><a href="http://cga.yonsei.ac.kr/uploads/planar_curve_offset_base_on_circle_approximation.pdf" target="_blank">http://cga.yonsei.ac.kr/uploads/planar_curve_offset_base_on_circle_approximation.pdf</a></p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769116513?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769116513?profile=original" width="640" class="align-full"/></a></p>
<p>Clipper plug-in:</p>
<p></p>
<p><a href="http://www.food4rhino.com/project/clipper?ufh" target="_blank">http://www.food4rhino.com/project/clipper?ufh</a></p>
<p></p>
<p>Mention of image-based strategies:</p>
<p></p>
<p><a href="http://fcacciola.50webs.com/Offseting%20Methods.htm" target="_blank">http://fcacciola.50webs.com/Offseting%20Methods.htm</a></p> It generates the set offset c…tag:www.grasshopper3d.com,2016-03-06:2985220:Comment:14785202016-03-06T13:41:58.728ZMorten Ydefeldthttps://www.grasshopper3d.com/profile/MortenYdefeldt
<p>It generates the set offset curves and some of them will inevitably be junk. I 'discover' the junk by inserting one point on each curve and check if the distance to the closest point on the original curve, is the actual offset distance, if it's not due to junk geometry it's culled.</p>
<p><br/> As Nik show it's possible to give it geometry that will fail.</p>
<p>It generates the set offset curves and some of them will inevitably be junk. I 'discover' the junk by inserting one point on each curve and check if the distance to the closest point on the original curve, is the actual offset distance, if it's not due to junk geometry it's culled.</p>
<p><br/> As Nik show it's possible to give it geometry that will fail.</p> If you turn on preview for so…tag:www.grasshopper3d.com,2016-03-06:2985220:Comment:14782622016-03-06T07:32:54.771ZNik Willmorehttps://www.grasshopper3d.com/profile/NikFromNYC
<p>If you turn on preview for some of his intermediate components, you see wild curve overshoot overlaps that I guess are then manually split and junk is culled. Both Grasshopper and lesser so Rhino are terrible at offsets. They don't have good robust *algorithms* made to just work. Edge concavities for instance, such a simple thing, can blow up offset, returning fragments or the wrong object, like just the hole instead of deleting the resulting hole and giving the desired overall object…</p>
<p>If you turn on preview for some of his intermediate components, you see wild curve overshoot overlaps that I guess are then manually split and junk is culled. Both Grasshopper and lesser so Rhino are terrible at offsets. They don't have good robust *algorithms* made to just work. Edge concavities for instance, such a simple thing, can blow up offset, returning fragments or the wrong object, like just the hole instead of deleting the resulting hole and giving the desired overall object offset. Here I've removed the negative number modifier to give an outside offset:</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769115792?profile=original" target="_self"><img src="http://storage.ning.com/topology/rest/1.0/file/get/2769115792?profile=original" width="540" class="align-full"/></a></p> Hi. Morten. Your definition i…tag:www.grasshopper3d.com,2016-03-03:2985220:Comment:14763932016-03-03T11:49:09.494Zkwanphil chohttps://www.grasshopper3d.com/profile/kwanphilcho
<p>Hi. Morten. Your definition is really interesting. It has been a while that I am trying to achieve something similar. Could you please explain your definition a bit? Thanks in advance.</p>
<p></p>
<p></p>
<p>Hi. Morten. Your definition is really interesting. It has been a while that I am trying to achieve something similar. Could you please explain your definition a bit? Thanks in advance.</p>
<p></p>
<p></p> I have modified this definiti…tag:www.grasshopper3d.com,2016-01-21:2985220:Comment:14444962016-01-21T22:11:07.077ZMorten Ydefeldthttps://www.grasshopper3d.com/profile/MortenYdefeldt
<p>I have modified this definition a bit.. It also supports multiple curves.</p>
<p>I have modified this definition a bit.. It also supports multiple curves.</p> Is it possible to feed it a s…tag:www.grasshopper3d.com,2016-01-21:2985220:Comment:14441472016-01-21T14:52:45.243ZMorten Ydefeldthttps://www.grasshopper3d.com/profile/MortenYdefeldt
<p>Is it possible to feed it a series instead of just a single number? (Not as it is right now I can tell) but how would that be possible? I need to 'fill' a shape with offsets like this is order to make a 'pocket' for a CAM definition..</p>
<p>Is it possible to feed it a series instead of just a single number? (Not as it is right now I can tell) but how would that be possible? I need to 'fill' a shape with offsets like this is order to make a 'pocket' for a CAM definition..</p> awesome.. thanks!!tag:www.grasshopper3d.com,2012-02-27:2985220:Comment:5449032012-02-27T18:29:40.088ZYasser Hafizshttps://www.grasshopper3d.com/profile/yasser_h
<p>awesome.. thanks!!</p>
<p>awesome.. thanks!!</p> Dude, your definition is real…tag:www.grasshopper3d.com,2011-12-19:2985220:Comment:5023982011-12-19T18:30:05.020ZArie-Willem de Jonghhttps://www.grasshopper3d.com/profile/aw
<p>Dude, your definition is really clever! The part where you check the intersection of every curve but not itself is really usefull. I figured it out to, but not as elegant and effective as this! Thanks for sharing and keep up the great work! Cheers!</p>
<p>Dude, your definition is really clever! The part where you check the intersection of every curve but not itself is really usefull. I figured it out to, but not as elegant and effective as this! Thanks for sharing and keep up the great work! Cheers!</p> Great!
Thanks for sharing.tag:www.grasshopper3d.com,2010-11-23:2985220:Comment:1356862010-11-23T18:26:40.917ZDavid Woodhttps://www.grasshopper3d.com/profile/David74
Great!<br />
<br />
Thanks for sharing.
Great!<br />
<br />
Thanks for sharing.