GC Tween Node?

Rhino has this cool tool called TweenCurve and TweenSurface

Is there a quick way to replicate this tweening functionality for parameters?

1. Mstn Parametric Solid Extrusion A. Length parameter= 1.0m, located at say 0,0,0.

2. Mstn Parametric Solid Extrusion B. Length parameter= 5.0m, , located at say 15,15,0.

3. Drop GC Tween Node in Symbolic View. Select Mstn Solid A and B.

4. Select Parametric Solid parameter to tween. Enter Number of tweens. Default: Tween node calculates x,y,z distance between the two selected elements.

5. User confirms. Tween node does the tweening. Edit: the tween'd solids' extrusion lengths would interpolate between 1.0m and 5.0m, and the new solids be located between A & B with equal spacings as a default.

6. User uses Move command to move Solid A. Tween node updates the tweened elements.

7. User uses Move command to move Solid B. Tween node updates the tweened elements.

Parents
  • Here's something I have tried by simple interpolation between the curves.


    It works well with the bspline curves.However, some modifications need to be done for Polyline and Polygons. 

    I have attached the Packer file and sample file. Please let me know if it helps.

    Curve interpolation sample file.dgn https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/360/CurveInterpolation.gcp

Reply
  • Here's something I have tried by simple interpolation between the curves.


    It works well with the bspline curves.However, some modifications need to be done for Polyline and Polygons. 

    I have attached the Packer file and sample file. Please let me know if it helps.

    Curve interpolation sample file.dgn https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/360/CurveInterpolation.gcp

Children