David,

Great suggestions and I'm going to keep them in the back of my head
for the future.

Would there be any issues when using a bounding box with planar (say
xy planar) objects?  I think the result is a degenerate box, but it
still evaluates.

Just curious if this is recommended or not.

taz

On Sep 24, 3:51 am, David Rutten <[EMAIL PROTECTED]> wrote:
> Hi b,
>
> in order to get the center of a boundingbox, use the Evaluate Box
> component and evaluate the box at {0.5, 0.5, 0.5}, this will give you
> a plane in the middle.
>
> There's no component to get the center of circles and arcs yet, though
> you could use curvature for this. Also, there's a data mapping defined
> between curves and planes; if the curve is planar, then a plane
> parameter that inherits data from a curve parameter will provide the
> plane for that curve. In the case of arcs and circles this plane is
> located at the center of the arc.
>
> --
> David
>
> On Sep 23, 6:06 pm, b <[EMAIL PROTECTED]> wrote:
>
>
>
> > Is there a simple way to get the center of a bounding box of any type
> > of object? I see that BRep area gets the centroid but this doesnt work
> > on curves or groups of objects.  Even to find the center of a circle
> > i've been using a roundabout way.  isn't there a built in component to
> > do that?
>
> > thanks- Hide quoted text -
>
> - Show quoted text -

Reply via email to