Skip to main content
10-Marble
March 13, 2023
Question

Is it possible to automate the sketch process and shape generation?

  • March 13, 2023
  • 3 replies
  • 2326 views

 

Dear community,

 

I have trouble with 3D model creation.
I have the location coordinates (x, y) of the 3D model, but it is complicated and too many to handle.
Consequently, it takes a lot of time to draw the 2D profile.

If we draw the 2D profile from its location coordinates automatically, it would be a great help.
In addition, all models have a cylindrical shape. It would also be a great help for me if we rotate the profile on z axis automatically.


Could anyone have an idea to do this?

 

3 replies

24-Ruby III
March 13, 2023

@Yu_707 wrote:

 

Dear community,

 

I have trouble with 3D model creation.
I have the location coordinates (x, y) of the 3D model, but it is complicated and too many to handle.
Consequently, it takes a lot of time to draw the 2D profile.

If we draw the 2D profile from its location coordinates automatically, it would be a great help.
In addition, all models have a cylindrical shape. It would also be a great help for me if we rotate the profile on z axis automatically.


Could anyone have an idea to do this?

 


Hi,

if you have some programming skills then you can generate DXF file using known coordinates and then import it into Creo in Sketcher mode.

Yu_70710-MarbleAuthor
10-Marble
March 13, 2023

 

Hi Martin,

 

Thank you for a great idea. This method would be a choice for the automation.

 

By the way, do you knoew it is possible to draw the sketch directoly for the coordinates with using toolkit API? 

 

Best,

24-Ruby III
March 13, 2023

@Yu_707 wrote:

 

Hi Martin,

 

Thank you for a great idea. This method would be a choice for the automation.

 

By the way, do you knoew it is possible to draw the sketch directoly for the coordinates with using toolkit API? 

 

Best,


Hi,

I am not API expert, therefore I have no idea.

tbraxton
22-Sapphire II
March 13, 2023

Can you post an example of one of these sketches? How many unique profiles are required to create? Creo in general does not perform well with complex sketches (many entities with many constraints). In most cases you will be better off with multiple sketches rather than one. Seeing an example of what you need to create will allow for specific recommendations.