Cad Settings


GENERAL INFORMATION:

Synergy files can now contain a Cad Settings info packet.    This packet is loaded into the file when New file is selected from the menu.    The packet selected can be one of the defaults provided, or it can be a customized packet.    There is only one Cad settings info packet per synergy file.

The purpose of the Cad Settings info packet is to set various default parameters in the system which were previously hard coded into the setconstants or userconstants scripts.

The Cad settings packet is selected when a New File is specified.    The packet is retained in memory in its initial condition unless it is updated or edited.    When the synergy file is saved or archived the settings which are specified in the packet are then updated with the current values.    When the synergy file is retrieved the settings are returned to the values which were current at the time of storage.    Only the settings specified in the Cad settings packet are retained.

The settings listed below are the settings which may be specified and are shown with inch defaults.    Not every default which can be set will automatically be updated at storage time.


NUMERIC SYSTEM CONSTANTS:

SystemConst.AnimateSpeed: 200 tool animation speed 10 - 1000
SystemConst.ArrowWidth: 0.0750 dimension arrow head width
SystemConst.ArrowHeight: 0.125 dimension arrow head height
SystemConst.ArrowAngle: 0.0 dimension arrow head angle
SystemConst.ArrowStyle: 1 dimension arrow head style 1-6
SystemConst.ArrowFont: 1 dimension arrow head font #
SystemConst.ArrowsOn: 1 dimension arrows on
SystemConst.APlacesBefore: 3 angular dim places before decimal
SystemConst.APlacesAfter: 3 angular dim places after decimal
SystemConst.CircleApproxTol: 0.001 Circle approx tolerance
SystemConst.CirDimStyle: 1 1,2 Circular Dim Style
SystemConst.CpathHighlight: 0 Higlight 3d cutter path on pick.
SystemConst.CurrentColor: 0  
SystemConst.CurrentLayer: 0  
SystemConst.CurrentLineType: 0  
SystemConst.CurrentComponent: 0  
SystemConst.CurrentAssembly: 0  
SystemConst.CurrentWorkZone: 0  
SystemConst.CutterPathsOn: 1  
SystemConst.DirArrowWidth: 0.0750 direction arrow width
SystemConst.DirArrowHeight: 0.125 direction arrow height
SystemConst.DirArrowStyle: 1 direction arrow style
SystemConst.DirArrowFont: 1 direction arrow font number
SystemConst.DimensionScale: 1.00 dimension output scale factor
SystemConst.DimensionsOn: 1 dimensions on
SystemConst.DimLineOn: 1 dimension dim line on
SystemConst.DynRadiusDefault: 0.03125 dynamic radius increment
SystemConst.DynLengthDefault: 0.03125 dynamic length increment
SystemConst.DynAngleDefault: 1 dynamic angle increment
SystemConst.ExtendDist: 0.125 dimension extension distance
SystemConst.WsExtensionOn: 1 dimension extension on
SystemConst.GapDist: 0.0625 dimension gap distance
SystemConst.GLPointSize: 5 size of GLPoint symbol
SystemConst.HolesSpace: 0.0625 used for hole draw
SystemConst.HolesTick: 0.125 used for hole draw
SystemConst.HolesExtension: 0.0625 used for hole draw
SystemConst.HolesOff: 0 hole plot off/on
SystemConst.HoleRenderOn: 0 hole render off/on
SystemConst.IntersectTol: 0.0001 intersection tolerance
SystemConst.IntersectDelta: 0.0001 intersection delta
SystemConst.LineLength: 20 construction line length
SystemConst.LinearRefineTol: 0.001 linear refine tolerance.
SystemConst.LeftExtOn: 1 left dim extension line on
SystemConst.LeaderOn: 1 dimension leader on
SystemConst.LocatedCenter: 1 radius dim line to center
SystemConst.LeftArrowOn: 1 left dimension arrow on
SystemConst.MaxRadius: 10000 Largest circle radius.
SystemConst.MinRadius: 0 Smallest circle radius
SystemConst.MaxLength: 10000 Longest line length
SystemConst.MinLength: 0 Smallest line length
SystemConst.PickBoxType: 1 pick box rectangle=1 circle=2
SystemConst.PlacesBefore: 4 dimension places before decimal
SystemConst.PlacesAfter: 4 dimension places after decimal
SystemConst.RenderTolerance: 0.05 rendering tolerance
SystemConst.RPlacesBefore: 4 radius dim places before decimal
SystemConst.RPlacesAfter: 4 radius dim places after decimal
SystemConst.RightExtOn: 1 Right dim extension line on
SystemConst.RightArrowOn: 1 Right dim arrow on
SystemConst.RulerOn: 0  
SystemConst.RulerAngle: 0  
SystemConst.RulerCenterX: 0.0  
SystemConst.RulerCenterY: 0.0  
SystemConst.RulerCenterZ: 0.0  
SystemConst.RulerLineType: 1  
SystemConst.RulerOn: 0  
SystemConst.RulerPen: 18 Ruler pen
SystemConst.RulerType: 1 Ruler type
SystemConst.RulerHeight: 20 Ruler height
SystemConst.RulerWidth: 10 Ruler width
SystemConst.RulerXTick: 0.25 Ruler subdiv length along X axis
SystemConst.RulerYTick: 0.25 Ruler subdiv length along Y axis
SystemConst.RulerXMajor: 4 Number of subdiv per unit X
SystemConst.RulerYMajor: 4 Number of subdiv per unit Y
SystemConst.RulerTickSize: 0.25 Drawn length of subdiv tick
SystemConst.StartBoxStyle: 3 Contour start box style
SystemConst.SurfacesOn: 1  
SystemConst.TablesOn: 1  
SystemConst.TableHighlight: 0 Highlight table on pick
SystemConst.TextWidth: 0.075 dimension text width
SystemConst.TextHeight: 0.125 dimension text height
SystemConst.TextAngle: 0 dimension text angle
SystemConst.TextSlant: 0 dimension text slant
SystemConst.TextLspace: 0.33 % spacing between text lines
SystemConst.TextHspace: 0.167 % spacing between characters
SystemConst.TextFont: 1 dimension text font
SystemConst.TextCentered: 1 dimension text centered
SystemConst.TextFollows: 0 dimension text follows dim angle
SystemConst.TextBoxOn: 0 dimension text box on
SystemConst.TextUnderLine: 0 dimension text underline on
SystemConst.TextOn: 1 dimension text on
SystemConst.Update2DPlot: 1 update 2D plotchains
SystemConst.Update3DPlot: 0 update 3D plotchains
SystemConst.ViewResolution: 10000 plotchain view units/inch
SystemConst.ZoomLineWidth: 2 zoom line thickness

