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

# #
# This file is part of a style sheet example from the Freestyle application #
# Copyright (C) 2001-2004 Stephane Grabli (Stephane.Grabli@imag.fr) #
# #
# http://artis.imag.fr/Software/Freestyle #
# #
###############################################################################


from Freestyle import * from logical_operators import * from PredicatesB1D import * from PredicatesU1D import * from ChainingIterators import * from shaders import *
upred = AndUP1D(QuantitativeInvisibilityUP1D(0), ExternalContourUP1D() )
Operators.select(upred)
bpred = TrueBP1D();
Operators.bidirectionalChain(pyExternalContourChainingIterator())
shaders_list = [
SamplingShader(2),
TextureAssignerShader(2),
SmoothingShader(100, 0.05, 0, 0.2, 0, 0, 0, 1),
CalligraphicShader(6, 40, Vec2f(1, 1), 1),
IncreasingColorShader(0.0, 0.0, 0.0, 1,0.2, 0.2, 0.2, 1)
]
Operators.create(TrueUP1D(), shaders_list)