Skip to main content
11-Garnet
Jul 12, 2018 12:27 PM UTC
Solved

Max dimensions for a 3D model

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).

11-Garnet
Oct 5, 2018 7:35 AM UTC

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 🙂

6 replies

20-Turquoise
Jul 12, 2018 2:48 PM UTC

@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?

https://www.ptc.com/en/support/article?n=CS195369

Translate
17-Peridot
Jul 12, 2018 4:48 PM UTC
As I know build in function in toolkit use CSY for this.
You can get outline sizes, using Modelcheck.
Translate
2-Explorer
Jul 17, 2018 3:56 AM UTC

ProSolidOutlineGet() is what you are looking for.

 

- HIH

Ketan

Translate
1-Visitor
Jul 20, 2018 8:36 AM UTC

@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.

Translate
2-Explorer
Jul 20, 2018 8:38 AM UTC

Yes, It gives max boundary.

Translate
TommyRasmussen11-GarnetAuthorAnswer
11-Garnet
Oct 5, 2018 7:35 AM UTC

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 🙂

Translate