Shader: "draft angle evaluation"

"draft angle evaluation"

ClassColour
Synopsis False colour shader for evaluation of mold shapes. The direction in which the object is to be pulled from the mold is specified, along with tolerances, and the shader colours the parts of the object that cannot be removed safely from the mold (acceptable tolerances can be specified). The shader colours the object in four different colours (which can be specified) for four regions; 'pass' (can easily be removed from the mold), 'overhang' (this portion of the object is too wide to be pulled out of the mold in the direction specified), 'fail' (this portion of the object will scrape the side of the mold as it is removed) and 'warning' (no safety / tolerance margin).
Arguments

"pull direction" Description: The direction in which the object is to be pulled out of its mold.
Default:(0.0, 0.0, 1.0)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"draft angle" Description: Specify the safe angle between the pull direction and the surface, to avoid the object scraping against the mold as it is being removed (normally around 1 degree is needed).
Default:1.0
Hint:[ 0, 10 ]
"tolerance angle" Description: Specify a tolerance, in degrees, to be used to account for the likely variance of the actual pull direction from what is specified. This is used to colour portions of the object as a 'warning' colour (may fail or may not). Normally a safety margin such as half the draft angle is specified.
Default:0.5
Hint:[ 0, 10 ]
"pass colour" Description: The colour to be applied to regions of the object that can safely be pulled out.
Default:(0.2, 0.9, 0.1)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"warning colour" Description: The colour to be applied to regions of the object that would be ok to be removed if the draft angle and pull direction are correct, but would cause problems if there were innacuracies.
Default:(1.0, 0.7, 0.0)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"fail colour" Description: The colour to be applied to regions of the object that are outside the safe 'draft angle' for the mold.
Default:(1.0, 0.0, 0.3)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]
"overhang colour" Description: The colour to be applied to regions of the object that would hit the mold whilst being pulled out.
Default:(0.0, 1.0, 1.0)
Hint: [ 0, 1 ], [ 0, 1 ], [ 0, 1 ]

Previous page alphabetically (distant)
Next page alphabetically (environment)
Index


Copyright © 2010 Lightwork Design Limited. All rights reserved