Offset multiple curves inwards - Grasshopper2024-03-28T09:21:59Zhttps://www.grasshopper3d.com/forum/topics/offset-multiple-curves-inwards?feed=yes&xn_auth=noQuite efficient and easy to d…tag:www.grasshopper3d.com,2017-11-09:2985220:Comment:18501372017-11-09T21:14:25.003ZAlex Durohttps://www.grasshopper3d.com/profile/AlexDuro
<p>Quite efficient and easy to do the double-offset with selection of shorter curve...</p>
<p></p>
<p>Thank you!!</p>
<p>Quite efficient and easy to do the double-offset with selection of shorter curve...</p>
<p></p>
<p>Thank you!!</p> this is way more complicated…tag:www.grasshopper3d.com,2017-11-09:2985220:Comment:18498652017-11-09T20:30:20.455ZAndrew Heumannhttps://www.grasshopper3d.com/profile/AndrewHeumann
<p>this is way more complicated than it needs to be in GH. Just take all your closed curves and flip them with a circle (that only has to be roughly parallel to your curves) as the guide curve. Voila, all your curves are now winding consistently (and will therefore offset consistently)</p>
<p>this is way more complicated than it needs to be in GH. Just take all your closed curves and flip them with a circle (that only has to be roughly parallel to your curves) as the guide curve. Voila, all your curves are now winding consistently (and will therefore offset consistently)</p> I'll post some C# example soo…tag:www.grasshopper3d.com,2017-11-09:2985220:Comment:18498092017-11-09T20:00:03.973Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>I'll post some C# example soon.</p>
<p>BTW: Given the opportunity I have no idea what Clipper does ... but does that? (yellow is GH/Rhino offset, the other is the correct thing (+ same "orientations"))</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769345819?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769345819?profile=RESIZE_1024x1024" class="align-full" width="721"/></a></p>
<p>I'll post some C# example soon.</p>
<p>BTW: Given the opportunity I have no idea what Clipper does ... but does that? (yellow is GH/Rhino offset, the other is the correct thing (+ same "orientations"))</p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769345819?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769345819?profile=RESIZE_1024x1024" class="align-full" width="721"/></a></p> Most of the time I do that, b…tag:www.grasshopper3d.com,2017-11-09:2985220:Comment:18498572017-11-09T19:55:41.104ZLaurent DELRIEUhttps://www.grasshopper3d.com/profile/LaurentDelrieu
<p>Most of the time I do that, but as Rhino Offset is bad I tend to use clipper.</p>
<p>I just do the 2 offset positive negative and measure the length of the curve and I take the min length. </p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769346463?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769346463?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p></p>
<p>Most of the time I do that, but as Rhino Offset is bad I tend to use clipper.</p>
<p>I just do the 2 offset positive negative and measure the length of the curve and I take the min length. </p>
<p><a href="http://storage.ning.com/topology/rest/1.0/file/get/2769346463?profile=original" target="_self"><img width="721" src="http://storage.ning.com/topology/rest/1.0/file/get/2769346463?profile=RESIZE_1024x1024" width="721" class="align-full"/></a></p>
<p></p> How it looks in code? :) For…tag:www.grasshopper3d.com,2017-11-09:2985220:Comment:18499412017-11-09T19:34:57.548ZPetras Vestartashttps://www.grasshopper3d.com/profile/PetrasVestartas
<p>How it looks in code? :) For checking directionality of polyline winding?</p>
<p>How it looks in code? :) For checking directionality of polyline winding?</p> Indeed.
BTW: the classic way…tag:www.grasshopper3d.com,2017-11-09:2985220:Comment:18497922017-11-09T18:01:15.027Zpeter fotiadishttps://www.grasshopper3d.com/profile/peterfotiadis
<p>Indeed.</p>
<p>BTW: the classic way to check orientations is to test the <strong>DotProduct</strong> between the Z derived from a polyline Plane and some suitable "standard" vector (it could be the Z of the first plane in the polyline List, for instance). <strong>If is negative</strong> you reverse the polyline. There's another Method in RhinoCommon as well for that but requires code (and planar curves).</p>
<p>Indeed.</p>
<p>BTW: the classic way to check orientations is to test the <strong>DotProduct</strong> between the Z derived from a polyline Plane and some suitable "standard" vector (it could be the Z of the first plane in the polyline List, for instance). <strong>If is negative</strong> you reverse the polyline. There's another Method in RhinoCommon as well for that but requires code (and planar curves).</p> Hi.
Looks like your curves ar…tag:www.grasshopper3d.com,2017-11-09:2985220:Comment:18497602017-11-09T16:45:14.798ZHyungsoo Kimhttps://www.grasshopper3d.com/profile/HyungsooKim
<p>Hi.</p>
<p>Looks like your curves are not consistent in directions. Try "<a href="http://www.food4rhino.com/app/clipper-grasshopper" target="_blank">Clipper</a>" plug-in.</p>
<p>The "Polyline offset" component from clipper plug-in allows you to select the polyline as the inner offset result("H" output)measuring the length of shorter one by offsetting a polyline on both sides regardless of direction.</p>
<p>Hi.</p>
<p>Looks like your curves are not consistent in directions. Try "<a href="http://www.food4rhino.com/app/clipper-grasshopper" target="_blank">Clipper</a>" plug-in.</p>
<p>The "Polyline offset" component from clipper plug-in allows you to select the polyline as the inner offset result("H" output)measuring the length of shorter one by offsetting a polyline on both sides regardless of direction.</p>