###############################################################################

# #
# This file is part of a style sheet example from the Freestyle application #
# Copyright (C) 2001-2005 Stephane Grabli #
# #
# http://freestyle.sourceforge.net #
# #
###############################################################################


from Freestyle import * from logical_operators import * from PredicatesB1D import * from shaders import *
Operators.select(AndUP1D(QuantitativeInvisibilityUP1D(0), pyZSmallerUP1D(0.7)) )
Operators.bidirectionalChain(ChainSilhouetteIterator(),
NotUP1D(AndUP1D(QuantitativeInvisibilityUP1D(0), pyZSmallerUP1D(0.7)) ))
shaders_list = [
BezierCurveShader(3),
TextureAssignerShader(5),
pyIncreasingThicknessShader(1,8),
pyConstantColorShader(0.2, 0.2, 0.2)
]
Operators.create(TrueUP1D(), shaders_list)