from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2004 Jasc Software, Inc.  All rights reserved.',
        'Description': u'A hard, square tipped brush with a fixed angle, loaded with a moderate a'\
            u'mount of thick oil. Gives a good variety of thick and thin in a single stroke.',
        'Host': u'Paint Shop Pro 9',
        'Host Version': u'9.00'
        }

def Preset_OilBrushTool():
    return {
        'Size': 35, 
        'Shape': App.Constants.ArtMediaBrushShape.Rectangular, 
        'Thickness': 26, 
        'Rotation': 209, 
        'HeadTracking': App.Constants.ArtMediaBrushRotation.FixedAngle, 
        'Material': None, 
        'Trace': False, 
        'HeadLoad': 40, 
        'Viscosity': 100, 
        'BristleFirmness': 100, 
        'BristleSize': 26, 
        'HeadCleaningMethod': App.Constants.ArtMediaBrushCleaning.ManualClean, 
        'GeneralSettings': {
            'ExecutionMode': App.Constants.ExecutionMode.Default, 
            'RandomSeed': None, 
            'AutoActionMode': App.Constants.AutoActionMode.Match
            }
        }

def Do(Environment):
    # OilBrushTool_LOCALIZED
    App.Do( Environment, 'OilBrushTool',         Preset_OilBrushTool())

