Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Has anyone made a Creo toolkit application that can generate max dimensions for a given 3D model?
3 parameters must be generated in the 3D model…
The application must automatically analyze the model so it fits into the smallest possible surrounding box disregarding how the coordinate system is placed (see attached screenshots).
Solved! Go to Solution.
This idea has been posted to address the issue I am dealing with....:
https://community.ptc.com/t5/Creo-Parametric-Ideas/Bounding-Box-as-a-Feature/idi-p/574282
While we are waiting for R&D to develop it have we decided to write our own application.
Thanks for all your feedback 🙂
@TommyRasmussen wrote:
Has anyone made a Creo toolkit application that can generate max dimensions for a given 3D model?
3 parameters must be generated in the 3D model…
- MAX_LENGTH
- MAX_WIDTH
- MAX_HEIGTH
- MAX_DIAMETER for tubular parts (option)
The application must automatically analyze the model so it fits into the smallest possible surrounding box disregarding how the coordinate system is placed (see attached screenshots).
I am not a toolkit user however isn't that a built in api in toolkit?
ProSolidOutlineGet() is what you are looking for.
- HIH
Ketan
@Ketan_Lalcheta wrote:
ProSolidOutlineGet() is what you are looking for.
- HIH
Ketan
Be careful with this. Using ProSolidOutlineGet() can return a bigger outline than expected.
This function takes into consideration surfaces/curves (or others, I don't recall) that do not represent the real solid outline /dimensions.
Yes, It gives max boundary.
This idea has been posted to address the issue I am dealing with....:
https://community.ptc.com/t5/Creo-Parametric-Ideas/Bounding-Box-as-a-Feature/idi-p/574282
While we are waiting for R&D to develop it have we decided to write our own application.
Thanks for all your feedback 🙂