Poly Works Beginners Guide
Poly Works Beginners Guide
InnovMetric Software Inc. 2014 Cyrille-Duquet, Suite 310 Qubec, Qubec, Canada, G1N 4N6 Tel.: (418) 688-2061 Fax: (418) 688-3001
Copyright 2005-2007 by InnovMetric Software Inc. All rights reserved. Reproduction in whole or in part in any way without written permission from InnovMetric Software is strictly prohibited. This manual 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.
Contents
Contents
Introduction ............................................................................................... 7
Your Beginners Guide... ...................................................................................... 7 For more information............................................................................................ 7 Before you start.................................................................................................... 7 Getting the data files ............................................................................................ 8 Typical PolyWorks Workflow.............................................................................. 10
PolyWorks Basics................................................................................... 11
1. The PolyWorks/Workspace Manager............................................................. 1.1 The Workspace Manager interface ................................................... 1.2 The Wizard window ........................................................................... 1.3 Workspace contents.......................................................................... 1.4 Sharing a PolyWorks workspace....................................................... 2. Interface Basics.............................................................................................. 2.1 Getting ready..................................................................................... 2.2 Visiting a module interface ................................................................ 2.3 Working in the 3D scene ................................................................... 2.4 Working with objects ......................................................................... 2.5 Objects and their elements................................................................ 2.6 Additional information........................................................................ 2.7 End the exercise................................................................................ 2.8 Close the active PolyWorks workspace ............................................ 2.9 Exit the Workspace Manager ............................................................ 11 12 13 14 14 15 15 15 19 21 22 24 24 24 24
Contents
Exercise #2: Auto-align 3D Images ......................................................... 38 1. Get ready.................................................................................. 38 2. Import and automatically align 3D Images one at a time.......... 38
Additional information.............................................................................. 45
Contents
4.2 Reduce the mesh......................................................... 5. Extract the shape of the model................................................. 6. Export the edited polygonal model ........................................... 7. Save the IMEdit editing project.................................................
57 58 59 59
Inspection ................................................................................................ 75
A. Inspect the digitized part ................................................................... 77
IMInspect basics...................................................................................... 77 Exercise #1: A typical inspection project ................................................. 1. Get ready.................................................................................. 2. Define the Reference object ..................................................... 2.1 Import the Reference object ........................................ 2.2 Create Features on the Reference object.................... 3. Acquire the Data object ............................................................ 4. Align the Data object to the Reference object .......................... 4.1 Pre-align using a best-fit alignment ............................. 4.2 Auto-extract measured Primitives on the Data object.. 4.3 Align using Features .................................................... 5. Measure ................................................................................... 5.1 Compare using all data points ..................................... 5.2 Compare using Cross-Sections ................................... 5.3 Take basic measurements........................................... 6. Report results ........................................................................... 79 80 81 81 82 83 83 83 84 84 85 85 86 89 90
Contents
7. Save the inspection project and exit......................................... 90 Exercise #2: Control Feature Dimensions and GD&T............................. 1. Get ready.................................................................................. 2. Create the Features.................................................................. 3. Control dimensions................................................................... 4. Perform GD&T controls ............................................................ 5. Save and exit............................................................................ 91 91 92 93 94 95
Exercise #3: Using an automated inspection project .............................. 96 1. Get ready.................................................................................. 96 2. Perform the automatic operations ............................................ 97
Introduction
Introduction
InnovMetric Software Inc. welcomes you to PolyWorks, the leading software in the world for reverse-engineering and inspection applications using high-density point clouds.
Introduction
2 - On the Technical Support Zone of our web site: Start your web browser. Browse for http://www.innovmetric.com. If the web site language is not English, click on the English link at the top of the web page. Find the TECHNICAL SUPPORT ZONE title on the page (see figure to the right). Enter your login and password, and click Enter. If you dont have your own login, you can use the public one: Login: polyworks Password: accurate Click . In the Data Exchange section, under Public, click PolyWorks V10 Beginners Guide Data to download to your computers local disk.
Unzip the PolyWorks V10 Beginners Guide Data.zip file. Select the directory PolyWorks V10 Beginner's Guide Data. Right-click and choose Properties. A dialog box pops up. If the Read-only attribute is set, unset it and click OK. A dialog box pops up. Check Apply changes to this folder, subfolders and files and click OK.
See the next page for the PolyWorks V10 Beginner's Guide Data directory structure and the names of the data files. In the exercises that will follow, only the file names will be provided.
Introduction
The PolyWorks V10 Beginner's Guide Data directory structure and data files:
Two PolyWorks workspaces, containing files required for exercises, in a compressed format (.pwzip). They will be decompressed when you open them in the PolyWorks/Workspace Manager.
Scans of IMBase IMBase_1.pf IMBase_2.pf IMBase_3.pf IMBase_4.pf IMBase_5.pf IMBase_6.pf IMBase_7.pf IMBase_8.pf
Raw scan files of a sheet metal part for the auto-alignment exercise.
Introduction
PolyWorks V10
Acquiring Data
A. Scan the part B. Align the scans
Reverse Engineering
A. Generate a polygonal model B. Improve the polygonal model C. Create NURBS surfaces
Inspection
A. Inspect the digitized part B. Share/view the inspection project
This guide is built around this simple workflow. While the next section quickly presents the PolyWorks/Workspace Manager and PolyWorks interface basics, the three most important sections introduce the processes described above.
10
PolyWorks Basics
PolyWorks Basics
In PolyWorks Basics, you will first become familiar with the PolyWorks/Workspace Manager (WM). This tool lets you use the PolyWorks modules and manages workspaces that contain your files and the IMAlign, IMEdit, and IMInspect Projects that you create using PolyWorks. The second part of PolyWorks Basics lets you become familiar with the PolyWorks graphical user interface. The content is part information and part exercise.
Get Ready
1. Open the PolyWorks/Workspace Manager double-click on the PolyWorks shortcut on your Windows desktop. 2. Click Cancel in the popup dialog box. 3. Menu: Config > Directories. 4. Set Default workspace directory to the PolyWorks V10 Beginners Guide Data\PolyWorks Workspaces directory on your hard disk. Press the ellipsis button to pop up a browser. 5. Click OK. 6. Menu: File > Open. 7. Select PolyWorks_Interfaces.pwk.pwzip, and click Open. 8. A browser pops up. Specify a directory to which the workspace should be extracted. 9. Click OK. The Workspace Manager is open. The Workspaces area displays the names of open PolyWorks workspaces and shows the contents of the active PolyWorks workspace. The active workspace contains two objects: IMEdit_project An IMEdit Project containing three polygonal models. This object can be opened by the IMEdit module. An IMInspect Project containing three digitized parts. This object can be opened by the IMInspect module.
IMInspect_project
11
PolyWorks Basics
12
PolyWorks Basics
In the figure below, the PolyWorks modules are classified by process and type of interface:
modules for Acquiring data, Inspection, and Reverse Engineering IMMerge IMAlign IMCompress IMEdit IMInspect IMTexture IMView parameter windows graphical user interfaces
Wizard window - the content adapts to the object selected in the active workspace
properties name of the selected object navigation next steps using the selected object steps with an icon open a module notes the selected objects current notes (added by the user or a module after processing) add your own notes to object snapshot in the case of a project, the WM can save or the user can grab a snapshot of the 3D scene
13
PolyWorks Basics
WorkspaceName_Files
A directory that contains all of the objects present in the PolyWorks workspace, with the exception of 3D digitized datasets imported using the Keep files external to workspace option, or polygonal models imported using the IMAlign module and using the same import parameter.
It is easy to send a workspace to a colleague as one file. Use the File > Export Compressed Workspace command. The XML file and the object directory are zipped to one single file. If any objects were imported using the Keep files external to workspace option, they are automatically added to the compressed workspace. Your colleague can open the zipped workspace directly in the Workspace Manager. PolyWorks V10 Beginners Guide 14
Interface Basics
PolyWorks Basics
2. Interface Basics
The main modules, IMAlign, IMEdit, IMInspect, and IMView all have similar graphical user interfaces. This section will help you become familiar with the interface by presenting items that are common to all modules. The specifics of each module are presented in later sections. The content here is part explanation, part exercise. The active workspace contains an IMEdit Project and an IMInspect Project. You will open one project. It will serve as a learning tool.
15
Interface Basics
PolyWorks Basics
Right-clicking on an object pops up a shortcut menu that offers exporting and object-editing operations (Export and Edit menus) specific to the object type. The last section offers menu items from parent branches, if any.
16
Interface Basics
PolyWorks Basics
The Main Objects toolbar The Main Objects Toolbar (not available in IMAlign) offers a quick access to the creation and the editing operations grouped by category of object. It provides access to all the related operations in the Menu Bar as well as more minor editing operations only found in this toolbar. See below IMInspects Main Objects toolbar.
Module-specific toolbars The module-specific toolbars offer a group of tools, that are sparse in the menus, to achieve a specific task. See below IMEdits Polygonal Edition toolbar and IMInspects Main Process toolbar.
The 3D Scene toolbar The 3D Scene toolbar is common to all modules. It provides shortcuts to the most-used functions of the View main menu.
17
Interface Basics
PolyWorks Basics
Exercise
1. Press the Select button. 2. Press the Show/Hide Contextual Parameters button to enable/disable the display of the help window. 3. Press ESC to exit Selection mode.
The following mouse operation is available in all of the modules: middle-click on an object in the object tree toggles the visibility status (show/hide) of the object
18
Interface Basics
PolyWorks Basics
Learning mode buttons. Each one sets all mouse buttons to perform only that 1 action.
Expert mode button. All actions are available by using the mouse button + any keyboard key combinations shown beneath each action.
Additional Information
3D rotation operation: make sure you pick on an object (center of rotation); if you pick on a background pixel, the center of the bounding box is used as center of rotation. 3D rotation operation (variation): hold down the SHIFT key and move the mouse if the first 10-pixel displacement is in a vertical direction, the rotation is about the horizontal axis of the 3D scene, and if it is in a horizontal direction, the rotation is about the vertical axis of the 3D scene. Rotate about view axis operation (variation): instead of moving the mouse with the SHIFT key and the right mouse button held down, simply hold down the SHIFT key and click the right mouse button the 3D scene will rotate around the viewing axis by increments of 90 degrees.
19
Interface Basics
PolyWorks Basics
20
Interface Basics
PolyWorks Basics
Processing these objects creates other objects. Commands let you select and manipulate the objects.
21
Interface Basics
PolyWorks Basics
Some important secondary objects (like Cross-Sections) also have object elements. Some operations require selecting and hiding or deleting object elements.
22
PolyWorks Basics
Selecting elements can be done using Select menu items, or interactively in Selection mode. The second method is described here. Enter Selection mode by pressing the Select Elements button in the Standard toolbar, or by pressing the SPACEBAR. On entering Selection mode, the Selection Context dialog box pops up. The top part lets you specify the elements to select, and the bottom part is for configuring the Selection mode (explained on the previous page). Two items concern region-based selections (that use a selection contour): Selection type: by default, the selection is surfacic. For a volumetric selection, press and hold down the SHIFT key. Selection contour: by default, the selection contour is freeform drag a selection contour using the middle-mouse button. To obtain a polygonal selection contour, press and hold down the CTRL key while middle-clicking, and right-click to close the contour.
Contour
a surfacic selection using a freeform contour
Selected elements
23
Interface Basics
PolyWorks Basics
Location
in a module, select Help > Name of module Reference Guide in the Workspace Manager, select Help > Reference Guides > Name of module related documentation in the Documentation subdirectory of the PolyWorks installation directory (PDF format) InnovMetric Software Web site www.innovmetric.com
Documentation
each modules complete reference documentation in PDF format; for example, IMEdit Reference Guide
PolyWorks Reference Guide Macro and SDK Reference Guide user guides for plug-ins with a complete description of dialog box items tutorials (text and video) FAQs case studies
24
Acquiring Data
Acquiring Data
Objective
PolyWorks enables reverse-engineering and inspection applications using high-density point clouds. Acquiring data is the first item in the PolyWorks workflow (see page 10). It consists of two steps. Step Illustration
......
The 3D Images are positioned accurately with respect to neighboring 3D Images, reconstituting the part; all 3D Images are now in the same global coordinate system.
25
Acquiring Data
The next step shows you how to align all the scans together in a global coordinate system. PolyWorks V10 Beginners Guide 26
Acquiring Data
Processes toolbar
27
Acquiring Data
Typical workflow
Data files
If you have copied the data files to your hard disk, as explained on page 8, go to the next step. If you have not copied the files, please go to page 8 and follow the procedure. The directory that contains the data files should be named PolyWorks V10 Beginners Guide Data.
28
Acquiring Data
1. Get ready
1. Open the PolyWorks/Workspace Manager by double-clicking on the PolyWorks shortcut on your Windows desktop. The Workspace Manager pops up. 2. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 3. Click the ellipsis button ( ) in the Create new workspace area of the Open or Create Workspace window to create a new workspace. A browser pops up. 4. Specify a workspace name and location and click Save. 5. Click Create.
Choose a digitizer
When a digitizer is chosen, IMAlign sets default parameters optimized for the specified digitizer. 1. Menu: Config > Digitizers. A dialog box pops up. 2. Set Digitizer to Generic Close Range (in mm). 3. Click OK.
Acquiring Data
Align the new 3D Image using the 1 Point Pair Alignment method and lock
No
* Note that while it is possible to edit 3D Image points in IMAlign, it is recommended to do it in the downstream IMEdit module or IMInspect module.
30
Acquiring Data
31
Acquiring Data
new 3D Image
The Split View Mode dialog box also features automatic alignment items. They are presented in Exercise #2 on page 38.
32
Acquiring Data
You may undo an alignment by choosing Edit > Undo Align (Point Pairs), by pressing the Undo button, or by pressing CTRL + Z on your keyboard. If the 1 Point Pair alignment fails, you may unlock the newly added 3D Image (Image > Unlock), return to Split View Alignment mode, use the mouse to give a similar orientation to the 3D Images in the left and the right viewports, and perform another 1 Point Pair alignment.
Acquiring Data
34
Acquiring Data
View statistics
As soon as the best-fit alignment is started, the Statistics tab of the Alignment & Comparison dialog box opens. It displays convergence, mean, and standard deviation information for each 3D Image at each iteration of the alignment algorithm. 3D Images are identified by their index number. Note that the locked 3D Image is not included in the statistics.The objective here is to reach a near zero error and a standard deviation value neighboring the digitizer accuracy (1 sigma). These statistics can help you decide to manually stop the alignment in progress, if the results remain similar for several iterations.
View histograms
IMAlign displays a histogram for each 3D Image, identified by its index number preceded by the letters Im (image) under the Histogram window docked under the Tree View window. Click the tab to view the histogram. The histograms are updated throughout the alignment process, and a bell-shaped histogram centered about zero is a sign of a good result. A 3D Image that is not well aligned can be easily identified by looking at its histogram.
35
Acquiring Data
The errors are mapped to the part using a color scale displayed in the 3D scene.
default display
adjusted display
If any errors are off the scale (> Maximum error or < Minimum error and within the Maximum distance) they are represented using a dark grey color. Areas that have no overlap, and therefore no error values within the Maximum distance, are displayed using the default material color. Note that the types of color scales used for comparison operations are configurable.
36
Acquiring Data
The IMAlign module closes and the IMAlign Project has been saved to the specified workspace.
37
Acquiring Data
1. Get ready
1. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 2. In the PolyWorks/Workspace Manager, click on the IMAlign button in the Standard toolbar. The IMAlign module starts.
The 3D Image is now loaded in IMAlign (and the scan is loaded in the workspace).
Acquiring Data
Troubleshooting
If the 3D Image does not automatically align correctly to the already aligned 3D Images, click the One Point Pair button in the Split View Mode dialog box and perform a 1 Point Pair Alignment operation (see page 33) to obtain the appropriate result.
39
Acquiring Data
The results
The aligned 3D Images are shown in the figure to the right.
Remaining steps
Now that all six 3D Images are positioned correctly, you would normally continue with the remaining steps that make up the typical workflow (optimize the 3D Image alignment and analyze it) these steps are not presented here. 1. Menu: File > Exit. 2. Click No in the message window concerning overlap reduction. 3. Click Yes in the message window if you wish to save the alignment project to the active workspace using the default name. 4. In the Workspace Manager: File > Close. Note that additional information related to the completed exercises in this section is provided on page 105. PolyWorks V10 Beginners Guide 40
Reverse Engineering
Reverse Engineering
Objective
Reverse engineering is a process that involves converting the aligned scans of a physical part, which may require editing, into a high-quality, highly accurate surface represented by polygons. If desired, NURBS surfaces may be fitted to the polygonal model for use in downstream applications, such as CAD software. The reverse-engineering process consists of three steps.
Illustration
11 scans aligned
points in scans merged to form a polygonal model (holes made in mesh for exercise purposes)
41
Get ready
1. If necessary, start the Workspace Manager by double-clicking on the PolyWorks shortcut on your Windows desktop. 2. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 3. Workspace Manager main menu: File > Open. 4. Select PolyWorks_processes.pwk.pwzip. 5. Specify a directory in the file browser and click OK; the Workspace Manager unzips the workspace in the directory and makes it the active workspace.
42
Reverse Engineering
IMMerge basics
The IMMerge module is composed of a main parameter window, a 3D scene, and a text output area. The 3D scene shows the evolution of the meshing process using colors, and the text output area gives precise information as to the processing currently being performed. The 3D scene can be transformed using standard, mouse-based operations. If the meshing operation does not complete successfully the first time, the text output area provides useful diagnostic information.
3D scene
43
Reverse Engineering
1. Start IMMerge
1. Select IMBlock_Aligned in the active workspace. 2. In the Wizard window of the Workspace Manager, click Create a polygonal model. When the IMMerge window pops up, items already have values based on the selected IMAlign Project. The values can be changed if desired.
2. Set parameters
1. 2. 3. 4. Set Smoothing level to Medium. Make sure that Open in IMEdit after a successful merge is not set. Click Advanced. Check: Show text output Show 3D progress
The 3D scene will show the progress of the operation using colored areas: red not yet processed, yellow being processed, and green processed. When the creation of the polygonal model is complete, the last message In the text output area should read IMMerge has ended successfully. A polygonal model has been created under the Polygonal Models branch in the active workspace.
4. Exit IMMerge
Click Close.
After the merging operation, the IMMerge module closes and the polygonal model is saved to the Polygonal Models branch of the active workspace.
44
Reverse Engineering
The results
IMMerge has produced a mesh similar to the one in the snapshot below. The scans aligned in the IMAlign Project have been merged to provide a high-quality polygonal model composed of a mesh that has been smoothed and intelligently reduced. This polygonal model can now be loaded into the IMEdit module to be improved.
Additional information
When the polygonal model is created, it appears in the active workspace under the Polygonal Models branch. The IMMerge parameters used to create the polygonal model are automatically added to the notes for this object. To see the parameters, select the polygonal model and read under Notes in the WM Wizard window. Performance: IMMerge uses the available processors on your workstation for optimum performance. Even larger gains in performance can be achieved through IMMerges cluster mode. You install the IMMerge Agent, that comes with PolyWorks, on those workstations that you want to have participate in the merging task, including your workstation, if desired. You then configure the cluster mode by entering the workstation names. On launching the merge, the work to do is distributed to those workstations, and the results returned and combined at your host workstation. For complete information, see the IMMerge Reference Guide and the PolyWorks Reference Guide, available from the Workspace Managers Help menu.
45
Reverse Engineering
IMEdit basics
This section presents module-specific basics. The exercises begin on page 48.
Main Objects toolbar Polygonal Edition toolbar PolyWorks V10 Beginners Guide 46
Reverse Engineering
Selecting objects
IMEdit functions like all other modules when selecting objects (explained on page 21). Interactive picking of objects in the 3D scene is launched by pressing the Pick Objects button. Specify the objects to select in the Picking Context dialog box that is displayed in the Dialog Zone.
MIDDLE Button
47
Reverse Engineering
Typical workflow
48
Reverse Engineering
1. Get ready
Start IMEdit
1. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 2. Select IMBlock_raw_model.pqk under the Polygonal Models branch of the active workspace. 3. In the Wizard window of the Workspace Manager, click Improve the polygonal model and create NURBS surfaces. The IMEdit module opens with the polygonal model loaded. See under the Models branch of the IMEdit object tree.
49
Reverse Engineering
front view
back view
The large complex hole in the wall of the back side slot will be filled using a composite Bzier surface
Reverse Engineering
8. The Confirm Hole Filling dialog box appears (Dialog Zone). Press the Next and Previous buttons to navigate to and see each proposed filling zone. Use the Interrupt mode (press SPACEBAR) to position the model so that you can see the blue boundary highlighting the newly created triangles; the current zone is enclosed in a red box. Press the Delete button to delete a specific zone if not satisfactory. 9. Confirm all the hole filling by clicking Done. 10. Click Close.
well-defined surface: the surface respects the curvature of the mesh surrounding the hole rows delimit curvature zones at the top and the bottom of the slot wall
poorly-defined surface: the surface is oriented with respect to the hole shape rows or columns do not delimit the curvature of the underlying mesh features
51
Reverse Engineering
Reverse Engineering
The surface seems similar to the one you already had prior to removing a row. However, it is necessary to re-fit the modified surface to ensure that each control point lies on the model.
The vertex sampling step value must be well chosen for a good surface triangulation. You may press CTRL+Z to undo the triangulation and try other values: 2 produces new triangles too large to properly fit areas of high curvature, 0.5 much better, 0.25 gives excellent results in areas of high curvature but a large number of small triangles (problem resolved by reducing the mesh in planar areas in Optimize the polygonal mesh on page 56).
The result
The result is a complex hole that is well filled. The newly triangulated surface blends in perfectly with the surrounding model.
new triangles with a constant vertex density the filled hole blends in perfectly with the created in holes underneath the surface surrounding contours.
53
Reverse Engineering
Reverse Engineering
Reverse Engineering
After mesh optimization, the triangulated mesh is more consistent, and the surface curvature is better described. Note that mesh optimization works best when the polygonal mesh is relatively smooth. 1. In the Polygonal Edition toolbar, click the Advanced Triangle Creation and Editing button. 2. Click the Optimize Mesh button. 3. Click Apply. A message window pops up asking if you want to apply the optimization to the entire model. 4. Click Yes (to apply the optimization to the entire model). 5. Once the operation is complete, click Close.
56
Reverse Engineering
For more information on IMCompress, see IMEdit IMCompress parameters on page 111.
The result
The reduction results in a reduced vertex density and larger triangles in the flat areas, while preserving curvature. IMEdit preserves the boundary of selected area during the reduction process.
before compression
after compression
Note that the opposite process is also offered: Model > Triangles (Advanced) > Subdivide. PolyWorks V10 Beginners Guide 57
Reverse Engineering
58
Reverse Engineering
59
Reverse Engineering
Manual surfacing
The first step in manual surfacing, and the one that determines the quality of the NURBS surfaces, is building the curve network. A curve network is built by extracting curves that represent the objects boundaries and features and then adding curves to complete the curve set. All curves must be magnetized to all intersected curves. Most curve creation operations offer automatic magnetization to intersected curves. Furthermore, patches may have four boundaries (rectangular) or three boundaries (triangular), and T-junctions are supported. If five- or six-sided patches are detected during the create curve network operation, a wizard pops up that proposes solutions for subdividing the patches. Any invalid patches are excluded from the curve network. Exercise #1, on page 61, guides you through this process. Hint: when picking curves you may need to use the Interrupt mode (see page 20) to temporarily leave the picking mode, move the 3D scene, and return to the picking mode.
Automatic surfacing
InnovMetric Software has developed a powerful tool that can automatically create a curve network, and use it to fit NURBS surfaces on a polygonal model. You may extract boundary curves and the automatic tool will use these curves in its final solution. A guiding principal behind this tool is to only provide high-quality NURBS surfaces where possible; as a result, there may be parts of a model that are not covered by the curve network. Exercise #2, on page 72, guides you through this process.
The part
The part that was digitized for this exercise is shown in the figure to the right; it is part of the dash of a car. The scans were aligned in the IMAlign module, and a polygonal mesh was created using the IMMerge module.
60
Reverse Engineering
61
Reverse Engineering
1. Get ready
1. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 2. Select the polygonal model Model_for_NURBS.pqk in the active workspace. 3. In the Wizard window, click Improve the polygonal model and create NURBS surfaces.
(a)
A curve (curve 1) has been created under the Curves branch in the object tree.
62
Reverse Engineering
x b
the endpoints of the two open boundary curves have been automatically magnetized (purple)
(1)
2 tangent curves
63
Reverse Engineering
after
Reverse Engineering
a b
(1)
(2)
65
Reverse Engineering
66
Reverse Engineering
d c c d
e e f f
1. 2. 3. 4. 5.
In the Main Objects toolbar, click the Curve Creation button. Click the Anchor Curve by Cross-Section (Pick 2) button. Click twice away from the model (the two letter cs above). A new curve is created. Repeat step 3 for each subsequent pair of letters. Right-click to exit the mode.
67
Reverse Engineering
(1)
(2)
68
Reverse Engineering
(1)
b d
(2)
Make sure that where the curves intersect, they are magnetized (shown by purple control points).
69
Reverse Engineering
70
Reverse Engineering
fitting errors
Reverse Engineering
1. Get ready
1. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 2. Select the polygonal model Model_for_NURBS.pqk in the active workspace. 3. In the Wizard window, click Improve the polygonal model and create NURBS surfaces.
(1)
Note that a curve (curve 1) has been created under the Curves branch in the object tree.
72
Reverse Engineering
73
Reverse Engineering
The results
The result is shown below. The auto-nurbing operation has quickly covered the majority of the surface with good-quality NURBS. There are three holes. You could easily add/magnetize curves manually using tools seen in the previous exercise to complete the curve network, fit NURBS surfaces to the model using the new curve network, and exporting the NURBS surfaces to IGES.
74
Inspection
Inspection
Objective
The inspection process typically uses the aligned datasets as the Data object, which is compared to a NURBS-based Reference object. The inspection process consists of these two steps:
Illustration
Define Reference
Acquire Data
Align
Measure
Report
Get Ready
The inspection exercises use files and projects in the PolyWorks_processes.pwk workspace. 1. If necessary, start the Workspace Manager by double-clicking on the PolyWorks shortcut on your Windows desktop. 2. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 3. If you did the reverse-engineering exercises, select PolyWorks_processes.pwk in the Open recent workspaces area of the Open or Create Workspace dialog, and press the Open Selected button. The workspace is opened and is the active workspace. 4. If you did not do the reverse-engineering exercises, click Browse in the Open or Create Workspace dialog and specify PolyWorks_processes.pwk.pwzip in the browser window. Then, click Open, and then specify a directory for uncompressing the workspace the Workspace Manager uncompresses the workspace and makes it the active workspace.
76
Inspection
IMInspect basics
This section presents module-specific basics. The exercises begin on page 79.
Inspection
Selecting objects
Many IMInspect operations may require that you preselect one or more objects. To launch the picking mode, click on the Select Objects button in the Standard toolbar. The Picking Context dialog box, that appears in the Dialog Zone, lets you set the type of objects to be selected.
78
Inspection
Define Reference
1. Import CAD
Acquire Data
1. Import or scan Data
Align
1. Pre-align (Best-fit)
Align (continued)
2. Feature-based alignment
Measure
Report
79
Inspection
1. Get ready
Start IMInspect
1. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 2. Click the IMInspect module icon in the PolyWorks/Workspace Manager Standard toolbar to open an IMInspect module.
Inspection
81
Inspect the digitized part 3. Set: Positive high: Positive low: Negative low: Negative high: 4. Click OK.
Inspection
1 2
82
Inspection
Data
In the Main Processes toolbar, click the Alignment Processes button. Click the Best-fit Alignment button. A dialog box pops up. Check Use automatic initial guess. Unset Use constraints. Check Use data segmentation. Set Maximum distance to 4.0. Check Use max angle and enter 45 in the adjacent text box. Check Automatic convergence. Click Start. When the operation is completed, click Close. 83
Inspection
The three pairs of Primitives source measured Primitives from the Data object and their corresponding destination nominal Primitives from the Reference object.
84
Inspection
5. Measure
IMInspect offers several Data-to-Reference measurement techniques, including comparison and basic measurement tools. The comparison tools are generally used to measure the deviation of the general shape of the object. Two comparison tools will be used in this exercise: compare using all data points and compare using Cross-Sections. Then, you will learn how to take basic measurements.
The color scale now displays a pass/fail (green & red) scheme using the tolerances assigned to the Reference object. Color scales are customizable in PolyWorks.
85
Inspection
Inspection
6. Enable the Slice whole objects option. 7. Click Anchor Point. 8. Pick a point on the part (see A in previous snapshot). * The bounding rectangles (cutting planes) used to create the Cross-Sections are displayed in blue. See to the left in the figure below. 9. Click Confirm. 10. Click Close. Cross-Section objects have been created and added to the object tree. See to the right in the figure below. Your Cross-Sections may differ slightly from the ones in the figure.
87
Inspection
a, d
a b c d
b c
Inspection
89
Inspection
6. Report results
IMInspect offers many possibilities for exporting reports. All of the available options are listed in File > Export Objects > Report Items. Formats include: Word, Excel, HTML, text, and more. Note that exports to Excel and Word require that these software be installed on your computer. Another way of reporting information is to share the complete inspection project, within a workspace, using the IMView Project Viewer. Instructions for using the viewer are provided in a later section. See Share the results on page 98. The instructions below demonstrate how to generate a formatted report automatically using the EZLayout tool. Manually creating a formatted report using EZLayout is explained in Create Inspection Report 1 on page 101. 1. Open the Reports branch in the object tree. 2. Open the Items branch. 3. Double-click over the Header object. A dialog box appears (Dialog Zone). 4. Fill in the first three items and set all of the check boxes at the bottom of the properties sheet. 5. Click Apply. 6. Click Close. 7. Double-click over the Footer object. A dialog box appears (Dialog Zone). 8. Set all of the check boxes and add a note if you desire. 9. Click Apply. 10. Click Close. 11. Select Header, Footer, and all of the report items you wish to include in the report. 12. Right-click and select Create Auto-Formatted Report. A dialog box pops up. 13. Set Report name to Beginners Guide. 14. Set Layout name to Layout1. 15. Click OK. 16. The EZLayout tool opens with your report. The first page (the Title sheet tab) contains the contents of the Header object configured above. Click the Report sheet tab at the bottom of the display area to see the contents of the report - scroll or press the PAGE DOWN key to see subsequent pages. You could now edit the report, send it to the printer, or print to PDF. 17. Menu: File > Exit. 18. Click Yes to save the results.
90
Inspection
True GD&T measurements are the ones identified by GD&T symbols and defined by ASME Y14.5 M-1994 standards, which include: True Position, Parallelism, and Flatness.
The following exercise presents an example in each category of measurement. To help you focus on the Feature Controls window here, we have prepared an IMInspect Project, GD&T_project, where the Data object is already aligned to the Reference object.
1. Get ready
1. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 2. In the active workspace, under the IMInspect branch, select GD&T_project. 3. Click Open the IMInspect project in the Wizard window. 4. Click Yes in the message window.
91
Inspection
Inspection
3. Control dimensions
3.1 Restore the Data object
1. Select the Data object in the object tree. 2. Menu: View > Visibility > Restore Objects.
93
Inspection
Inspection
3 4 1
the control
95
Inspection
1. Get ready
Open the IMInspect Project
1. Make sure that the correct visual layout is specified in the Workspace Manager: Window > Visual Layout > Manufacturing - Beginner. 2. In the active workspace, select Automatic_inspection_project. 3. In the Wizard window, click Open the IMInspect project. 4. Click Yes when asked if you want to use this projects own configuration.
96
Inspection
Inspection
98
Inspection
IMView basics
This section presents module-specific basics. The exercise begins on page 100.
status bar
3D scene
The IMView module shown above has an IMInspect Project loaded. IMView makes a list of the categories of objects and offers them, one by one, through the first combo box (list of categories) on the Standard toolbar. You may navigate to a different category using the Previous and Next buttons to the left of the combo box, or by selecting in the combo box. For each category of object, IMView uses a filter that specifies a display mode, controls the display of objects in the 3D scene, and offers contextual toolbar buttons. If the category of objects has comparison results associated with it, then the color map is displayed to the right of the 3D scene. If an inspection results category contains more than one item, you may use the second combo box to display a particular item, or the preceding Previous and Next arrows to cycle through the items in the list. To view the object tree of an IMInspect Project, press the second button on the toolbar. The category combo box is set to Whole Project and the navigation combo boxes are removed from the toolbar. You now control the object display. PolyWorks V10 Beginners Guide 99
Inspection
A first Measurement object has been created under the Measurements branch in the object tree. As a result, the Measurements category is added to the Categories combo box.
Inspection
101
Inspection
The interface for the EZLayout tool will pop-up. It is divided into an object area to the left and a drawing area to the right. The object area is divided into three object tree areas:
Area
Layout Structure
Description
contains the sheets in the currently selected report; note the following: a sheet describes a particular part of a report such as the introduction, chapters, the conclusion, etc.; it may contain fixed items (text created by you and imported images) or variable items (text, images, reports) that use the content of IMInspect items a sheet starts off with only one page but as you add items to it pages are added automatically; a sheet can have any number of pages a report can have any number of sheets only one sheet can be active at a time; you work in the active sheet the background sheet contains items common to all of the other sheets (e.g., header and footer, images, page numbers) contains all of the reports in the project associated with the layout contains all of the report items available in the IMInspect Project
Items cannot be added directly to the background sheet using the drawing area. It must be done by changing the properties of an item on a sheet, as was done here. This item is removed from sheet 1 and transferred to the background sheet. It is displayed in the Layout Structure object tree under the background sheet branch. Repeating items on all pages will automatically place the item at the same place on every page of every sheet.
102
Inspection
This text field is fixed. Its contents will appear as such in the report.
4.1.7 Save the formatted report and the layout to the project
Menu: File > Save Layout and Reports.
103
Inspection
5. Export objects
The Export Objects item of the File menu offers almost all of the export options available in IMInspect. The Export submenu of the object tree shortcut menu for selected objects offers only those export operations available for the selected objects.
6. Exit IMView
Menu: File > Exit.
104
Additional Information
Additional Information
This section presents additional information for each of the main PolyWorks modules IMAlign, IMEdit, and IMInspect.
Digitizer type
Line Scanner A scan that typically contains a large number of overlapping passes. Spherical Grid Large surveying datasets that cover thousands of square meters; each scan is partially or completely spherical. Unorganized Point Cloud A point cloud with points not necessarily captured with respect to a viewing plane and with insufficient organization for conversion to 3D Image format.
Conversion process
The Point Cloud Organizer tool automatically pops up. You specify a few parameters and this tool can automatically convert each pass in a line scan to a 3D Image.
The Subdivide by Range tool allows you to specify base 3D Image creation parameters that are adjusted with respect to their distance from the origin. A large number of 3D Images may be created. They become children of a composite 3D Image.
Using the Point Cloud Organizer, manually delimit a subset of points using a viewing plane, and specify a few 3D Image creation parameters; each subset is converted to a 3D Image. Note: you should ensure overlap between subsets.
In the exercises, 3D Images were aligned using the 1 Point Pair Alignment and the Auto-align techniques. IMAlign offers additional alignment techniques:
Alignment Techniques
N Point Pairs Alignment
Description
For each new 3D Image, click three or more pairs of matching points, perform a best-fit alignment, and lock the new 3D Image. Apply user-specified translations and rotations via a dialog box. 105
Manual Alignment
Additional Information
Once the 3D Images are aligned, they are analyzed for alignment quality (page 35). Analyzing the deviations by comparing 3D Images may be done using three techniques:
Comparison Techniques
Points to Images Computes the distance (error) from each point to its farthest 3D Image.
Illustration
Individual Points Computes the displacement distance related to each point from initial to final alignment position.
High to Low Image Computes the maximum distance between all 3D Images by choosing the highest and the lowest 3D Image for a local area.
106
Additional Information
Tool
Boolean operations Boolean operations let you intersect a model (group of triangles) with another model (group of triangles), creating distinct regions.
Illustration
Then, select regions (displayed here by color) to obtain an assembled model containing the triangles that you want to keep.
107
Additional Information
Tool
Fillet Fillet a polygonal model based on a rolling-ball algorithm.
Illustration
before filleting
after filleting
Mirror The mirror tool allows you to duplicate an object or part of an object by mirroring it with respect to a plane. This tool can be used to speed up the modeling process for symmetrical objects.
108
Additional Information
Tool
Slice with a plane This tool lets you slice a polygonal surface with a plane.
Illustration
Offset This tool lets you create a copy of a polygonal surface or part of that surface at a specified distance (offset distance) from the original surface. This tool is useful to create thin shell objects that can be reproduced by a rapid prototyping device.
109
Additional Information
Tool
Reconstruct This tool lets you reconstruct the triangles based on the edge of the selection. This can be used to remove bumps on a polygonal surface. a) Identify the areas to reconstruct
Illustration
110
Additional Information
111
Additional Information
112
Additional Information
black = module command blue = programming language command green = a comment line editor window
command history
command line
The editor window lets you construct a macro script. For example, you can record your actions and paste them to this window. Or, you can use the TAB key to build commands one at a time (see exercise below). You can also copy commands from the Command History window and the Command Line area and paste them in the editor window. Concerning the Command History window: It displays the commands that you perform while using the module, which helps associate a command with an action. The command line at the bottom lets you execute commands directly; you may then copy them into a macro script. PolyWorks V10 Beginners Guide 113
Additional Information
114
Additional Information
N Pairs of Center Points Alignment performed using pairs of primitive center points. For example, aligning a part using 4 circle centers.
115
Additional Information
Reference Points Alignment (RPS) Alignment performed by matching reference points on the Reference object with Primitives on the Data object. It is also possible to match Reference points directly to the Data object. Excellent for sheet metal or casting part.
116
Additional Information
Compare Data to Primitive Computes the deviation between the Data object and a selected Primitive.
117
Additional Information
Compare Primitive to Primitive Computes deviations between two primitives. For example, the angle between two planes.
118
Additional Information
119
Additional Information
Surface-to-plane volume Tool for measuring the volume between a surface and a plane.
Thickness Tool for automatically measuring the thickness of thin walls on a part. The results are displayed using a color map.
Caliper Gauge Tool for measuring distances between two surfaces, such as width, length, or thickness.
120
Additional Information
Profile Gauge Tool for detecting and measuring fillet radii on a profile. Can also measures various distances along that profile.
Airfoil Gauge Tool for performing airfoil specific measurements like the Leading Edge (LE) and Trailing Edge (TE) radius and thicknesses at various points. Computing chord length, maximum thickness, stagger angle, both Aerodynamics and Tangential types of Gauges are available.
121