Hi Evan,
that's because a Rhino.Geometry.Surface is always a complete surface. It doesn't have any trimming curves. Therefore, it cannot be shrunk because it's always as big as it can possible get. A Brep however is one or more…
I'm trying to do this as well - does anyone have a simple, working vb component to shrink a trimmed surface?
I tried the code above, but get "Error: "ShrinkSurfaces' is not a member of 'Rhino.Geometry.Surface'
using…
Hi David,
I almost get running my definition (the big one).
Still a problem with join curves, it loses the list order (something that seams fixed with the explode command):
Getting 6 curves in the same list, the first 3 will join and the last 3…
Thanks David.
Small bug:
It seems the new version has some issues with polylines built with arches.
Components as Explode or Fillet, don’t work.
Thanks again for your amazing work!
Carles
Hi,
Normally it’s a problem.
But if you have the same amount of elements on each path,
what I normally do is a series of a series, like the example.
Regards,
Carlos
Carlos,
Thanks for starting this topic. It's very timely for me.
David and Damien,
Time to jump in the VB waters... I'll see you at the NY cloud event in late October.
-taz
ShrinkSurface will leave a sliver of surface if the trim curve is not parallel to an isocurve. ShrinkSurfaceToEdge will really shrink it as far as possible. ShrinkSurface is safer since it doesn't introduce cases where the surface edge and the…
Thanks Damien,
It’s true that SDK help doesn’t explain to much. Perhaps some examples in the future version could be a good idea.
I’ve been trying to learn how to use it, but I think I’m missing the fundaments.
I found this…
In general the SDK help doesn't really go far in explaining a whole lot of what it does, so I'm not surprised that the helpfile alone isn't making it. You have two options here if you want to shrink a brep...ShrinkSurface or…
Hi everybody!!! (it's my first post)I’m struggling a little bit with VB component.I’m trying to Shrink Trimed Surface to Edge, using VB component.I’ve been reading SDK help, but is not clear to me.Visual BasicPublic Function ShrinkSurface(face As OnBrepFace^%) As boolI’ve written down thisSub RunScript(ByVal x As OnBrep, ByVal y As Object)A = onbrep.ShrinkSurface(x)Somebody could tell me how to define a OnBrepFace variable?It’s the same SrinkSurface and ShrinkSurfaceToEdge?Thanks,CarlosSee More