Offsetting curve inwards

Trying to offset this curve inwards, but i don’t seem to know how to get it to offset inwards to itself. Attaching the file and images. Any help would be awesome. Thanks
curve offset.3dm (18.4 MB)

You have to know that computers are dumb, that curve in 3D space does not know what “inward" means in your case. You should give the curve more information. The easiest way would be to make a surface from those curves, maybe a patch, then offset on surface.

3 Likes

if you need to offset a 3d curve use ribbonoffset. (v7 only)

in this case you will want to explode into the lower and upper curve, rebuild them as the curve is made up of a jillion small segments, then rejoin both into a closed curve.

then make a view based cplane-

then run ribbon offset.

4 Likes

I had just replied to Michael Pryor regarding this, The issue with making a surface with the curves all started because in order to get the profile shown here, my splitting object was basically a closed mesh that i had imported from maya. So i had to trim a vertical surface intersecting the closed mesh, using the meshtrim function. That converted the resulting trimmed surface into a mesh, and i couldn’t offset the crv along the mesh. That’s why i duplicated the border and tried offsetting just that. Anyway, managed to get it to work. I imported a single open mesh from maya, and used that to split the surface. That worked, and the i offseted the curve along the surface. Thank you for helping out too, i at least know that this is also an optional method now
:slight_smile:

The issue with making a surface with the curves all started because in order to get the profile shown here, my splitting object was basically a closed mesh that i had imported from maya. So i had to trim a vertical surface intersecting the closed mesh, using the meshtrim function. That converted the resulting trimmed surface into a mesh, and i couldn’t offset the crv along the mesh. That’s why i duplicated the border and tried offsetting just that. Anyway, managed to get it to work. I imported a single open mesh from maya, and used that to split the surface. That worked, and the i offseted the curve along the surface. Thanks for your help
:slight_smile:

1 Like

It seems that in 2D Offset is better than RibbonOffset.

depends if its a 2d or 3d curve. offset works better for 2d, ribbon offset works better for 3d.

1 Like

Hey Andrew,
can you post this file with both results? Dev thinks they can tune up ribbon offset to work better in this case.

thanks for reporting this-

This model/file is gone. (I dived into Recycle Bin looking for it.)

ok, if you find another case that fails, please post it so we can debug and tune up the code.