Offset curve on surface in GH and Rhino fillets some of my sharp edges

Hi there,

I’m struggling with the Offset on Surface command. Are there any options to control the edges of the offset? I’m getting fillets on some of my edges and I can’t decide when or where, which is quite disturbing — especially because when you offset the curves one by one, then trim and join the results, it’s working but it’s long and kind of boring

Thanks everyone

post a sample 3dm file please

Hi,

Thanks, yes the file follows.

FILLET EXEMPLE RHINO.3dm (892.2 KB)

The _OffsetCrvOnSrf command does not have options for corner styles like _Offset does, you will get rounded corners. What you could do - it will not be exact but it may be good enough - is this:

_CreateUVCrv, select the surface. This will make a rectangle and inside it the trim domain.
_Offset the trim domain with the desired corner style
_ApplyCrv, select rectangle and offset trim domain, and apply it back to the surface.

This performs the offset in parameter space, which means that the offset on the surface will not be exactly the distance you want it to be.

workflow 1

_dupEdge
_pipe
_intersect (pipe with surface)
… it s not 100% offsetCrvOnSrf as the distance is not measured along the surface.
… you need to do some clean up

workflow 2

… similar to menno’s approach
_offsetCrvOnSrfresutling in round corners as you did
_CreateUVCrv bring the new curve to 2D
subselect the unwanted rounded / fillet-curve-corners and delete them
_connect to make tue UV-Curve sharp corners
_applyCrv to bring the Curve back to the surface
… precise and quite fast workflow

workflow3

apply _offsetCrvOnSrf to the wrong segments (sub-Select) - you will get curves that are extended to the entire surface.
_trim
_join

Hi everyone,

Thank you for the light on this topic! The real thing is that I’m doing all of this on GH with maybe (surely) a lot of iterations and as I am a bit lazy, I would like to put nodes once and for all.

I will surely find a way out of this, thanks again!

For my curiosity only, why does the Offset on Surface command “choose” which angle goes sharp or not?

Thanks again and again for this beautiful software and support.

Hi again,

I finally found a pretty easy and fast workflow. You just offset the exploded edge segments on the surface, extend them until they intersect, and then split the surface with these extended curves. This will generate multiple surfaces, but most of the time the one you need (usually the largest one) will be the first in the list. That way, you don’t need a complicated list item organization—you can just extract the edges of the new surface you created.

oh and i thinked about the first workflow again, and if instead of doing it with a pipe you sweep a rectangle with perp planes around the edge you wil get the correct distance.

:slight_smile:

… the rectangle / square will make it worth:
:cold_face:

light-green - the correct length measured on the surface.
darkgreen - approximated by a circle
pink - a square

close up - light-green is a offsetCrvOnSrf (from the edge)

kind regards - tom

thanks a lot !! yes it’s seems pipe is the better option i should have dig it more, sorry.

best regards

anto :slight_smile: