Could anyone guide me how to use ‘Cage Edit’ using c# API?
What does this mean? You want to write your own
CageEdit command? Can you clarify what you want to do and why?
I can deform a mesh using CageEdit command in Rhino GUI. Want to automate same using c# API.
CageEdit just creates a morph control object and then turn on it’s grips you can manipulate it’s captive. Which part of this process are you looking to do?
We would like to morph triangular mesh or subD model using CageEdit. Our goal is to deform the surface model using the control points of CageEdit. We’re doing this using GUI, but would like to automate the process using C# API. Here are the steps:
- Create a CageEdit covering the mesh using bounding box control.
- User control points of the CageEdit to morph the shape.
Which API should we use to create a CageEdit using bounding box?
How can we move the control points of CageEdit through API?
Thanks for the clarification.
RhinoCommon does not have method(s) that allow you to create a morph control object and to capture another Rhino object. This is on the wish list. Your best option here is to just script the
Here is a simple example:
Let me know if you have further questions.