Вы находитесь на странице: 1из 10

Page 1 of 10

Changing the Start Point of a Contour Mill Profile


Cut
Mill Tech Tip

When a Contour Mill toolpath is created, the pierce point for the perimeter and any islands is automatically
determined to start at the mid-point of the longest segment on the perimeter or island.

Many users are not aware that the pierce point (Start point) of a Contour Mill profile can be changed. You can
change the pierce point to the Mid-point or Start-point of any element in the profile.

To move the pierce point to another location on the same edge or to another edge of the profile, following are
the steps:

1. Double click on the Contour Mill operation in the CAMWorks Operation tree to view the corresponding
Operation Parameters dialog box.

2. Click on the Leadin tab. Observe that the Contour Mill profile and its pierce point is visible in the
graphics area.

3. In the graphics area, using the mouse, select either the edge with the current start location or another edge
on the perimeter or island where you want to move the start location.

4. The pierce point displays as a round marker at either the mid-point or at one of the start points on the
edge. The location depends on the active Leadin/out point as defined in the Leadin tab.

5. To change the location:

a. In the Leadin/out point group box, click the applicable option viz. Mid-point or Start-point.

b. If the pierce point is defined as the Start-point of an edge, you can offset the pierce point by a user-
specified define distance from the Start-point. There are two methods available to offset the Start-
point.

i) After selecting Start-point as the option, enter the Offset distance in the Offset field. This will offset
the Start-point by the specified distance.

ii) Alternatively, click on the Percent button to activate the percent field. Enter the percentage amount
of the edge length by which you wish to offset the Start-point. This will offset the Start-point as a
percentage amount of the edge length.

c. Click the OK button to apply the changes and close the Operation Parameters dialog box.

6. Regenerate the toolpaths.

For more information on start points and setting Leadins and Leadouts, read Leadin Tab - Contour Mill.

Technology Database Settings: Importing


Customized Data into the TechDB
Tech Tip

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 2 of 10

If you have a CAMWorks release already installed and proceed to install the latest CAMWorks release (For
example: CAMWorks 2014 to CAMWorks 2015), you can run the Import Wizard to import customized data
from the Technology Database (TechDB) of the previous release into the TechDB of the new CAMWorks
release.

The latest release of CAMWorks will not run with the TechDB of the previous release. The data within the
previous release of the TechDB needs to be imported into the TechDB of the new release.

The need to import data from the TechDB of the previous release of CAMWorks to the current release of
CAMWorks arises only when installing a new release (E.g.: CAMWorks 2014 to CAMWorks 2015). If you are
upgrading CAMWorks by installing a Service Pack (E.g.: CAMWorks 2015 SP0 to CAMWorks 2015 SP1),
then the data from the TechDB will be automatically imported.

Required Files for MS Access TechDB


To update the Technology Database, the following files are required:

z Your customized TechDB.mdb

z If the customized data was located in the TechDB.mdb file in the \Lang\English folder of the previous release, you can use the backup TechDB.mdb created
by the Setup program. This file is in the \backup\English\backup_nn folder inside the CAMWorks data folder (For example:
\CAMWorksData\CAMWorks201x\backup\English\backup02).

z If you are running CAMWorks in a language other than English, your customized TechDB.mdb may be located in the \backup\xxxx\backup_nn folder
where xxxx is the language.

z If you are running CAMWorks on a network, the customized data may be located in a TechDB.mdb that has been moved to a shared folder on a network
drive.

z If you install a CAMWorks release and choose to retain the earlier release, your customized TechDB.mdb will be located in the folder specified as the
location of the Technology Database on the Options>>File Locations tab of that release.

z The CAMWorks Technology Database installed by the Installation Setup program. The CAMWorks Technology Database consists of three files that are
installed in the lang\xxxx folder, where xxxx defines the language as English, German, Spanish, etc.

1. TechDBForms.mde

This file is the interface for the Technology Database and must always remain in the \Lang\xxxx folder
in the CAMWorks data folder of each individual user system. (E.g.:
\CAMWorksData\CAMWorks201x\Lang\English).

2. TechDB.mdb

This file contains the data for the Technology Database. You can move this file to a different folder (For
example, if you want to shift the database in a folder on a network drive).

3. ReportDatabase.mdb

This file contains the forms and data for the Setup Sheet function. This file must always be located
within the same folder as TechDB.mdb.

Procedure to Import User Data into the New TechDB

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 3 of 10

1. A pre-requisite for importing customized TechDB data is SOLIDWORKS/CAMWorks Solids must not be running in the
background. If this application is open, then close it.

