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

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

Combining several models in one

ZS_10383889
10-Marble

Combining several models in one

Hello my friends, I need your generous help again.

This is not exactly the toolkit issue, but of the possibilities of Creo Parametric itself. If you think that is the wrong place to rise it, please refer me to the right forum.

So: I need to export out an .STL file from model. I use toolkit function 

ProIntfSliceFileWithOptionsMdlnameExport()

which takes ProModel handle as parameter. It works perfectly fine, but I'm required to perform an export on several models at once. My question is how do I combine several models in one?

I'm looking to the possibility of using Solid Bodies. Is this a right direction or you would recommend me any other approach?

There is a one important thing I forgot to mention - all models of this are of the same geometry and belong to the same part or assembly.

 

Thanks and BR-

ACCEPTED SOLUTION

Accepted Solutions
tbraxton
22-Sapphire I
(To:ZS_10383889)

I would create a new assembly and then add the parts required to this assembly. If they assemble by default that will make things easier. If not will have to use constraints. I would test this approach manually before writing the code to understand how the STL export behaves for outliers such as intersecting components, components that do not touch etc.

 

Here is one example of adding components to an existing assembly:

https://www.ptc.com/en/support/article/CS153755 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

View solution in original post

3 REPLIES 3
tbraxton
22-Sapphire I
(To:ZS_10383889)

If you were to create an assembly of the parts, you can export the assembly as an STL file.

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

OK, thanks.

What would be the function I should use?

 

BR -

 

tbraxton
22-Sapphire I
(To:ZS_10383889)

I would create a new assembly and then add the parts required to this assembly. If they assemble by default that will make things easier. If not will have to use constraints. I would test this approach manually before writing the code to understand how the STL export behaves for outliers such as intersecting components, components that do not touch etc.

 

Here is one example of adding components to an existing assembly:

https://www.ptc.com/en/support/article/CS153755 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Announcements


Top Tags