PolyWorksPlug-in (I) Nikon Metrology Probe (Legacy)
PolyWorksPlug-in (I) Nikon Metrology Probe (Legacy)
(Legacy) in PolyWorks
PolyWorks|Inspector™
Complement to the
PolyWorks|Inspector Reference Guide
© 2018–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.
Contents
4 Introduction
5 1. Requirements
5 1.1 Hardware and software components
6 1.2 Drivers
11 3. Probing in PolyWorks|Inspector
11 3.1 Connecting to the device
11 3.2 Probing objects
12 3.2.1 Launching a probing operation
13 3.2.2 Using the device buttons
15 3.3 Moving the device
15 3.4 Disconnecting from the device
This document explains how to configure the devices supported by the Handheld API
Runtime (HHAPI) and by the Nikon Metrology API Runtime (NMAPI) V3.7. It explains
how to use these devices with the PolyWorks|Inspector module, provides an overview
of probing in the module, and describes device-specific parameters as well as the
probing toolbars configured for these devices. If using NMAPI V4.4 or later, see the
Nikon Metrology Probe plug-in guide, offered on the Help > Reference Guides submenu
of PolyWorks|Inspector module. For any questions or issues related to a device or its
setup, contact a Nikon Metrology 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 PolyWorks Metrology Suite 2020 with the latest intermediate release must be
installed to ensure having the most up-to-date plug-ins (available from the Technical
Support Zone of InnovMetric’s website).
For the Nikon Metrology Probe and Scanner (Legacy) plug-in, the
NikonMetrologyProbeAndScannerLegacy.dll file is installed in the Plugins subfolder of
the PolyWorks Metrology Suite installation folder.
Nikon Metrology Probe and Scanner (Legacy) must be selected on the Plug-ins
page of the Workspace Manager Options dialog box. This dialog box is displayed the
first time that the PolyWorks Metrology Suite is opened. It is also available at any time
by clicking the Workspace Manager Options button (shown to the right) in the
Workspace Manager.
For information about the different options available in the previously mentioned
dialog box, see the “Setting PolyWorks options” section of the PolyWorks Reference
Guide.
ftp://ftp.innovmetric.com/pub/drivers/Nikon/Legacy/
1.2 Drivers
The required driver depends on which device is used. For more information, see the
manufacturer’s recommendations.
The Probing Control toolbar. It allows deleting the last acquired point, and reprobing
the last probed object.
Hardware profile
A group box that offers items that allow choosing, creating, and managing
hardware profiles, which specify a localiser.
Name
A list box that allows selecting a predefined hardware profile. The default
choice is the last-selected profile.
Figure 2.1 The Probing Device Properties dialog box, and the one used to create profiles.
New
A button that displays a dialog box, shown to the right in Figure 2.1, that
allows creating a new profile. It offers the items that follow:
Name
A text box that allows specifying a unique profile name (i.e.,
different from that of existing profiles). By default, this text box is
empty. If no name is provided, one is created using the name of
the localiser.
Localiser
A list box that offers all the localisers (i.e., devices) supported by
the runtime from Nikon.
Press the OK button to create the profile or the Cancel button to cancel
the profile creation.
Delete
A button that allows deleting the selected profile.
Configure
A button that allows configuring the selected profile by accessing the
runtime configuration dialog box specific to the selected profile. Values
Figure 2.3 The Objects > Probing page of the PolyWorks|Inspector Options dialog box.
For complete information on this dialog box, refer to the Handheld API
Runtime documentation.
For the Nikon Metrology plug-in, a particularity applies to one of the options on the
Objects > Probing page of the PolyWorks|Inspector Options dialog box: the end of
acquisition button must be used instead of the acquisition button for the object
measurement confirmation (see Figure 2.3).
Figure 2.2 Pages within the PolyWorks|Inspector Options dialog box that offer probing options.
Probe pages:
Options related to probing the measured component of
measurement objects.
For information on other subjects related to probing, see the “Probing” chapter in the
PolyWorks|Inspector Reference Guide, which is available from the Help > Reference
Guides submenu of this module.
If profiles exist, the last-selected profile is used. Otherwise, a dialog box is displayed to
create a new profile which will be used; for more information, see Section 2.2
Configuring device properties.
Note that any line scanning session (or other probing session) that currently uses the
Nikon Metrology software is ended when connecting to the device.
Features, except surface and slab features; can also probe nominal components.
Figure 3.1 The Create Features dialog box, shown in (a), is available by choosing Measure >
Features > Create menu item; it is also available through the Features toolbar. In (a),
the dialog box is configured to create a circle using the Probe creation method. In (b),
the split button allows choosing the desired feature type.
(a)
(b)
Probing operations are offered on the main menu, and on the shortcut menu, of
objects that can be probed.
Figure 3.3 A snapshot of probing data for a surface comparison point. A red guiding line links
the probe’s current position and the comparison point being probed.
Once the probing operation is launched, a dialog box is displayed to configure the
probing operation; see Figure 3.3. It features a Probe button to begin the actual point
measurement; if the device is already connected, the button is made unavailable and
the probing can begin.
The 3D scene features the Probing Status window that displays an icon of the object
being probed and the number of points measured so far. An automatic viewpoint
mode is offered that places the object to probe in a good viewing position for the
operator. In most cases, a virtual probe represents the current position of the actual
probe. The DRO window displays information pertinent to the current probing
operation. These items can be customized using the probing options offered in the
PolyWorks|Inspector Options dialog box.
The Nikon Metrology Probe plug-in allows probing with any device supported by the
Handheld API Runtime. The table that follows explains how the buttons are used by this
plug-in.
Figure 3.2 Probing data for existing measurement objects is offered on the main menu (a), the
object’s shortcut menu (b), and the Probe Measured Components toolbar (c).
(a)
(b)
(c)
Note that in the table, the “acquisition button” and “end of acquisition button” terms
are generic. If the device has no acquisition or end of acquisition button, it is necessary
to use the buttons on the Probing Device toolbar. The toolbar buttons are detailed in
Appendix A Probing Toolbars.
Operation Information
To acquire individual
Push the acquisition button.
points
To terminate the
Push the end of acquisition button.
acquisition sessions
For more information, see the “Device Positions” chapter of the PolyWorks|Inspector
Reference Guide.
The Disconnect from Nikon Metrology Probe (Legacy) button (shown to the right)
is clicked on the Devices toolbar.
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.
Item Description
Scan
A split button whose button establishes a connection with the selected
scanning device.
a. For the probing device to be offered, the corresponding DLL file must exist in
the Plugins subfolder of the PolyWorks Metrology Suite installation folder (e.g.,
C:\Program Files\InnovMetric\PolyWorks MS 2020\plugins), and it must be
selected on the Plug-ins page of the Workspace Manager Options dialog box.
Item Description
The Probe Name list box that contains the probes supported by the
device. The choice (Auto-Detect) indicates that the device will
automatically the probe. Hovering the mouse pointer over the list box
displays a tooltip that shows the complete name of the selected probe.
The Tip Diameter. The diameter of the probe expressed in the project’s units
of length. In the case of probes with shanks, the tip diameter and the shank
diameter are displayed in that order.
This value may be updated automatically, or manually, on the Probing
Device page of the PolyWorks|Inspector Options dialog box. For more
information, see the “Probing device options” section of the
PolyWorks|Inspector Reference Guide.
The Probing Mode list box. It lists the probing modes offered by the
selected device, and can be used to specify a different mode. The modes
are explained in the “Measurement mode options” section of the
PolyWorks|Inspector Reference Guide. Hovering the mouse pointer over
the list box displays a tooltip that shows the complete name of the selected
probing mode.
The Probing Options menu button. It offers quick access to frequently used
probing options. For more information on these options, see the “Probing
device options” section of the PolyWorks|Inspector Reference Guide.
Item Description