2. Use one of the following methods to start the new Technology Database:

x Click Start on Windows task bar and select All Programs>>CAMWorks201x>>Technology


Database>>Technology Database.

If you are using CAMWorks in a particular language, then select All


Programs>>CAMWorks201x>>Technology Database>> xxxx>>Technology Database, where xxx is
the name of the language.

x In Windows Explorer, open the file TechDBForms.mde located in the \Lang\xxxx folder in the
CAMWorks installation folder.

3. The CAMWorks Technology Database window is displayed. Within this windows:

x Expand the Maintenance item in the navigation tree and click Import Database. OR

x Click on the Maintenance button. In the subsequent window displayed, click on the Import Database
button.

The Import Wizard is displayed.

4. After reading the first screen, click the Next button to continue.

If you try to import the customized TechDB while the SOLIDWORKS/CAMWorks Solids application is
running, then the Import Wizard will display an error message prompting you to ensure that the
SOLIDWORKS/CAMWorks Solids application is not running. Close this application in order to proceed
with importing the database.

5. The Step 2 dialog box displays the locations of the current database and the source database, which is the
database that contains existing user defined data. If the location of your source TechDB.mdb is not
correct, use the Browse button to set the correct location, then click the Next button.

6. Step 3 dialog box of Import Wizard allows you to create a backup of the new database in the event that
the update procedure fails. The original database with user data is not changed during this process.
However, we strongly recommend that you select and make a Backup. Click the Backup button. A
backup is created in the same folder as the TechDB.mdb and is named Backup of TechDB.mdb.

7. When the Backup is done, click the Next button. Step 4 dialog box of Import Wizard begins the data
importing process.

8. Select the data to be imported (Mill and/or Turn), then click the Import button. The process may take a
few minutes.

9. When finished, click the Next button, then click the Compact button. This command compacts the
database to decrease the file size and thereby improve performance. The process may take a few minutes.

10. When finished, click the Finish button. The Main Menu of the Technology Database is displayed.

11. Click the Quit button. The new CAMWorks Technology Database now includes data entered in the previous version of the
Technology Database.

Updating the Report Database


Tech Tip

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 4 of 10

If you have created customized templates for MS Access Setup Sheets and/or you want to retain the Setup
Sheet data for existing parts, you can import the information in the previous Report Database to the new Report
Database.

Procedure to Import Data

To import Setup Sheet data that has been generated in the previous Report Database:

1. Exit CAMWorks and SOLIDWORKS/CAMWorks Solids.

2. In Windows Explorer, open the ReportDatabase.mdb in the \Lang\xxxx folder in the CAMWorks data folder (E.g.,
\CAMWorksData\CAMWorks201x\Lang\English).

3. Select Setup sheet on the menu bar and choose Import Setup Sheets.

The Import setup sheet wizard dialog box displays.

4. Type the path to the previous ReportDatabase.mdb or browse to locate the folder and click Import.

The previous ReportDatabase.mdb file is located in the \Lang\xxxx folder inside the CAMWorks folder for the
previous version.

If you updated an existing CAMWorks installation, the Setup program creates a backup of ReportDatabase.mdb
in the same \backup\xxxx\backup_nn folder as the TechDB.mdb file.

5. Click the X button when the process is finished.

6. Click the Setup Sheet Browser button and confirm the data has been imported.

Procedure to Import Customized Report Templates

If you have created customized Report templates, you can import this information which is present in the
previous Report Database to the Report Database of the new CAMWorks version.

Following are the steps to import Report Templates data that was generated in the Report Database of the
previous CAMWorks version to the new version:

1. If you are also importing setup sheet data, import the data first as explained above.

2. Make sure each report template you want to import has a unique name that is not the same as one of the default templates
supplied.

Because the supplied templates cannot be imported, the recommended procedure for creating new templates is
to create a new report or copy one of the provided templates and modify the copy.

3. Exit CAMWorks and SOLIDWORKS/CAMWorks Solids.

4. In Windows Explorer, open the ReportDatabase.mdb located in the \Lang\xxxx folder in the CAMWorks data folder (E.g.,
\CAMWorksData\CAMWorks201x\Lang\English).

5. Select Window on the menu bar, choose Unhide and the click OK in the Unhide Window dialog box.

6. Select File on the menu bar and choose Get External Data, then Import.

7. In the Import dialog box, locate the previous Report Database file and click Import (for information on locating the file, see
step 4 in the Procedure to Import Data).

