Need some tips how I can create a function to make a dent in a surface.
I can do the following:
Ask the user to select some ControlPoints
Let them give a number
Move points in Z- direction
But then the selection will be moved and wont be “smooth”, because the inner points should be a bit more moved then the outer points. See example below:
Is there another way too easily make a dent with user input (like selection and dept)?
Any tips or tricks are welcome
P.S. I code in vb.net so from rhinoscript too rhinocommon, everything is welcome
Hi Jordy, i´ve written something attractor related for meshes long time ago, but speaking in Rhino commands, you could try to _SoftMove all control points of your surface using either a surface for your boundary or a curve as i did in the example below.
There is no equivalent to SoftMove in the SDK. You might be able to come up with something on your own - something that moves inner control points a percentage of the outer control points.
jordy1989, SoftMove alloes you to select not only a point, but also curves and surfaces as a base. This should help you use custom shapes to control the move.