CoCreate User Forum  

Go Back   CoCreate User Forum > Support > Customization

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 06-15-2009, 11:16 PM
Yoyovento Yoyovento is offline
Registered User
 
Join Date: Apr 2009
Posts: 31
Different color for each face

Morning,

I substract one part on another one and move the first part to repeat this operation with differents positions. This operation could be repeat more than 500 times. I would like to see where operation has been made, to check the evolution of operations. So is it possible to assign a color at each result face as image below ?



I wrote :"(sd-call-cmds (part_prop part1 :color (* 3 c) :done))"
c is a counter
but this only change the color of the cutter part.

Last edited by Yoyovento; 06-15-2009 at 11:39 PM.
Reply With Quote
  #2  
Old 06-16-2009, 10:48 PM
Yoyovento Yoyovento is offline
Registered User
 
Join Date: Apr 2009
Posts: 31
Re: Different color for each face

I can't find information to hide part or about set the color of a part....
Reply With Quote
  #3  
Old 06-16-2009, 10:58 PM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: Different color for each face

Those holes aren't parts, hence setting part colors won't buy you much in this case. From your descriptions, it sounds that what you really want to do is set the color of all faces in a feature (such as a hole).
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
  #4  
Old 06-17-2009, 12:36 AM
Yoyovento Yoyovento is offline
Registered User
 
Join Date: Apr 2009
Posts: 31
Re: Different color for each face

that's true. Firstly I guess if I change the color of the part and substract it I will get faces colored but it's wrong, that's why I need set the color of lastes faces machined.
Do you know how to proceed ?
Have you got more informations about the color function ?
Reply With Quote
  #5  
Old 06-17-2009, 12:49 AM
clausb's Avatar
clausb clausb is offline
Registered User
 
Join Date: Nov 2002
Posts: 1,168
Re: Different color for each face

Hint: You can select faces by (recognized) feature - see online help for more information.

I'm in the midst of an all-week training session, so I won't be able to dig into this much deeper this week, sorry. Hope someone else can help out.

Claus
__________________
CoCreate Modeling FAQ: http://www.clausbrod.de/CoCreateModeling/
Reply With Quote
Reply

Tags
color, faces, rgb


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:18 PM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.