STRING SYSTEM CONSTANTS:

SystemConst.Axis1Label: X X axis label in point questions
SystemConst.Axis2Label: Y Y axis label in point questions
SystemConst.Axis3Label: Z Z axis label in point questions
SystemConst.DraftStandard: Ansi Drafting convention Ansi or Iso
SystemConst.Units: Inch  

NAMED VARIABLES DIRECTORY PATHS:
SystemVars.archive dir: /usr/weber/archive/
SystemVars.database dir: /usr/weber/database/
SystemVars.datatables dir: /usr/weber/database/tables/
SystemVars.dxf storage dir: /usr/weber/ST/dxf/
SystemVars.iges storage dir: /usr/weber/ST/iges/
SystemVars.ltools dir: /usr/weber/util/tooldata/ltools_in/
SystemVars.material dir: /usr/weber/util/tooldata/materials/
SystemVars.properties dir: /usr/weber/database/properties/
SystemVars.retrieve dir: /usr/weber/ST/
SystemVars.storage dir: /usr/weber/ST/
SystemVars.tools dir: /usr/weber/util/tooldata/tools_in/

NAMED VARIABLES DEFAULT SETTINGS:

SystemVars.bolt hole radius: 3.0
SystemVars.cutter diameter: 0.3125
SystemVars.cutter offset: 0.50
SystemVars.finish allowance: 0.020
SystemVars.finish depth: 0.50
SystemVars.hole diameter: 0.50
SystemVars.hole depth: 0.50
SystemVars.mill direction: CL
SystemVars.parallel distance: 0.25
SystemVars.use iges widget: no
SystemVars.width of cut: 0.3125

NAMED VARIABLES LEADIN/OUT DEFAULT SETTINGS:

LeadInOutVars.leadin type: 1
LeadInOutVars.leadout type: 1
LeadInOutVars.leadin dist: 0.5
LeadInOutVars.leadout dist: 0.5
LeadInOutVars.leadin radius: 0.25
LeadInOutVars.leadout radius: 0.25
LeadInOutVars.leadout side: 0
LeadInOutVars.turn leadin type: 5
LeadInOutVars.turn leadin dist: 0.100
LeadInOutVars.turn leadin radius: 0.0
LeadInOutVars.turn leadout type: 5
LeadInOutVars.turn leadout dist: 0.100
LeadInOutVars.turn leadout radius: 0.0

NAMED VARIABLES 3D DEFAULT SETTINGS:

3DSystemVars.3D Auto Extend Dist: 0.0  
3DSystemVars.3D Circle Output: 1 0,1,2 possible
3DSystemVars.3D Cutting Tol: 0.005  
3DSystemVars.3D Default Patch: 0.250  
3DSystemVars.3D Default Zstep: 0.150  
3DSystemVars.3D Depth Taper: 0.0175  
3DSystemVars.3D Fillet Tol: 0.005  
3DSystemVars.3D Intersect Tol: 0.005  
3DSystemVars.3D Join Cuts: 0 0,1 possible
3DSystemVars.3D Join Dist: 0.0  
3DSystemVars.3D Layer Switch: 1 0,1 possible
3DSystemVars.3D Level Clear: 1 0,1 possible
3DSystemVars.3D Level Fill: 0 0,1 possible
3DSystemVars.3D Normal Length: 1.0  
3DSystemVars.3D Part Limits Tol: 0.040  
3DSystemVars.3D Shade Tol: 0.060  
3DSystemVars.3D Trimming Tol: 0.005  
3DSystemVars.3D Volume Tol: 0.060  
3DSystemVars.3D Z Rough Method: 0 0,1,3 possible
3DSystemVars.3D Z Step Method: 0 0,1 possible
3DSystemVars.3D Zigzag Cuts: 1 0,1 possible

NAMED VARIABLES STRATEGY SETTINGS:

StrategyVars.ask strategy workplane: 0
StrategyVars.current strategy: NONE
StrategyVars.delay strategy execute: 0
StrategyVars.edit strategy vars: 0
StrategyVars.edit thread vars: 0
StrategyVars.info packet strategy: 0
StrategyVars.last strategy: NONE
StrategyVars.merge strategy: 0
StrategyVars.single strategy: 0
StrategyVars.strategy directory: /usr/weber/database/strategies/
StrategyVars.strategy instruction lines: 2
StrategyVars.unlink strategy: 0

INDEPENDENT VARIABLES:

Any independent variable in VDM may be set by the cad settings file.    Typical examples are:

VariationVars.radius1: 0.25
VariationVars.length1: 1.25

OTHER VARIABLE CATEGORIES:

Any variable of any of the following categories may be sepecified:


3DSystemVars
AmoVars
CamVars
DatabaseVars
MillingVars
LatheVars
PointVars
SystemVars
ToolVars