Skip to main content
15-Moonstone
November 2, 2016
Solved

Can part model color be changed as a feature item

  • November 2, 2016
  • 5 replies
  • 4942 views

In our line of work we need to have shrinkage added to the models added to the die.

There always is a concern that shrink does not get included and costly consequences would result because of this.

At the tail end of our feature tree the shrink is added.  Recently we have started making volume checks of models prior to adding shrink, and this adds to the likelihood of not saving the model with shrink.

Today I discovered a mistake that I made in not including shrink into my die.  Thankfully in this case I discovered my mistake in simulation, but in other instances it wouldn't be this apparent.

In thinking this through I really don't know of a way that it would be visually apparent in my die that shrink was included.

In our old CAD software we could make a change to the color and it would become a feature item.  What we would do is change away from the default color after shrink was added to the model.  If the model didn't have shrink it had the plain color, if it did have shrink it would be visually apparent.

By remote chance could we do the same thing with Creo?  If not, would there be other good visually apparent ways to mark the inclusion of shrink?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Best answer by Jose_Costa

When you apply shrinkage, the ID's of the surfaces are maintained so as the color. If you prefer to create new ID's for the "shrinked"surfaces you must disable the option shown bellow:

2016-11-02 22_17_43-New notification.png

You can then aplly colors to new surfaces by "intent surface".

I never needed to use this option, but in your case it could be a solution.

Jose

5 replies

17-Peridot
November 2, 2016

Technically, a material change can change the color to the color assigned to the material.

There are limitations with this (it cannot display both colors in a next level assembly, for instance).

I understand the criticality of this feature.  I might recommend a "stamp" of sorts on the model.

Apply the rule with the shop that they cannot work with any models that do not have this "stamp".

Can you use shrinkwrap after the re-scaling and assign it a new color?

pimm15-MoonstoneAuthor
15-Moonstone
November 2, 2016

Antonius;

Thank you for the ideas you've suggested.

Perhaps your idea of a stamp somewhere in the model would be a way to guarantee shrink has been included.  It could be placed in the original and carried downstream.  Pretty much at a glance this could be verified.


As far as changing color by material type; I'm not sure how this would be done and whether it would add a feature item to the tree.  If it would add a feature item perhaps this could work.  I've never done anything with materials in a model.


I also have never used Shrink Wrap before.  Presently I use Merge Inheritance going into my next model and I use Copy Geom going into the die.  I'm not familiar with the pro's and cons of Shrinkwrap such as how parametric this might be.


Of course I really would like to directly change the color and have this color change only occur when I've applied the shrink feature.  I'm still crossing my fingers that there might be a way.

17-Peridot
November 2, 2016

The way material changes are used is to use a family table.  You can change the material, and depending on the current instance, the color is maintained independently.  I am not sure if you can manage a model scaling in family tables.

Shrinkwrap is perfectly parametric and it is a quilt of sorts with limitations.  Not my 1st choice, but an option.

23-Emerald IV
November 2, 2016

Does the shrinkage feature actually remove material or just change existing dimension values?

pimm15-MoonstoneAuthor
15-Moonstone
November 2, 2016

Tom,

The Shrinkage feature just makes the part model larger by a given shrink value.  The part itself is male, but it get's subtracted in a different die model.

23-Emerald IV
November 2, 2016

Okay.  Either way, if an outer surface manually has a color applied (different from the model's base color), does the color change when shrinkage is applied or does it stay the same?

Patriot_1776
22-Sapphire II
November 2, 2016

You can assign a different material to an instance in a family table, that material can have a different color assigned to it.  If the "shrink" is a feature, you could make an instance that included the shrink, and also changed material/color.  I believe the material parameter to use is:  PTC_MATERIAL_NAME  You must first have it loaded in the generic, and it's a bit quirky the last time I used it, but they might have fixed it.

Best of luck!

pimm15-MoonstoneAuthor
15-Moonstone
November 2, 2016

Frank,

This does look worth exploring, but it does appear to be a little tricky to implement.

I will look into this further.

1-Visitor
November 2, 2016

I've never used the mold extension, so I don't know what the shrinkage feature looks like in the model tree.

But I'm thinking that it includes some feature parameters.  If that's the case, then maybe you can do something with Pro/Program, like in this attached example:

Here, I made a feature (the chamfer) that I called "SHRINKAGE_FEATURE".  I added to this feature a parameter called "SHRINKAGE_FACTOR".

Then, in the Pro/Program, in the part of the code that adds the feature "COLORING" (which is just a copy of all solid surfaces of the model), I have the condition that this feature is only added if the SHRINKAGE_FACTOR parameter exists with the feature called "SHRINKAGE_FEATURE".

Check out the included part and its pro/program code and observe that if you rename or delete the chamfer, then the part changes back to its original color.

pro_program_driven_color.png

Obviously this hack might not serve your needs.  One thing about it is that you can suppress the "shrinkage", er, the chamfer and the coloring will remain - it seems that the parameter still "exists" even if the feature is suppressed.  There is also the housekeeping headache of keeping that COLORING feature at the end of the tree (is that even possible, or does the the shrinkage feature insist on being the last one in the tree, similar to flat-pattern in sheet-metal mode?)

But, I'd be really interested to know from Pro/Program gurus - is there a way to know whether a feature is present or suppressed in Pro/Program?

12-Amethyst
November 2, 2016

When you apply shrinkage, the ID's of the surfaces are maintained so as the color. If you prefer to create new ID's for the "shrinked"surfaces you must disable the option shown bellow:

2016-11-02 22_17_43-New notification.png

You can then aplly colors to new surfaces by "intent surface".

I never needed to use this option, but in your case it could be a solution.

Jose

pimm15-MoonstoneAuthor
15-Moonstone
November 3, 2016

Jose,

It appears that this does the trick even though it is hard to select everything using Intent Surface.

This does allow an independent color change.

I'm not sure what removing Forward References would do to the model.

Thanks for your suggestion.

I still may see what Pro Program might do in terms of having the shrink feature be the trigger.