8. In the Import Objects dialog box, click the Reports tab.

9. Select the templates you want to import and click OK. The imported templates display in the list on the Reports tab.

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 5 of 10

Sharing the TechDB on a Network


Tech Tip

The File Locations tab in the Options dialog box indicates the current location of the Technology Database.
When you install CAMWorks, the default location for the Technology Database is the Lang\xxxx folder inside
the CAMWorks data folder, where xxxx defines the language as English, German, Spanish, etc.

If you are running CAMWorks on multiple PCs connected on a network, you can move the TechDB to a shared
folder.

Locating the TechDB over a WAN (wide area network) is not supported.

If you move the TechDB, you need to run the Link Database Wizard as explained below.

Procedure to Change the Location of the Technology Database


1. Browse the default location where the TechDB files are installed within the CAMWorks data folder.

2. From this folder, move the following files from the default \Lang\xxxx folder to the shared folder location on the network:

z TechDB.mdb

z ReportDatabase.mdb

The TechDBForms.mde file must remain in the \Lang\xxxx folder in the CAMWorks data folder.

3. Use one of the following methods to start the Technology Database:

z On the CAMWorks Command Manager, select the Technology Database option.

z Select Start on the Windows Task bar and select All Programs>>CAMWorks201x>>Technology Database>>Technology Database.

z In Windows Explorer, open the file TechDBForms.mde in the \ Lang\xxxx folder.

4. When Microsoft Access starts:

z If you moved the TechDB files as mentioned in Step 2 and deleted the files, then a message window displays to indicate the database cannot find the files,
then the Database Link Wizard will be displayed.

z If you moved the TechDB files as mentioned in Step 2 but not deleted the files,the Main Menu for the TechDB is displayed. Under Maintenance item in
the TechDB navigation tree, click Link Database item. The Database Link Wizard will be displayed.

5. In the Database Link Wizard, read the information and then click the Next button.

6. Use the Browse button to locate the TechDB.mdb that you moved, then click Next.

7. Click the Start Linking button.

8. When the linking is completed, click the Finish button.

9. Click the Exit button to close the TechDB.

10. Start SOLIDWORKS/CAMWorks Solids and either select New on the File menu or open a part file.

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 6 of 10

11. Select the CAMWorks Options on the CAMWorks Command Manager.

12. Click the File Locations tab indicates the new TechDB location.

Linking to a Shared TechDB on the Network


Tech Tip

Linking to a TechDB that is located on a server may be very fast when you are logged in as Administrator, but
very slow when you are logged in under a user login. If this occurs, try reinstalling Microsoft Access on the
client computer while logged in under the user name. Note that you do not have to uninstall Access before
reinstalling.

Using an SQL-based TechDB


Tech Tip

Access forms can connect to SQL Server 2005, SQL Server 2005 Express, SQL Server 2008 or SQL Server
2008 Express on the back end thereby providing client-server support.

Note: SQL Server 2005, SQL Server 2005 Express, SQL Server 2008 and SQL Server 2008 Express are
Microsoft products. The purchase and installation of this software are separate from CAMWorks. Geometric
Americas,Inc. does not provide support for installation, setup or SQL database creation.

Prerequisites
1. Verify that you have a supported version of Microsoft Access: A full version or runtime version of
Microsoft Access 2003, 2007, 2010, 2013 or Microsoft Office 365 must be installed.

2. Install the SQL Server: SQL Server 2005, SQL Server 2005 Express, SQL Server 2008 or SQL Server
2008 Express must be installed on the server.

3. Create the SQL Database: Use the Restore Database functionality in SQL Server Management Studio or
SQL Server Management Studio Express to create the Technology Database from the TechDB.bak file
that is installed in the Drive:\CAMWorksData\CAMWorks201x\Lang\xxxx folder when you install
CAMWorks. The database can have any name.

4. Provide the necessary access rights for the users.

Creating a SQL Database TechDB for CAMWorks


You can link the TechDB to any valid SQL database and you can have any number of databases; however, you
can only link to one database at a time.

Link the SQL Database:

1. Use one of the following methods to start the Technology Database in Access:

Select Start on the Task bar and select All Programs>>CAMWorks201x>>Technology


Database>>Technology Database.

In Windows Explorer, open the file TechDBForms.mde in the \Lang\xxxx folder in the CAMWorks data

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 7 of 10

folder.

2. After this Microsoft Access Database opens, expand the Maintenance item in the navigation tree and
click Link Database.

3. Click Next.

4. On the Locating the Source page, enter the required information and click the Next button:

