cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

evaloutline issue

Manjunath
13-Aquamarine

evaloutline issue

Hi all,

I want to retrieve  bounding box dimension of a model. I use IpfcSolid.Evaloutline(), but the return value dosent reflect the actual size. I have attached the image of results for 600X325X10 outline calculation. Kindly throw some light why there is a deviation. This is not the same when I use IpfcSolid.Geomoutline().

ACCEPTED SOLUTION

Accepted Solutions
GabrielZaha
13-Aquamarine
(To:Manjunath)

According to the vbapi documentation regarding EvalOutline, only coordinate systems, axes and points can be excluded.

View solution in original post

5 REPLIES 5

Hi,

 

I guess no user knows how IpfcSolid.Evaloutline() works. I think it returns expected values when your model is simple brick. When your model has complex shape then it returns unexpected values.


Martin Hanák
Manjunath
13-Aquamarine
(To:MartinHanak)

Martin,

 

Thanks for the reply. I could resolve the issue.

Thanks again

GabrielZaha
13-Aquamarine
(To:Manjunath)

EvalOutline and GeomOutline both returns the bounding box extremities of a solid with some notable differences.

 

GeomOutline is a property of the solid. It always return the coordinates relative to the default coordinate system and it takes in consideration ALL entities (solid and non-solid).

If you have a coordinate system that is far away from the solid model it will affect your result.

 

EvalOutline give you the possibility to choose the coordinate system to use to report the coordinates. You need to pass the transformation matrix for that.

Also it has the option to filter out some of the non-solid items(coordinate systems, axes and points)

Manjunath
13-Aquamarine
(To:GabrielZaha)

Gabriel ,

Thanks for the reply. 

Spoiler
"Also it has the option to filter out some of the non-solid items(coordinate systems, axes and points)"
I tried the above mentioned option, its working fine but I tried to exclude datum,its not excluding.
Please you share your thoughts on this...
GabrielZaha
13-Aquamarine
(To:Manjunath)

According to the vbapi documentation regarding EvalOutline, only coordinate systems, axes and points can be excluded.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags