Edge color

Next
 From:  Samuel Zeller
5379.1 
Hi there

I'm using a shortcut to change the light options from 3D modelling to 2D drawing

My 2D drawing lighthing is "flat" so there's no shadows, no speculars

I use it for screenshots when making logos and such

is there a way to put the edges color in "by style" in the same shortcut (below) ?

script: /*2D*/ var v = moi.view; v.lightingStyle = 'CustomLevels'; v.specularHighlights = false; v.specularBrightness = 0; v.specularFocusSize = 0; v.metallicLighting = false; v.fixedLightPositions = true; v.customKeyLightLevel = 20; v.customFillLightLevel = 20;
-- shapenoid.com
  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
5379.2 In reply to 5379.1 
Hi DesuDeus,

> is there a way to put the edges color in "by style" in the same shortcut (below) ?

This piece of script should set edge color to "by style":    moi.view.edgeColorMode = 'ByStyle';

The moi.view.edgeColorMode property can take these string values in script: 'ByStyle' , 'Darkened' , 'Lightened' , 'FixedColor'

- 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:  Samuel Zeller
5379.3 In reply to 5379.2 
Awesome, exactly what I needed :) Thanks !
-- shapenoid.com
  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