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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Trouble with features flipping when using a UDF

B_Baker
11-Garnet

Trouble with features flipping when using a UDF

I am creating a UDF of the J1926-1 feature on the end of solid round bar.

When I run the UDF on other locations, the revolves and extrudes 'flip' and do not follow the way they were created.  Using the hole command, I have been able to create the spotface, drill depth, etc without any issues.  When I run the UDF, the helical sweep cut (thread) of the feature flips. I have created other UDFs of this same feature and all appear to work correctly.  Any ideas of what I am doing wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
tbraxton
21-Topaz II
(To:B_Baker)

All of your models appear to be using legacy start parts that have accuracy set to relative and not absolute. I strongly advise you to correct this ASAP. If you are working in Creo 7 or newer this is mandatory according to PTC. If you do not do this, you are in for a world of pain going forward.

 

Creo 9 models enclosed for reference. This implementation of the UDF works on your test model. I changed the references of the helical sweep profile section. You will need to verify the dims of this feature. I have no rigorous proof of the issue in your models but as I suspected it seems to be related to the references used in the helical sweep. I changed the references of this sketch and added a csys to the sketch.

 

In general, always minimize the references used for any feature to be included in a UDF. This is a shot of the profile sketch in the helical sweep. Change your UDF definition to match this and it should work.

tbraxton_0-1704383701417.png

 

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

View solution in original post

11 REPLIES 11
tbraxton
21-Topaz II
(To:B_Baker)

Are you certain that the UDF contains a complete definition of the reference frame? If you can use a CSYS in the UDF definition that is usually quite robust. If you are using a reference that is not within the UDF that could be the issue. It is hard to tell without seeing how the UDF and target model are defined.

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

All of the References are tied to only features created in other features in the UDF.  It is tied to a centerline and the surface of a hole feature.  There are no references to features created outside of the UDF.  Is this what you are asking?

tbraxton
21-Topaz II
(To:B_Baker)

Yes, that is what I was asking in the context of the references used by the helical sweep. Are you able to flip the direction when placing the UDF and if so, does it regenerate correctly?

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

I have tried to flip it when it shows the failed feature but nothing seems to work. Feature references.GIFto view?

tbraxton
21-Topaz II
(To:B_Baker)

Put the UDF definition files and a sample target part in a zip archive and post them here. Without the files it is difficult to diagnose.

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

J1926-1_CYLINDER-END is the model that I am using to create the UDF .

Test-3017 is tha latest UDF that was created.

B_Baker
11-Garnet
(To:B_Baker)

Just FYI, this UDF is ultimately to be used in Smart Assembly.

tbraxton
21-Topaz II
(To:B_Baker)

All of your models appear to be using legacy start parts that have accuracy set to relative and not absolute. I strongly advise you to correct this ASAP. If you are working in Creo 7 or newer this is mandatory according to PTC. If you do not do this, you are in for a world of pain going forward.

 

Creo 9 models enclosed for reference. This implementation of the UDF works on your test model. I changed the references of the helical sweep profile section. You will need to verify the dims of this feature. I have no rigorous proof of the issue in your models but as I suspected it seems to be related to the references used in the helical sweep. I changed the references of this sketch and added a csys to the sketch.

 

In general, always minimize the references used for any feature to be included in a UDF. This is a shot of the profile sketch in the helical sweep. Change your UDF definition to match this and it should work.

tbraxton_0-1704383701417.png

 

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

Thanks.  I will give it a try.

 

We are using Creo 9.0.4.0 and i just created the start parts so I must have pulled old part to create them.  Will check in to see what other things that might be an issue with the legacy parts.

 

thank you again.

tbraxton
21-Topaz II
(To:B_Baker)

@B_Baker 

It seems you selected the wrong post as the solution. If the models I provided solved the issue, please mark that response as the solution. If it is still unresolved then post back with the open issues.

 

Thx

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

I'm not seeing anything here to accept as a solution?

Top Tags