Hi Thiru,

it depends a bit on how you've defined your cylinders. If you don't
know the angle at which they're positioned, this will prove to be
quite tricky. If you can reliably reverse-engineer the angle (for
example by projecting the center of the cylinder onto the underlying
surface and extracting the normal vector) this ought to be possible.

If everything else fails, it may be possible to feed the cylinders
into a VB script component and really get down with BRep methods to
try and find the angle of the bottom-most, planar, trimmed surface in
the Brep.

Can you post an example file (keep it small please, a single cylinder
is probably sufficient for testing purposes.

--
David Rutten
[email protected]
Robert McNeel & Associates



On Feb 21, 8:09 pm, Thiru <[email protected]> wrote:
> Hi i got a lot of flat cylinders as panels on a surface, but i would
> like to move rotate so they all are planar to xy plane, and then move
> them from xyz plane down to xy.
>
> Is there any smart way to this? because every cylinder  has an
> different angle in the 3d space.
>
> Any way thx.

Reply via email to