PolyWorksPlug-in (I) Surphaser
PolyWorksPlug-in (I) Surphaser
in PolyWorks
© 2017–2020 InnovMetric Software Inc. All rights reserved. PolyWorks® is a registered
trademark of InnovMetric Software Inc. InnovMetric, PolyWorks|Inspector,
PolyWorks|Modeler, PolyWorks|Talisman, PolyWorks|Reviewer, IMAlign, IMMerge,
PolyWorks|DataLoop, PolyWorks|PMI+Loop, PolyWorks|AR, PolyWorks|ReportLoop, "The
Universal 3D Metrology Software Platform", "The Smart 3D Metrology Digital Ecosystem",
and "Interconnecting Hardware, Software and People" are trademarks of InnovMetric
Software Inc.
This manual, as well as the software described in it, is furnished under license and may be
used or copied only in accordance with the terms of such license. The content of this
document is furnished for informational use only, and is subject to change without notice.
InnovMetric Software Inc. assumes no responsibility or liability for any errors or inaccuracies
that may appear in this document.
Except as permitted by such license, reproduction in whole or in part in any way without
written permission from InnovMetric Software is strictly prohibited.
4 Introduction
5 1. Requirements
5 1.1 Drivers
6 2. Spherical Scanning
6 2.1 Scanning with a Surphaser device
7 2.1.1 Choosing the device plug-in and connecting to the device
8 2.1.2 Setting scanning parameters
8 2.1.2.1 The Scan dialog box
18 2.1.2.2 The Spherical Scan Options dialog box
23 2.1.3 Understanding the Scanner 2D View window (scanning operation)
23 2.1.3.1 Graphically defining scanning zones
25 2.1.3.2 Viewing scanning results and changing filters
26 2.1.4 Disconnecting from the device
27 3.2 Importing C3D files containing scanned data
28 3.2.1 Choosing the device plug-in
28 3.2.2 Setting the parameters applied to the scanned data
28 3.2.2.1 The Scan dialog box
34 3.2.2.2 The Spherical Scan Options dialog box
38 3.2.3 Using the Scanner 2D View window (import operation)
This document explains how to configure a Surphaser long-range laser scanning device
for use with the PolyWorks Metrology Suite, and describes the parameters of the
device. For any issues related to the scanner or its setup, contact a Surphaser
representative.
Related documentation
Each PolyWorks Metrology Suite module has its own complete reference guide in PDF
format. It can be accessed by pressing the ? symbol in the title bar of any open module
dialog box, or by looking under a module’s Help menu. The following documents are
closely related to the current one:
Reference
Description
guide
The latest intermediate release of the PolyWorks Metrology Suite 2020 must be
installed to ensure that the plug-ins are the most up-to-date (available from the
Technical Support Zone of the InnovMetric website).
For the Surphaser plug-in, the BasisSurphaser.dll file is installed in the Plugins
subfolder of the PolyWorks Metrology Suite installation folder.
For information on the different options available in the previously mentioned dialog
box, see the “Setting PolyWorks options” section of the PolyWorks Reference Guide.
When connecting to the device for the first time, a file browser is displayed to allow
selecting the .rpr file to be imported into the scanner parameter files folder. The
default folder is C:\ProgramData\InnovMetric\PolyWorks\Surphaser. It can be
configured through the Scan dialog box (see Section 2.1.2.1.6 Configuring the device
and controlling the azimuth position).
1.1 Drivers
The SurphaserUSB driver is required. It is available at the following location:
ftp://ftp.innovmetric.com/pub/drivers/Surphaser/
1. Choose the Surphaser plug-in and connect to the device (see Section 2.1.1
Choosing the device plug-in and connecting to the device).
Specify scanning zones graphically using the image of the Preview mode:
The device performs a 360° scan; the image of the scanned data is
progressively displayed in the Scanner 2D View window. Note that the
device localizes its absolute zero the first time that a preview, a scan, or a
move to park position operation is launched.
3.2 Using the mouse, click and drag to define rectangular zone(s) in the image
to specify the zones that will be scanned.
Specify scanning zones numerically in the Scanning zones section of the Scan
dialog box (see Section 2.1.2.1.3 Defining scanning zones).
Note that if no scanning zone is specified, the device performs a 360° scan, acquiring
everything in its field of vision.
Press the Scan button. The objects within the specified zones are scanned and the
image of the scanned data is progressively displayed in the Scanner 2D View
window. Note that the device localizes its absolute zero the first time that a preview,
a scan, or a move to park position operation is launched.
Filters are automatically applied to the scanned data (see Section 2.1.2.1.4 Using
filters).
The search for targets is automatically launched (see Section 2.1.2.1.5 Working
with multiple device positions).
Once filtered, the scanned data is displayed in the Scanner 2D View window.
Data that does not meet the specified criteria is shown in red.
6. Confirm the filters to transfer the filtered data and, in the context of multiple device
positions, any detected targets to PolyWorks|Inspector.
The Confirm filters after scan check box is selected by default and allows adjusting
the filter parameters before transferring the data. This parameter is explained in
Section 2.1.2 Setting scanning parameters.
6.1 In the Scan dialog box, change the filter parameters. The image of the
scanned data (in the Scanner 2D View window) reflects the changes in real
time.
6.2 Press the Confirm button to transfer the filtered data and the detected
targets to PolyWorks|Inspector. As a result, a new surface Data object of
the Spherical Grid data type is created in PolyWorks|Inspector.
Different filters can be applied to the scanned data to create other Data objects in
PolyWorks|Inspector. To do so, adjust the filters in the Scan dialog box, then press
the Confirm button to retransfer the data to PolyWorks|Inspector (the targets are
not retransferred). Another surface Data object is created in PolyWorks|Inspector, in
the same device position as the previous data.
7. The device can be moved to another position (if required). In this case, repeat Steps
3 to 6. For more information, see Section 2.1.2.1.5 Working with multiple device
positions.
item on the menu offered by the Scan split button located on the Devices toolbar, and
then click the button icon. The button is shown to the right.
The parameters used most often are offered in the Scan dialog box (see Section
2.1.2.1 The Scan dialog box)
The parameters that are usually specified once are offered in the Spherical Scan
Options dialog box (see Section 2.1.2.2 The Spherical Scan Options dialog box).
When the Surphaser plug-in is opened, the Scan dialog box, shown in Figure 2.1, is
displayed in the Dialog Zone pane. By default, the Source list box is set to Scanner,
which means that the plug-in is configured to acquire data directly from the scanning
device.
The following subsections explain the scanning parameters offered in the plug-in. Note
that these parameters are unavailable during the preview mode and during a scanning
session.
When the points acquired with Surphaser are transferred to PolyWorks|Inspector, they
are stored in a surface Data object. The Data object section of the Scan dialog box
offers the following item to specify the surface Data object to receive the points:
Name
A text box that allows specifying the name of the Data object. The default name is
surface scan <number>, where <number> represents an automatically
incremented integer. The name can be edited, if desired.
The Parameters section of the Scan dialog box offers items that allow defining the
following resolution parameters:
Point spacing
A group label that allows specifying parameters relative to point acquisition. It
offers the following items:
Figure 2.1 The Scan dialog box configured to acquire data directly from the scanning device.
Uniform
A check box, selected by default, that enables acquiring uniformly
spaced points, which means that the horizontal and vertical spacing is
the same. When selected, the following item is offered:
Figure 2.2 In this example, the point spacing is not uniform, therefore allowing the horizontal
and vertical spacing to be defined separately.
Note that this value is effective at the distance specified for the At
distance from scanner parameter. See the description of this
parameter for more information.
When the Uniform check box is cleared (as shown in Figure 2.2), the
following items are offered:
Horizontal spacing
A text box that allows specifying the horizontal spacing of
acquired points. Valid values depend on the device. If the
specified value is outside the range of values supported by the
device, the nearest value supported by the device is applied. The
default value is 2.0 mm.
Note that this value is effective at the distance specified for the At
distance from scanner parameter. See the description of this
parameter for more information.
Vertical spacing
A text box that allows specifying the vertical spacing of acquired
points. Valid values depend on the device. If the specified value is
outside the range of values supported by the device, the nearest
value supported by the device is applied. The default value is
2.0 mm.
Figure 2.3 The Scanning zones section of the Scan dialog box, which allows numerically
defining the zones to scan.
The Scanning zones section, shown in Figure 2.3, offers a table that allows specifying
the zones that will be scanned. By default, the table is empty, which means the device
performs a 360° scan, acquiring everything in its field of vision.
Scanning zones can also be defined graphically in the Scanner 2D View window (see
Section 2.1.3 Understanding the Scanner 2D View window (scanning operation)).
According to the specified zones, an estimated scan time is specified at the bottom of
the Scan dialog box (Estimated scan time parameter). Note that this time does not
include the time required for post-acquisition processing or for the high-resolution
rescanning of spherical targets.
To create a scanning zone, press the Create Scanning Zone button, shown to the right.
A scanning zone is added in the table using default values. The edit mode is available
by clicking a cell.
Index
A column that displays the number used to identify the scanning zone in the list.
By default, the scanning zone index number is hidden. Right-click the column
header to display a shortcut menu that allows showing the column.
Az. Start
A column that allows specifying the azimuth for the beginning of the scanning
zone. Valid values range from -180° to 180° inclusively. The value can be edited by
clicking the cell, specifying the value, then pressing Enter (or clicking elsewhere in
the dialog box).
Az. End
A column that allows specifying the azimuth for the end of the scanning zone.
Valid values range from -180° to 180° inclusively. The value can be edited by
clicking the cell, specifying the value, then pressing Enter (or clicking elsewhere in
the dialog box).
Note that this value must be higher than the Az. Start value.
El. Start
A column that allows specifying the elevation (altitude) for the beginning of the
scanning zone. Valid values range from -45.0° to 89.5° inclusively. The value can
be edited by clicking the cell, specifying the value, then pressing Enter (or clicking
elsewhere in the dialog box).
El. End
A column that allows specifying the elevation (altitude) for the end of the scanning
zone. Valid values range from -45.0° to 89.5° inclusively. The value can be edited
by clicking the cell, specifying the value, then pressing Enter (or clicking
elsewhere in the dialog box).
Note that this value must be higher than the El. Start value.
Figure 2.4 The Filtering section of the Scan dialog box, which offers the filters that can be
applied to the scanned data.
The Filtering section of the Scan dialog box, shown in Figure 2.4, offers several filters
that are applied to the scanned data before transferring them from the plug-in to
PolyWorks|Inspector. By default, all the filters are enabled. A check box allows enabling/
disabling a filter and, in most cases, a slider is available to specify a value. As the slider is
moved, the exact value is updated in the adjacent text box. The value can also be
edited in the text box.
Min distance
A check box that enables filtering the acquired points by specifying a minimum
distance between acquired points and the scanner. By default, the check box is
selected, and the adjacent slider and text box are enabled to allow specifying the
minimum distance. Acquired points are excluded when they are closer to the
scanner origin than the specified minimum distance.
Valid values range from 0.0 mm to 100000.0 mm inclusively. The default value is
0.0 mm, which excludes no points.
Max distance
A check box that enables filtering the acquired points by specifying a maximum
distance between acquired points and the scanner. By default, the check box is
selected, and the adjacent slider and text box are enabled to allow specifying the
maximum distance. Acquired points are excluded when they are farther from the
scanner origin than the specified maximum distance.
Valid values range from 0.0 mm to 100000.0 mm inclusively. The default value is
100000.0 mm.
Min intensity
A check box that enables filtering the acquired points by specifying the minimum
intensity of the acquired points. By default, the check box is selected, and the
adjacent slider and text box are enabled to allow specifying the minimum
intensity. Points with a lower intensity than the specified minimum intensity are
excluded.
Valid values are integers that range from 0 to 20000 iu (Intensity Units) inclusively.
The default value is 200 iu.
Max intensity
A check box that enables filtering the acquired points by specifying the maximum
intensity of the acquired points. By default, the check box is selected, and the
adjacent slider and text box are enabled to allow specifying the maximum
intensity. Points with a higher intensity than the specified maximum intensity are
excluded.
Valid values are integers that range from 0 to 20000 iu (Intensity Units) inclusively.
The default value is 18000 iu.
Valid values range from 0.0° to 90.0° inclusively. The default value is 5.0°.
Gap width
A check box that enables filtering the acquired points by specifying the area on
both sides of a detected gap within which acquired points are excluded. By
default, the check box is selected, and the adjacent slider and text box are enabled
to allow specifying the width.
Valid values depend on the distance from the scanner. The default value is
5.25 mm.
Figure 2.5 The Device positions and targets section of the Scan dialog box, which offers
parameters that allow working with multiple device positions.
Isolated area
A check box that enables filtering the acquired points by specifying the minimal
area of a group of points. Points within a smaller area are not retained. Note that
this filter is also used when finding targets. By default, the check box is selected,
and the adjacent slider and text box are enabled to allow specifying the area.
Valid values depend on the distance from the scanner. The default value is
150.00 mm2.
The Device positions and targets section of the Scan dialog box, shown in Figure 2.5,
offers items that allow acquiring data in different device positions as well as detecting
targets that are subsequently used to align the data:
Find targets
A check box that enables detecting the targets that will be used to align scanned
data. Targets are transferred to PolyWorks|Inspector in the active device position.
The scanned data will automatically be aligned, as explained in the “Moving a
device using the Targets alignment method” section of the PolyWorks|Inspector
Reference Guide. By default, the check box is selected.
Note that only the Isolated area filter is applied for target detection.
If the Confirm filters after scan check box is enabled and the data is transferred more
than once without performing a new scan, the data is transferred in the same device
position, but the targets are not retransferred.
The Scan dialog box contains the Surphaser software section, which offers the
following items:
Configuration
A button that displays the Configuration dialog box that allows specifying the files
and folders used by the device. For more information on the Configuration dialog
box, see Section 2.1.2.1.6.1 The Configuration dialog box.
Azimuth Position
A button that displays the Azimuth Position dialog box that allows controlling the
azimuth position of the device. For more information on the Azimuth Position
dialog box, see Section 2.1.2.1.6.2 The Azimuth Position dialog box.
The Configuration dialog box, shown in Figure 2.6, allows specifying the files and
folders used by the device. It offers the following parameters:
Folder
A text box that allows specifying a path to the folder that contains the .rpr
files. An adjacent Browse button opens a folder browser. The .rpr files are
required in order to run the plug-in and must be located in this folder. The
Current
A list box that allows specifying the .rpr file used to initialize and
configure the device. Choose from the list of available .rpr files.
Folder
A text box that allows specifying a path to the folder that contains the
raw scans (.c3d files). An adjacent Browse button opens a folder browser.
The default folder is [workspace configuration folder]\Surphaser.
Press the OK button to apply the changes and dismiss the dialog box, or press the
Cancel button to dismiss the dialog box. Note that if the Cancel button is pressed,
modifications to the scanner parameter files folder are still applied, and imported .rpr
files are still imported.
The Azimuth Position dialog box, shown in Figure 2.7, allows controlling the azimuth
position of the device. It offers the following parameters:
The Azimuth position (degrees) section offers parameters used to control the
azimuth position of the device. It offers a text box that indicates the current azimuth
position of the device and allows specifying a new position. The device is moved to the
specified azimuth position when the Move to button is pressed. Valid values range
from -180° to 180° inclusively. The default value is the current azimuth position of the
device. Adjacent buttons, shown to the right, move the device by increments of 10° to
the left or to the right. The following button is also offered:
Figure 2.8 The General page of the Spherical Scan Options dialog box.
The Options button of the Scan dialog box displays the Spherical Scan Options dialog
box, shown in Figure 2.8, that offers options specific to the Surphaser plug-in. This
dialog box is unavailable during the preview mode and during a scanning session.
The General page of the Spherical Scan Options dialog box offers general options for
the Surphaser plug-in.
ID
An uneditable text box that displays the ID of the connected device. If no device is
connected, the text box is empty.
Configuration
A list box that allows specifying the device configuration to be used. Choose from
the list of configurations provided by the connected device. If no device is
connected, the list box is empty. The default value is provided by the connected
device.
Audio feedback
A check box that enables emitting a sound during the entire scanning session. By
default, the check box is cleared.
Resolution
A list box that allows specifying the resolution used when generating a preview.
Choose from: Low, Medium, and High. A higher resolution generates a more
precise preview; a lower resolution generates the preview faster. The default value
is Low.
The Targets page of the Spherical Scan Options dialog box, shown in Figure 2.9, offers
options used to detect targets.
The Detected target types section offers options used to detect circular, rectangular,
and spherical targets:
Circular
A check box, selected by default, that enables detecting circular targets.
Rectangular
A check box, selected by default, that enables detecting rectangular targets.
Spherical
A check box, selected by default, that enables detecting spherical targets.
The Intensity threshold for circular targets text box allows specifying the intensity
threshold used to detect circular targets. Valid values are integers that range from 0 IU
to 20,000 IU inclusively. The default value is 2,000. IU
Figure 2.9 The Targets page of the Spherical Scan Options dialog box.
The Constrain circular and spherical target diameter optional section, cleared by
default, enables constraining the search for circular and spherical targets. It offers the
following option:
Diameter
A text box that allows specifying the diameter used to detect circular and spherical
targets. Valid values range from 30 mm (exclusively) to 500 mm (inclusively). The
default value is 60.325 mm.
The Rescan spherical targets optional section, selected by default, enables rescanning
spherical targets to improve the precision of their position. It offers the following
options:
Clearance distance
A text box that allows specifying the clearance distance, which is used to define
the scanning zone of rescanned spherical targets. The clearance distance is added
to each side of the spherical target to define the scanning zone, as shown in Figure
2.10. Valid values are greater than 0 mm. The default value is 50 mm.
If it is outside the range of values supported by the device, the nearest value
supported by the device will be applied.
If it is equal to the point spacing value of the first scan pass, the spherical
targets are not rescanned.
Figure 2.10 The Clearance distance is added to each side of the spherical target to define the
scanning zone.
Scanning zone
Clearance
distance
Spherical target
The Data Object page of the Spherical Scan Options dialog box, shown in Figure 2.11,
offers options applied to the Data object after the data is transferred to
PolyWorks|Inspector. The options can be edited in the properties of the scanned Data
object.
The Filtering section offers options used to filter Data points and triangles:
Note that the normal of a spherical grid Data point is obtained by averaging the
normal of all the triangles of which it is part. A Data point can therefore be left
without a normal as a result of the filtering performed by the Max angle to
scanner if it is not part of any triangles.
Angle
A text box, available when Max angle to scanner is selected, that allows
specifying a maximum angular deviation between the normal of
triangles and the scanner. Valid values are between 0° and 90°
exclusively. The default value is 83°.
Figure 2.11 The Data Object page of the Spherical Scan Options dialog box.
The Distance from scanner section offers options used to filter Data points based on
the distance from the scanner:
Min distance
A check box, cleared by default, that enables a text box used to specify a minimum
distance between Data points and the scanner. Data points are excluded when
they are closer to the scanner origin than the minimum distance.
Distance
A text box, available when Min distance is selected, that allows
specifying a minimum distance between Data points and the scanner
origin. Valid values are greater than 0 mm. The default value is 1000 mm.
Max distance
A check box, cleared by default, that enables an adjacent text box used to specify
a maximum distance between Data points and the scanner. Data points are
excluded when they are farther from the scanner origin than the maximum
distance. This can be used to exclude Data points on a wall behind a scanned
object, for example.
Distance
A text box, available when Max distance is selected, that allows
specifying a maximum distance between Data points and the scanner
origin. Valid values are greater than 0 mm. The default value is
10000 mm.
Figure 2.12 The 2D View window in the preview mode. In this example, the scanner has
performed a 360° scan. The image to the left represents the front of the device, while
the image to the right represents the back. The center represents the 0° azimuth of the
device. In this example, two scanning zones have been defined. The one currently
selected is shown in red.
Note that if the preview or the scanning process is interrupted, the Scanner 2D View
window is restored to its previous state.
In the preview mode, the Scanner 2D View window allows graphically defining
scanning zones. If no scanning zones are defined, the device will perform a 360° scan.
The following table lists the operations that can be performed when defining scanning
zones. For each of these operations, the table explains how to proceed and illustrates
the corresponding pointer (or the button used to launch the operation):
Pointer/
Operation Procedure
Button
Any changes made to the scanning zones are reflected in the Scanning zones section
of the Scan dialog box, and vice versa. Scanning zones are automatically deleted when
a new preview mode is launched or when the plug-in is closed.
Figure 2.13 In this example, two scanning zones were previously defined. Only these zones were
scanned, and the result is displayed in (a). The filter parameters were then readjusted,
and the new result is displayed in (b).
(a)
(b)
Once the scanning zones have been defined, the scanning process can be launched.
The device scans only the specified zones. See the example shown in Figure 2.13 (a).
Based on the specified zones, an estimated scan time is specified at the bottom of the
Scan dialog box (Estimated scan time parameter). Note that this time does not include
the time required for post-acquisition processing or for the high-resolution rescanning
of spherical targets.
At the end of the scanning process, a 2D image of the filtered data is displayed in the
Scanner 2D View window. If desired, filter parameters can be changed and the new
result can be viewed in real time in the Scanner 2D View window. See the example
shown in Figure 2.13 (b).The data that does not meet the specified criteria is displayed
in red and will not be transferred to PolyWorks|Inspector.
The plug-in is disconnected from the device when the scanning plug-in is closed.
1. Choose the Surphaser plug-in (see Section 3.2.1 Choosing the device plug-in).
By default, the plug-in attempts to connect to the device. In the message displayed,
click OK.
2. In the Scan dialog box, select File in the Source list box.
Once File is specified as the scan source, it becomes the default value when the
plug-in is reopened. In this case, the plug-in will not automatically attempt to
connect to the device.
3. Set the parameters that will be applied to the scanned data (see Section 3.2.2
Setting the parameters applied to the scanned data).
4. Press the Import button and select a C3D file in the browser displayed.
Depending on the file size, the import operation may take a while. When the
operation is completed, the plug-in displays the scanned data in the Scanner 2D
View window using the specified filters.
5. Confirm the filters to transfer the filtered data and, in the context of multiple device
positions, any detected targets to PolyWorks|Inspector.
The Confirm filters after scan check box is selected by default and allows adjusting
the filter parameters before transferring the data. This parameter is explained in
Section 3.2.2 Setting the parameters applied to the scanned data.
5.1 In the Scan dialog box, change the filter parameters. The image of the
scanned data (in the Scanner 2D View window) reflects the changes in real
time.
5.2 Press the Confirm button to transfer the filtered data and the detected
targets to PolyWorks|Inspector. As a result, a new surface Data object of
the Spherical Grid data type is created in PolyWorks|Inspector.
Different filters can be applied to the scanned data to create other Data objects in
PolyWorks|Inspector. To do so, adjust the filters in the Scan dialog box, then press
the Confirm button to retransfer the data to PolyWorks|Inspector (the targets are
not retransferred). Another surface Data object is created in PolyWorks|Inspector, in
the same device position as the previous data.
This section describes the parameters of the Surphaser plug-in that are offered when
importing data previously scanned using the device:
The parameters used most often are offered in the Scan dialog box (see Section
3.2.2.1 The Scan dialog box)
The parameters that are usually specified once are offered in the Spherical Scan
Options dialog box (see Section 3.2.2.2 The Spherical Scan Options dialog box).
When the Surphaser plug-in is opened, the Scan dialog box is displayed in the Dialog
Zone pane. By default, the plug-in is configured to acquire Data directly from the
scanning device. To import a file that already contains scanned data, choose File in the
Source list box. The dialog box is displayed as shown in Figure 3.14. It offers several
parameters, which are explained in the following subsections.
Figure 3.14 The Scan dialog box configured for importing a scanned data file.
When the points acquired with Surphaser are transferred to PolyWorks|Inspector, they
are stored in a surface Data object. The Data object section of the Scan dialog box
offers the following item to specify the surface Data object to receive the points:
Name
A text box that allows specifying the name of the Data object. The default name is
surface scan <number>, where <number> represents an automatically
incremented integer. The name can be edited, if desired.
Figure 3.15 The Filtering section of the Scan dialog box, which offers the filters that can be
applied to the scanned data.
The Filtering section of the Scan dialog box, shown in Figure 3.15, offers several filters
that are applied to the scanned data before transferring them from the plug-in to
PolyWorks|Inspector. By default, all the filters are enabled. A check box allows enabling/
disabling a filter and, in most cases, a slider is available to specify a value. As the slider is
moved, the exact value is updated in the adjacent text box. The value can also be
edited in the text box.
Min distance
A check box that enables filtering the acquired points by specifying a minimum
distance between acquired points and the scanner. By default, the check box is
selected, and the adjacent slider and text box are enabled to allow specifying the
minimum distance. Acquired points are excluded when they are closer to the
scanner origin than the specified minimum distance.
Valid values range from 0.0 mm to 100000.0 mm inclusively. The default value is
0.0 mm, which excludes no points.
Max distance
A check box that enables filtering the acquired points by specifying a maximum
distance between acquired points and the scanner. By default, the check box is
selected, and the adjacent slider and text box are enabled to allow specifying the
maximum distance. Acquired points are excluded when they are farther from the
scanner origin than the specified maximum distance.
Valid values range from 0.0 mm to 100000.0 mm inclusively. The default value is
100000.0 mm.
Min intensity
A check box that enables filtering the acquired points by specifying the minimum
intensity of the acquired points. By default, the check box is selected, and the
adjacent slider and text box are enabled to allow specifying the minimum
intensity. Points with a lower intensity than the specified minimum intensity are
excluded.
Valid values are integers that range from 0 to 20000 iu (Intensity Units) inclusively.
The default value is 200 iu.
Max intensity
A check box that enables filtering the acquired points by specifying the maximum
intensity of the acquired points. By default, the check box is selected, and the
adjacent slider and text box are enabled to allow specifying the maximum
intensity. Points with a higher intensity than the specified maximum intensity are
excluded.
Valid values are integers that range from 0 to 20000 iu (Intensity Units) inclusively.
The default value is 18000 iu.
Valid values range from 0.0° to 90.0° inclusively. The default value is 5.0°.
Gap width
A check box that enables filtering the acquired points by specifying the area on
both sides of a detected gap within which acquired points are excluded. By
default, the check box is selected, and the adjacent slider and text box are enabled
to allow specifying the width.
Valid values depend on the distance from the scanner. The default value is
5.25 mm.
Figure 3.16 The Device positions and targets section of the Scan dialog box, which offers
parameters that allow working with multiple device positions.
Isolated area
A check box that enables filtering the acquired points by specifying the minimal
area of a group of points. Points within a smaller area are not retained. Note that
this filter is also used when finding targets. By default, the check box is selected,
and the adjacent slider and text box are enabled to allow specifying the area.
Valid values depend on the distance from the scanner. The default value is
150.00 mm2.
The Device positions and targets section of the Scan dialog box, shown in Figure 3.16,
offers items that allow acquiring data in different device positions as well as detecting
targets that are subsequently used to align the data:
Find targets
A check box that enables detecting the targets that will be used to align scanned
data. Targets are transferred to PolyWorks|Inspector in the active device position.
The scanned data will automatically be aligned, as explained in the Moving a
device using the Targets alignment method section of the PolyWorks|Inspector
Reference Guide. By default, the check box is selected.
Note that only the Isolated area filter is applied for target detection.
If the Confirm filters after scan check box is enabled and the data is transferred more
than once without performing a new scan, the data is transferred in the same device
position, but the targets are not retransferred.
The Surphaser software section of the Scan dialog box gives access to the
Configuration dialog box, shown in Figure 3.17, which allows specifying the files and
folders used by the device. It offers the following parameters:
Folder
A text box that allows specifying a path to the folder that contains the .rpr
files. An adjacent Browse button opens a folder browser. The .rpr files are
required in order to run the plug-in and must be located in this folder. The
default folder is C:\ProgramData\InnovMetric\PolyWorks\Surphaser. Note
that write access permission to the folder is required.
Current
A list box that allows specifying the .rpr file used to initialize and
configure the device. Choose from the list of available .rpr files.
Figure 3.18 The General page of the Spherical Scan Options dialog box.
Folder
A text box that allows specifying a path to the folder that contains the
raw scans (.c3d files). An adjacent Browse button opens a folder browser.
The default folder is [workspace configuration folder]\Surphaser.
Press the OK button to apply the changes and dismiss the dialog box, or press the
Cancel button to dismiss the dialog box. Note that if the Cancel button is pressed,
modifications to the scanner parameter files folder are still applied, and imported .rpr
files are still imported.
The Options button of the Scan dialog box displays the Spherical Scan Options dialog
box, shown in Figure 3.18, that offers options specific to the Surphaser plug-in. This
dialog box is unavailable during the preview mode and during a scanning session.
The General page of the Spherical Scan Options dialog box offers general options for
the Surphaser plug-in.
ID
An uneditable text box that displays the ID of the connected device. If no device is
connected, the text box is empty.
Configuration
A list box that allows specifying the device configuration to be used. Choose from
the list of configurations provided by the connected device. If no device is
connected, the list box is empty. The default value is provided by the connected
device.
Audio feedback
A check box that enables emitting a sound during the entire scanning session. By
default, the check box is cleared.
Resolution
A list box that allows specifying the resolution used when generating a preview.
Choose from: Low, Medium, and High. A higher resolution generates a more
precise preview; a lower resolution generates the preview faster. The default value
is Low.
The Targets page of the Spherical Scan Options dialog box, shown in Figure 3.19, offers
options used to detect targets.
The Detected target types section offers options used to detect circular, rectangular,
and spherical targets:
Circular
A check box, selected by default, that enables detecting circular targets.
Rectangular
A check box, selected by default, that enables detecting rectangular targets.
Spherical
A check box, selected by default, that enables detecting spherical targets.
The Intensity threshold for circular targets text box allows specifying the intensity
threshold used to detect circular targets. Valid values are integers that range from 0 IU
to 20,000 IU inclusively. The default value is 2,000. IU
The Constrain circular and spherical target diameter optional section, cleared by
default, enables constraining the search for circular and spherical targets. It offers the
following option:
Diameter
A text box that allows specifying the diameter used to detect circular and spherical
targets. Valid values range from 30 mm (exclusively) to 500 mm (inclusively). The
default value is 60.325 mm.
Figure 3.19 The Targets page of the Spherical Scan Options dialog box.
The Rescan spherical targets optional section, selected by default, enables rescanning
spherical targets to improve the precision of their position. It offers the following
options:
Clearance distance
A text box that allows specifying the clearance distance, which is used to define
the scanning zone of rescanned spherical targets. The clearance distance is added
to each side of the spherical target to define the scanning zone, as shown in Figure
3.20. Valid values are greater than 0 mm. The default value is 50 mm.
If it is outside the range of values supported by the device, the nearest value
supported by the device will be applied.
If it is equal to the point spacing value of the first scan pass, the spherical
targets are not rescanned.
The Data Object page of the Spherical Scan Options dialog box, shown in Figure 3.21,
offers options applied to the Data object after the data is transferred to
PolyWorks|Inspector. The options can be edited in the properties of the scanned Data
object.
The Filtering section offers options used to filter Data points and triangles:
Figure 3.20 The Clearance distance is added to each side of the spherical target to define the
scanning zone.
Scanning zone
Clearance
distance
Spherical target
Note that the normal of a spherical grid Data point is obtained by averaging the
normal of all the triangles of which it is part. A Data point can therefore be left
without a normal as a result of the filtering performed by the Max angle to
scanner if it is not part of any triangles.
Angle
A text box, available when Max angle to scanner is selected, that allows
specifying a maximum angular deviation between the normal of
triangles and the scanner. Valid values are between 0° and 90°
exclusively. The default value is 83°.
The Distance from scanner section offers options used to filter Data points based on
the distance from the scanner:
Min distance
A check box, cleared by default, that enables a text box used to specify a minimum
distance between Data points and the scanner. Data points are excluded when
they are closer to the scanner origin than the minimum distance.
Figure 3.21 The Data Object page of the Spherical Scan Options dialog box.
Distance
A text box, available when Min distance is selected, that allows
specifying a minimum distance between Data points and the scanner
origin. Valid values are greater than 0 mm. The default value is 1000 mm.
Max distance
A check box, cleared by default, that enables an adjacent text box used to specify
a maximum distance between Data points and the scanner. Data points are
excluded when they are farther from the scanner origin than the maximum
distance. This can be used to exclude Data points on a wall behind a scanned
object, for example.
Distance
A text box, available when Max distance is selected, that allows
specifying a maximum distance between Data points and the scanner
origin. Valid values are greater than 0 mm. The default value is
10000 mm.
When the C3D file is imported, the scanned data is automatically displayed in the
Scanner 2D View window. This window can be closed and reopened at any time by
pressing the 2D View button in the Scan dialog box.
Note that the scanned data is displayed only when the Confirm filters after scan check
box is selected. Filter parameters can be changed and the new result can be viewed in
real time in the Scanner 2D View window. See the example shown in Figure 3.22. The
Figure 3.22 In this example, the file is imported and the scanned data is displayed in the
Scanner 2D View window, as shown in (a). The filter parameters were then readjusted,
and the new result is displayed in (b).
(a)
(b)
data that does not meet the specified criteria is displayed in red and will not be
transferred to PolyWorks|Inspector.
Most application commands are easy to find. For each action performed through the
GUI of an application, the corresponding application command can be seen in the
Command History pane. However, some application commands may not be offered in
the GUI, as they offer functionalities to address only specific needs.
This chapter presents a short introduction to scripting and explains how to quickly find
the application commands for your device that are mapped to the GUI. Then, the
functionalities that are only available through application commands, if any, are
presented.
For each command, a description of the command, the command syntax, and a
description of each command argument (e.g., type) is provided. An example of the
command help that is available for this plug-in is shown in Figure 4.2. The editor offers
help in HTML format for all the MSCL commands, as well as application commands that
are found in the specific application/module. To access the HTML help file, choose the
Help > Commands menu item in the Macro Script Editor.
The Macro Script Editor is offered in the main PolyWorks Metrology Suite modules, such
as PolyWorks|Inspector™. Scripts must be executed in the Macro Script Editor. The
editor offers automatic indentation and an intelligent color scheme to, for example,
differentiate between MSCL and application commands. In addition, blocks of
commands can be quickly commented in and out. Finally, several script execution
modes are offered. Scripts can be executed step by step, or to user-specified break
points, which is useful when debugging a script.
The MSCL commands include common programming structures, such as IF and WHILE
for the conditional execution of commands. Variables are offered to store information,
including array variables. There are also commands to query the user and to get
information from a project (e.g., the number of objects under a given branch). These
commands provide just a sample of the possibilities available through scripting.
Figure 4.1 The Command History pane shows the application commands that result from user
actions performed through the GUI. Here, a probing device was selected and the
Connect to Device button was pressed. In (a), the arrow shows the corresponding
commands that appear in the Command History pane. In (b), the commands were
copied and pasted into a new script in the Macro Script Editor.
(a)
(b)
Figure 4.2 The list of application commands for the plug-in in the HTML command help.
Command Description
No commands available.