Color of objects projected on surface

Next
 From:  Axel
9615.1 
Hi Michael,

please apologize if this is also something which can be activated but so far I haven't found it, otherwise that could be maybe something for a newer version to be implemented:

when I project an object (curve) onto a surface then the projected appears in the surface color and the curves color is neglected. If I need the curve color on the projected surface I would need to re-assign the color of the projected curves.


Best regards,

Axel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9615.2 In reply to 9615.1 
Hi Axel, that looks like a bug. The way styles on result objects is supposed to work is that it is supposed to apply the input object's style on it, except if the option in moi.ini for [Styles] GeneratedObjectsInheritStyle=y is set to =n then it is supposed to get the active style applied to it instead.

When there are multiple input objects that were used to generate the result object, it just uses the first one in the inputs list to get the style. Then the bug is that the project factory happens to put the surface object in the history record before the curve.

I'll fix it up for the next v4 beta but this may be one of those bugs where it's been in there for so long that others have become accustomed to how it works. So I'll see about having a moi.ini option that will maintain the previous behavior.

Thanks, - Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Axel
9615.3 In reply to 9615.2 
Hi Michael,

thanks for that. I cross checked and the entry is set to "y". I changed either and the selected red colored curve is black on the surface when projected.


Best regards,

Axel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9615.4 In reply to 9615.3 
Hi Axel, yes if you set GeneratedObjectsInheritStyle=n then the generated object (for project it's the projected result) should get the active style applied to it. The active style is the one that has the outline around its color swatch in the scene browser.

I've fixed the bug for the next v4 beta so that if GeneratedObjectsInheritStyle=y (which is the default), the projected curve will inherit the style of the input curve rather than inheriting the style of the target surface like it does currently.

And just in case someone did prefer it I've added in an additional moi.ini setting which will keep the buggy Project style behavior since it's been that way for quite a while.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Axel
9615.5 In reply to 9615.4 
Hi Michael,

thanks for that! Much appreciated.


Best regards,

Axel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All