Donor Machine Steps : Developer
In This Topic
In this tutorial, we create a simple cabinet with two ends and a shelf. The shelf is joined to the panels using holes which are drilled into the panels.
The location of these holes will be controlled by the shelf, rather than the panel.
Sample of what will be achieved in this tutorial.
We will be adding 3 rows of two holes on either side of the shelf to secure the shelf to the panel.
Step 1: Create the Cabinet
Create a standard cabinet with...
- 2 partitions, one for each end of the cabinet;
- a shelf between the two partitions at a height of about half way up the partitions;
- give them meaningful names.
- a component for each section.
Alternatively, load DonorTutorialStart.qid into CabMasterPro. This file has the cabinet already built, ready for Step 2.
Step 2: Add Machining Holes Right to Shelf
We will be adding 3 rows of two holes on either side of the shelf to secure the shelf to the panel.
Go to the component you created for the Shelf and create the holes to be donated, as per the following instructions.
We are going to create holes defined by the shelf (not drilled in the shelf). So the donor holes will come from the shelf and get donated to the end panels. Since our example cabinet has already been built, the section name is preceded with an asterisk i.e. *Shelf, which indicates that it is accepting an item.
First we will create the right holes to be donated. Later in Step 5 we will repeat steps 2 to 4 to create the left holes to be donated.
- On the Machining page, add a new entry and rename the machine step to holes_right.
- Now go to the Machine Step page for the component you created for the Shelf and create a new MultiboreInLine machine step.
Example and Tip
Tip: To quickly get to this page, simply double click on the 'holes_right' entry created above.
Then use the drop list, as shown, to select 'MultiboreInLine'
- Then enter the following details, giving the hole...
- a Depth of 20 and a Radius of 5;
- a Start X coordinate of 25 and an End coordinate of 525;
- a quantity i.e. NHoles a value of 2.
This will give you one set of 2 holes - click here for an example and tip on NHoles.
The preview shows the holes, which may look odd but remember the holes will end up drilled into the panel which, in this case, will be adjacent to the right end of the shelf.
Tip: Here, we only want 2 holes but increasing the NHoles quantity increases the number of holes within the Start and End coordinate. (Click on image to view examples)
Click to view more examples of NHoles
- As we want 3 sets of 2 holes, go back to the Machining page and enter a MaxSeq of 3
- the preview, as shown below, looks unchanged as the 3 holes are sitting in the same Y coordinate.
Click to view corresponding Machine Step for holes_right
- Now go back to the corresponding Machine Step page (click on above image) and you will notice that...
- the Spinner now allows for 3 individual holes details;
- but the Y coordinate is blank (zero) for all three.
- With a sequence, you can create a formula for each...
- using the Spinner, go to 1 (as shown);
- then click on the Formulas button and change the Start/End Y values to a formula;
- use the following formula to control the height of the sequence holes (see note on the @ operator)
30*(@-2)
The formula should automatically be added to Sequence 2 and 3 but check each using the Spinner. The @ operator extracts the last numeric sequence using the parent context, so that the Y value changes depending on the sequence value. See Built in Variables.
Example of a simple formula using the @ operator
Here we have simplified the formula to 30*@ which creates 2 sets of 3 holes but not at the correct position - Click on image to compare.
Click to view a holes using the formula 30*@ compared to 30*(@-2)
To confirm the formula behind a value, simply double click on the value. An information message will be presented.
Click to view Formula behind this value
Step 3: Make Machining Capable of Donating
We want to the holes to be drilled into the right end panel (not the shelf) by making them donor steps, so on the Machine Step page...
- change the Donor Face for this machine step to Right using the drop list;
- and tick the To normal check box.
Now the holes are capable of donating but we need to make the right end accept steps from the shelf, as discussed in step 4.
Optional: The tolerance specifies the maximum distance an accepting item can be and still be able to accept the donor step.
Step 4: Make Panel Accept Steps
Go to the Machining page for the right end...
- change the Machined Face using the drop list to "Left"
- Note that this only has the 'Border' step
- When you tick the 'From normal' check box it will pick up the fact that it is an accepted step.
- The holes for the shelf (00100401:holes_right) should now be visible in the list of machine steps (added automatically).
- The preview pane also shows the holes and the shadow of the shelf, sitting between the top 2 panel holes.
Click to 'View Machining in 3D' option turned ON
Donor steps do not have to lie inside the donor face and indeed, in this case, the holes do not.
Be aware that the Machined Face normal/opposite options work very differently to those on the Donor Face.
Step 5: Add Machining Holes Left to Shelf
Repeat Steps 2 to 4 to add machining holes for the left panel, summarised here.
- On the Machining page, select the Shelf and...
- add a new entry and rename the machine stop to holes_left machine step;
- enter a MaxSeq of 3.
Example
- Double click on the new entry to go to the Machine Step page for the component and...
- create a new MultiboreInLine machine step.
- enter the following details, giving the hole...
- a Depth of 20 and a Radius of 5;
- a Start X coordinate of 25 and an End coordinate of 525;
- a quantity i.e. NHoles a value of 2.
- then click on the Formulas button and change the Start/End Y value to the formula 30*(@-2) for all 3 sequences;
- change the Donor Face for this machine step to Left using the drop list and tick the To normal check box.
Example
- Go to the Machining page for the left end...
- change the Machined Face using the drop list to "Right"
- tick the 'From normal' check box it will pick up the fact that it is an accepted step.
- The holes for the shelf (00100401:holes_left) should now be visible in the list of machine steps (added automatically).
Example
Moving the Shelf Up/Down
Move the shelf up and down to see the holes move accordingly.
There are a number of ways to move the shelf.
One way is to change the Offset Position
You can move the shelf up/down using the Offset Position options on the Sections > Size&Pos page.
The example shows the affect in elevation view, comparing the original position to the moved shelf position.
Another way is to use the 3D Move dialog
In 3D Display, you can use the Move in 3D menu option. In this example, we have moved the shelf 200mm Up.
Finding out who accepts our donor steps
To find out which components are accepting our donor steps...
- go to the Machining for the Shelf and right click on the holes we created for the right end in the list of machine steps;
- a message box should say that the right end for this cabinet is an acceptor.
One donor step can be accepted by multiple components. For example, we could be donating a row of holes where some of the holes land on one acceptor and others land on a different one. See the
Advanced Donor Acceptor tutorials for an example.
See Also
Developer Tutorial
Cabinet Properties | Machining