Nonuniform Scale Example

Introduction

This topic provides an example of how to use the Nonuniform Scale function. This topic is supplemental to Nonuniform Scaling.

 

Example File

A BobCAD file installed with the software can be opened to follow along with this example.

Part 1) Open the Example File

1      In the File menu, click Open.

 

2      Navigate to: C:\BobCAD-CAM Data\BobCAD-CAM V**\Examples, and select Nonuniform Scale Example.bbcd.

 

3      With Nonuniform Scale Example.bbcd displaying in the File Name box, click Open.

 

About the Example Geometry

The example file contains two cubes, one of which is a single solid body, and the other is unstitched meaning it is six separate surfaces (solid bodies). This is done to help illustrate the scaling options for the function.

 

Before opening the function, we use the CAD Tree to visualize the solid bodies in the graphics area.

 

1      In the Data-CAM Tree Manager, click the CADTreeIcon.bmp CAD Tree Manager tab.

 

2      Next to CAMDefaultsIcon.png Solids, click ExpanderPlusIcon16x16.png to expand the folder.

 

3      Click anywhere in the graphics area, to give it key focus, and press S to turn off the Shaded view. (Alternatively, in the View menu, click Shaded.)

 

4      Click Solid 1 in the CAD Tree and notice the cube highlights in the graphics area.

 

Nonuniform_Scale_ExImg1.png

 

 

5      Click each Solid item in the CAD Tree to highlight the separate surface bodies in the graphics area.

 

Nonuniform_Scale_ExImg2.png

 

 

You can see that one cube is a single entity, and the other cube is six separate entities.

Part 2) Open Nonuniform Scale

To open Nonuniform Scale, do one of the following:

 

 

 

 

The parameters display in the DataEntryTabIcon.png Data Entry tab of the Data-CAM Tree Manager.

Part 3) Using Nonuniform Scale

For this example, we select the geometry first to create the CAD preview. This allows us to view the result of the function before it is created.

 

1      Press S to turn on the Shaded view.

 

2      Press Ctrl+A to select all geometry in the graphics area. (Alternatively, in the Edit menu, click Select All.)

 

Nonuniform_Scale_ExImg3.png

 

 

Click OK to create the CAD preview.

 

Nonuniform_Scale_ExImg4.png

 

 

It appears as if there is no CAD preview, because we have not yet defined a Scaling Factor (they are set to 1.00 which means no scaling).

 

3      In the Data Entry Manager under Scale Factor, double-click in the X box to select all the text, and type 0.750.

 

Press Tab to move to the Y box and update the CAD preview.

 

Nonuniform_Scale_ExImg5.png

 

 

This setting scales the geometry to 75 percent of the original size in the X-axis only.

 

4      In the Y box, type 1.250 and press Tab.

 

Nonuniform_Scale_ExImg6.png

 

 

This setting scales the geometry to 125 percent of the original size in the Y-axis only.

 

5      In the Z box, type 1.500 and press Tab.

 

Nonuniform_Scale_ExImg7.png

 


NOTE:      When scaling 2D wireframe entities, only two of the Scale Factors can be used, based on the drawing plane. For example, changing the Z-axis scale factor has no effect on wireframe drawn in the XY plane.


Part 4) Using the Location Control Options

We have been using the default Location Control option, Scale All Entities Together. This treats all selected geometry as a single unit to which the scaling is applied. You may notice that the CAD preview shows the cubes are moving away from their original location as a result of the current Location Control option. Next we explore the Scale Each Entity Individually option.

 

1      Under Location Control, click Scale Each Entity Individually.

 

Nonuniform_Scale_ExImg8.png

 

 

Notice the change in the CAD preview. You can see that the scaling is no longer moving the cubes away from their original location, because they are now being scaled as individual entities. You can also see that each surface of the unstitched cube is now also being scaled individually.


TIP:   Using the Scale All Entities Together option maintains the relationship between multiple entities when using nonuniform scaling. This may be helpful when scaling wireframe shapes, or as in this example, a cube made of separate surfaces.

 

Original Shape

Scale All Entities Together

Scale Entities Individually

Nonuniform_Scale_ExImg9.png

Nonuniform_Scale_ExImg10.png

Nonuniform_Scale_ExImg11.png

 

 

Note that both Location Control options provide the same result when scaling a single entity.


 

2      Change the Location Control back to Scale All Entities Together.

 

Nonuniform_Scale_ExImg7.png

 

 

3      To scale the entities as shown in the CAD preview, click OK.

 

Nonuniform_Scale_ExImg12.png

 

 

4      Click Cancel to close the Data Entry Manager.

Part 5) Modifying the Feature Using the CAD Tree

When you use Nonuniform Scale with solids, a feature is created and stored in the CAD Tree to allow for modification and more as explained in the CAD Tree. When you cancel the function, the CAD Tree Manager automatically displays. Notice the Nonuniform Scale feature in the CAD Tree.

 

For this part of the example, we decide that we want to scale each of the cubes individually. Next we use the CAD feature to change the geometry selection.

 

1      In the CAD Tree next to Nonuniform Scale, click ExpanderPlusIcon16x16.png to expand the feature.

 

2      Right-click GeometryIcon.png Geometry, and click Re/Select.

 

3      Click the single-entity cube to remove it from the selection.

 

Nonuniform_Scale_ExImg13.png Nonuniform_Scale_ExImg14.png

 

 

4      Press the Spacebar to confirm the selection.

 

Notice that the feature automatically rebuilds when confirming the selection.

 

Nonuniform_Scale_ExImg15.png

 

 

Now that we are scaling each cube separately, they retain their original location (the center of the cube doesn't change).

 

5      You can now create another Nonuniform Scale feature to scale the other cube.

 

Nonuniform_Scale_ExImg16.png

 

 

This concludes the example.

Related Topics

Nonuniform Scaling