SimplifiedLogic / creoson

OpenSource Automation using JSON Transactions for PTC's CREO Parametric
http://www.creoson.com
MIT License
79 stars 23 forks source link

Export Program different dimensions? #73

Closed dmtr99 closed 3 years ago

dmtr99 commented 3 years ago

I tried to use the export program to analyze the dimensions, but I notice that there is a difference between de dimension names.

for example the dimension d21 returned by the export program function should be actually d29

If I check the Program in Creo, it also indicates a different REVNUM:

Creo: VERSION 4.0 REVNUM 948 LISTING FOR PART DGE_TESTKSDJLKFJS

CreoSon export program: VERSION 4.0 REVNUM 749 LISTING FOR PART SDFKJSDLKJSDFKL

How can I make sure that the returned Program is correct?

adama2000 commented 3 years ago

In your example it looks like the part numbers are different too -- are you exporting two different parts?

On Thu, Aug 12, 2021 at 6:54 AM dmtr99 @.***> wrote:

I tried to use the export program to analyze the dimensions, but I notice that there is a difference between de dimension names.

for example the dimension d21 returned by the export program function should be actually d29

If I check the Program in Creo, it also indicates a different REVNUM:

Creo: VERSION 4.0 REVNUM 948 LISTING FOR PART DGE_TESTKSDJLKFJS

CreoSon export program: VERSION 4.0 REVNUM 749 LISTING FOR PART SDFKJSDLKJSDFKL

How can I make sure that the returned Program is correct?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/73, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANPKPHXU24IKJ2JPV5FVFLT4OR5NANCNFSM5CA4AAVA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

dmtr99 commented 3 years ago

My excuses, it seems that it was indeed my fault, the function seems to be working perfectly.

And now It works: I created something that automatically modifies the diameter dimension of the holes: It adds the depth of the thread and the amount of holes in the pattern.

example: d21 goes from M4 to M4 [depthsymbol]8 (4x)