Tuesday, December 6, 2011

Creating Flexibility Using Pro/Program


Pro/Program can be used in a variety of ways.  In this tip we will explore using it to create added flexibility to your designs.  For basic information regarding the ProProgram functionality in Creo Elements Pro and getting started with Pro/Program follow this link.


In this example we will demonstrate regenerating a bent model with a corner radius to a straight/linear model.

D_T_Figure 1.jpgD_T_Figure 2.jpg

Step 1:


Create a sketch with 2 lines at an angle to each other.

D_T_Figure 3.jpg

Step 2:


Extrude a Surface through the sketch.

D_T_Figure 4.jpg

Step 3:


Create a Round on the corner of the surface.

D_T_Figure 5.jpg

Step 4:


Create an Intersect curve referencing the datum plane and the extruded surface feature.
D_T_Figure 6.jpg

Step 5:





Hide the extruded surface and sweep the desired geometry along the Intersect created curve.

D_T_Figure 7.jpg 

Step 6:




Editing the Program

  • Choose Tools/Program/Edit Design.
  • In the editer that the design list is opened in scroll down to the round feature that was created in the model.
  • On the line above the “Add Feature” line, type “IF d3 < 179”.  Note: (or the name of the angle dim on the first curve created in the process, if yours is not d3)
  • Then, type “END IF” after the END ADD statement line for the round feature

This tells Creo to add the round feature if the angle is specified some value less than 179, otherwise don’t regenerate the round or remove it from the design.  This results in creating the sweep feature along a straight trajectory.

D_T_Figure 8.jpg
  • Save and close the file from Notepad
  • Answer “Yes” to incorporate the changes into the model
  • TRY IT OUT!  Change the angle dimension to 180.

This is one simple example for using Pro/Program to make your designs more flexible.  See if you can extrapolate from here and use it in others ways.