For Link to, select SQL

Type the Server Name

Select the Authentication Mode: Windows Authentication (the default user ID you use to log in to
Windows) or the SQL Authentication (specific SQL user)

Click the Get Database button and locate the database

5. Click the Start Linking button. When the linking has completed, click Finish. The TechDB is now ready
to use with CAMWorks.

Importing Customized Data into the SQL-based TechDB


If the TechDB for your previous CAMWorks installation was SQL-based and it contained customized data,
then you will need to import this customized data into the new SQL-based TechDB after installing a new
version of CAMWorks.

Following are the steps to import customized data in SQL-based TechDB of previous version into SQL-based
TechDB of the new CAMWorks version that you install.

1. Install latest CAMWorks.

2. Create a SQL-based TechDB for this versions of following the steps given in the Pre-requisites for creating a SQL-based
TechDB and Creating a SQL Database for CAMWorks.

3. Use one of the following methods to start the Technology Database in Microsoft Access:

Select Start on the Windows task bar and select All Programs>>CAMWorks201x>>Technology
Database>>Technology Database.

In Windows Explorer, open the TechDBForms.mde file in the \Lang\xxxx folder in the CAMWorks data
folder.

4. After this Microsoft Access Database opens, expand the Maintenance item in the navigation tree and
click Import Database. The Import Wizard is launched.

3. Select an Import Option:

4. Access to SQL: To import data from an Microsoft Access database to an SQL database that has already
been linked. If you select this option, browse to the database file containing the data to be imported.

5. SQL to SQL: To import data from one SQL database to an SQL database that has already been linked. If
you select this option, the information for the currently linked database is on the left. On the right, enter the
required information for the database containing the data to be imported.

4. Click the Next button. The data importing process may take a few minutes.

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 8 of 10

5. Click the Finish button. The currently linked TechDB now includes the imported data.

Machining Angled Grooves


Turn Tech Tip

Groove features where the base of the groove is not parallel to the Z or X axis are not recognized automatically
by Automatic Feature Recognition (AFR). However, you can use the New Turn Feature command to define this
type of groove as a Generic Groove, which can be machined with rough and finish groove operations.

The process to interactively define the Generic Groove feature is the same as for any other interactively inserted
Turn feature.

Following are the steps:

1. Select New Turn Feature command on the CAMWorks Command Manager. Alternatively, you can right-click on the desired
Turn Setup or Turn Feature item in the CAMWorks Feature tree and select the New Turn Feature command from the context
menu.

2. In the New Turn Feature dialog box:

a. Set the Feature type to Groove Generic.

b. Set the Location to OD or ID, depending on whether the groove is facing towards or away from the Z
axis.

c. Set the Part Profile Method to Revolved Section.

d. Optionally, change the default Strategy of the feature, if desired.

e. In the graphics area, use the mouse button to pick the edges that define the groove profile.

f. The Selected entities list box will be updated to list the edges that were selected.

3. In the Selected entities list box, highlight Extend 1 and Extend 2. Make sure that None is selected in the
corresponding Extend group box.
4. Click OK to insert the Groove feature and close the dialog box.
5. Observe in the CAMWorks Feature tree that the new Groove feature has been interactively inserted.
6. Generate rough and finish Groove operations for this groove feature.

7. Double click on the Groove Rough operation in the CAMWorks Operation tree to open the Operation
Parameters dialog box.

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 9 of 10

8. Click on the Tool tab and select the Holder page.


9. Modify the Lead angle (LA) parameter on the Tool Holder page so that the lead angle matches the
mean angle of the sides of the groove.

The following figures illustrate the machining of an angled groove:

The toolpath is generated parallel to the Lead angle and matches the Generic groove
angle.

Relocating Hidden or Missing Dialog Boxes


The position of the Simulation toolbar, Message Window, TechDB forms and other CAMWorks dialog boxes
is stored in the registry so that they appear in the same place the next time you open them. Occasionally, a
dialog box might not display on the screen. This can occur when:

z You change the screen resolution

z You work with dual/single monitor systems

z You move the dialog box so far to the top or side or bottom of the screen that the title bar and some
portion of the dialog box are no longer visible.

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015
Page 10 of 10

To relocate an active dialog box that displays off the screen, following are the steps:

1. Press Alt+Spacebar simultaneously on the keyboard.

2. Then press the 'M' button.

3. Now use the arrow keys to move the dialog box on to the screen.

file:///C:/Users/hamzah/AppData/Local/Temp/~hh739A.htm 7.12.2015