You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Current »

Units

 

Value Range:Millimeters or Inches
Default Value:Inches
Location:Global

This parameter determines the units that will be used by the scan heads. The Scan Windows and Calibration Fixtures will use the units set here. The data in profiles will either be returned in 1000th of an inch, or micrometer units, depending on this setting.

The following two example parameter files are equivalent, but expressed in different units:

Units Millimeters
ScannerConfig Scanner 0
{
	WindowTop 254
	WindowLeft -127
	WindowBottom 0
	WindowRight 127
	CalibrationFixtureNames	Circles
}

EncoderPulseInterval  0.003937   #how far the belt moves per encoder pulse
EncoderScanInterval   25.4       #the distance between scans

# A CalibFixture named "Circles" -- the name can be anything you want
CalibFixture Circles
{
	CircleFeature 25.4 50.8 76.2 #Radius is 1.0" (25.4 mm) centered at the coordinates (50.8 mm, 76.2 mm)
	CircleFeature 50.8 127.0 152.4 #Radius is 2.0" (50.8 mm) centered at the coordinates (127.0 mm, 152.4 mm)
}
Units Inches # if not specified, Inches is the default
ScannerConfig Scanner 0
{
	WindowTop 10
	WindowLeft -5
	WindowBottom 0
	WindowRight 5
	CalibrationFixtureNames	Circles
}

EncoderPulseInterval  0.01   #how far the belt moves per encoder pulse
EncoderScanInterval   1       #the distance between scans

# A CalibFixture named "Circles" -- the name can be anything you want
CalibFixture Circles
{
	CircleFeature 1.0 2.0 3.0 #Radius is 1.0" centered at the coordinates (2", 3")
	CircleFeature 2. 5.0 6.0  #Radius is 2.0" centered at the coordinates (5", 6")
}
  • No labels