SimplifiedLogic / creoson

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

More than one Distinct Pieces #27

Closed DieSwartKat closed 4 years ago

DieSwartKat commented 4 years ago

Good day everyone!

Is there a way to find out if a part has more than one distinct pieces. I have not been able to use the mapkey functionality to find something something useful.

If it is not clear - more than one distinct piece refer to Multi Body parts (Solidworks). There are two solid bodies in a part model.

kind regards

davidhbigelow commented 4 years ago

List feature types?

On Wed, Oct 2, 2019 at 7:45 AM DieSwartKat notifications@github.com wrote:

Good day everyone!

Is there a way to find out if a part has more than one distinct pieces. I have not been able to use the mapkey functionality to find something something useful.

If it is not clear - more than one distinct piece refer to Multi Body parts (Solidworks). There are two solid bodies in a part model.

kind regards

— 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/27?email_source=notifications&email_token=AAMSRJI5MXZQTH4P3H5J7D3QMSCW3A5CNFSM4I4VH6XKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HPDLIRA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMSRJP3GK7X3YXJBXHEJOLQMSCW3ANCNFSM4I4VH6XA .

-- David Bigelow, President Simplified Logic, Inc https://www.simplifiedlogic.com | SimilarParts.ai C: 317-431-5454

DieSwartKat commented 4 years ago

Hi David

I'm a little confused as how the feature list will see that the part has distinct pieces. None of the parameter information in features show this information. Am I understanding you wrong or missing something?

davidhbigelow commented 4 years ago

I was thinking that the "two solid bodies" in your part are special feature type in Creo (e.g. from import or creation by operation).

If they show up in the feature tree (creo graphical window) - then the "type" of feature should be available if you do a feature list to see what the type is for each feature.

Assuming that the features you are interested in are of the same type... then you just have to feature list using a type filter and you should be able to count them up generically.

Unless I am missing your goal. Just a suggestion on how to possibly obtain the information.

On Wed, Oct 2, 2019 at 11:05 AM DieSwartKat notifications@github.com wrote:

Hi David

I'm a little confused as how the feature list will see that the part has distinct pieces. None of the parameter information in features show this information. Am I understanding you wrong or missing something?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/27?email_source=notifications&email_token=AAMSRJKX47QZEPBBFJEL6A3QMS2CPA5CNFSM4I4VH6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFCSKY#issuecomment-537536811, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMSRJJMQQEFT3IH3HYUM4LQMS2CPANCNFSM4I4VH6XA .

-- David Bigelow, President Simplified Logic, Inc https://www.simplifiedlogic.com | SimilarParts.ai C: 317-431-5454

DieSwartKat commented 4 years ago

I have not seen that information in the feature list, will do a few more test to see if I can get it.

Currently CREO creates a little icon called distinct pieces on the bottom right of the screen. It is active if I make a extrusion with two loose sketch which makes two solid bodies. The search for solid body only show one, but distinct pieces show more.

One will not be able to create the Flatpattern feature on a part with distinct pieces, which kind of mess with our system. If would like to isolate it from other parts that have missing flatpattern features so that I can create drawings in the right format.

Let me investigate the feature list further.

DieSwartKat commented 4 years ago

http://support.ptc.com/help/creo/creo_pma/usascii/index.html#page/sheetmetal/sheetmetaldesign/Your_Design/Working_with_Two_or_More_Distinct_Pieces.html

This is what I was refering too, if there is still any unclarity. Features List don't have the information I'm looking for.

davidhbigelow commented 4 years ago

Oh... Hmmm that is a bit more complicated than I thought you were dealing with.

Do you have a specific model you can share that exhibits this issue along with some instructions as to what you are looking for?

Dave

On Thu, Oct 3, 2019 at 3:37 AM DieSwartKat notifications@github.com wrote:

http://support.ptc.com/help/creo/creo_pma/usascii/index.html#page/sheetmetal/sheetmetaldesign/Your_Design/Working_with_Two_or_More_Distinct_Pieces.html

This is what I was refering too, if there is still any unclarity. Features List don't have the information I'm looking for.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SimplifiedLogic/creoson/issues/27?email_source=notifications&email_token=AAMSRJIUD6MYHQJEFMJ5MHTQMWOMVA5CNFSM4I4VH6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAHJJCY#issuecomment-537826443, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMSRJPSU65TSJIJG7BMGTTQMWOMVANCNFSM4I4VH6XA .

-- David Bigelow, President Simplified Logic, Inc https://www.simplifiedlogic.com | SimilarParts.ai C: 317-431-5454