I am trying to take any given surface and automatically orient and scale a cylinder (or a different select brep) along the surface. The oriented breps should be scaled so that they touch or nearly touch and there is no left over space between the last object and first object (when the surface is continuous).
I'll attach files so this makes more sense. In the 3dm file, I have added a sample surface and also did some layout of the objects on the surface (I did this the old fashion way/ by hand).
Any ideas of how to make this work?
Overview of what I have done so far --
1. Select Surface
2. Divide Surface into proportional sub-surfaces. Use slider to get as close to 1.0 as possible. This could probably be automated to select the correct division automatically. I did not know how to do this.
3. Get the midpoint of each sub surface.
Thank you!
Walt
Tags:
- Attachments:
-