iLogic Tutorial – Automatic Board Configurator 03

iLogic Tutorial - Automatic Board Configurator Page Three Image 11 - New BoardsIn the last installment of this iLogic Tutorial, we went back in time in the Layout Part to change the top of the Shaker Table from a single wide board to four boards. We still need to make parts from the new Solid Bodies, and create the iLogic configurations that will their number and width.

We’ll make the new parts first. Open up your assembly model, Designing a Shaker Table with Autodesk Inventor.iam. Then open the layout part from within the assembly. To begin, in the layout Part (Designing a Shaker Table with Autodesk Inventor.ipt) switch to the Manage Tab, then on the Layout Panel, choose the Make Components tool…

iLogic Tutorial - Automatic Board Configurator Page Three Image 01 - Make components

iLogic Tutorial - Automatic Board Configurator Page Three Image 02 - We need to change this

 

 

 …select the Board 2, Board 3, and Board 4 solid bodies that we created in the last installment of the tutorial from the Solid Bodies Folder, then click Next. The next screen is the Make Component Bodies screen, and you shouldn’t need to do anything there. Click OK to finish up. Switch back to the assembly, and you should have three brand-new parts listed at the bottom of the Browser. Save the model. To make things easier later, the first board, which is currently named Top, should be brought into the new naming scheme. To do so, right click the Top.ipt (in the assembly of course) and choose open from the  context menu.

 

 

 

With the Top.ipt part open, go to the Application Icon (the big mustard colored I in the upper left corner), Save As, and your workspace folder should open. If not, browse to it. What I usually do at this point is slowly double click on an existing file from the same series e.g. Board 2.ipt, and when it highlights, use Ctrl-C to copy the name to the clipboard, then paste it into the name field using Ctrl-V. then just change the number, which in this case needs to be a 1. You do not need the .ipt part at the end of the file name. Once you are done, close the Top.ipt part, and go to the assembly (.iam) if you are not there already.

Now that we have our newly named part, right click the board named Top.ipt, and choose Component > Replace from the context menu. Choose the Board 1.ipt

iLogic Tutorial - Automatic Board Configurator Page Three Image 03 - Replace the part

 

iLogic Tutorial - Automatic Board Configurator Page Three Image 04 - Your Browser should now look like this

 

 

 You should see no chance in the modeling environment as nothing really happened other than the name change. Later in the tutorial, we will be writing iLogic code that will refer to the .ipt’s, so we cannot just change the part’s Browser name (if we just changed the name in the Browser, the underlying part would still retain its original name). You should now have a lower Browser area that looks like the image to the left.

 

 

 

 

iLogic Tutorial - Automatic Board Configurator Page Three Image 05 - Just for paranoia's sake

 Now, just for paranoia’s sake, open  the new board and take a look under the hood. You should have the same thing you see in the image to the right –which translates to your part was made from the Board 1 Solid Body from within the same layout part as the rest of the bunch. So it should react as expected if the iLogic code is written correctly. So let’s get to it.

The iLogic code will need to be a fairly straight-forward chunk of code that adds or subtracts boards and turns on or off features within those boards based on the board’s placement in the model. In the last installment of this iLogic tutorial, we created a parameter called Board_Width, gave it a temporary Equation of 6”, and dimensioned all of the boards with it. Now we will take control of that parameter with iLogic.

During the writing of the iLogic code, I realized I had a gigantic brain fart when splitting up the top. I wanted the boards to be no wider than 6”, and made four boards total for what was a 22” top –but the damn thing can be 47” max! K So it’s time for fixin. Go back to the Top Sketch in the Layout Part, and sketch and dimension four more boards…

iLogic Tutorial - Automatic Board Configurator Page Three Image 06 - Add four boards to the sketch

iLogic Tutorial - Automatic Board Configurator Page Three Image 07 - Move the EOP (End of Part)

 

 (you can go back to the previous iLogic tutorial to refresh your memory if needed) When finished with the sketching, make the sketch visible, and roll up the EOP to just below the Board 4 Chamfer. Double click the Board 4 Chamfer and deselect the long edge by holding down the Ctrl key and clicking on it. Select OK to finish up with Board 4 Chamfer, then start the Chamfer tool again. We will now create a second chamfer (Model Tab > Modify Panel) on the long edge of the board the same way on boards two and three. All of the chamfers have the Top_Chamfer parameter as their Equation. Now rename both of the chamfers as in the image to the right to conform with the naming scheme for interior boards.

 

Now you need to roll the EOP up again to just below Board 4 Ext. Extrude (E on your keyboard) the four new boards working your way from the Board 4 Ext outwards. Make sure to use the Top_Thickness parameter as your Extents, and make sure the direction is correct, and select New Solid

iLogic Tutorial - Automatic Board Configurator Page Three Image 08 - Extrude the boards in Autodesk Inventor

 iLogic Tutorial - Automatic Board Configurator Page Three Image 09 - Rename all of the iLogic Extrusions

 

 

 

Rename all of the extrusions with the same scheme as the other boards, and go to the Solid Bodies folder and do the same there. You should now have Board 1 Ext through Board 8 Ext in the lower Browser, and Board 1 through Board 8 in the solid bodies folder. Now drag the EOP to just below all of the chamfers (right above the HangerBoltHole feature), shut off the visibility of all of the new solids except Board 5 (in the Solid Bodies folder), then create the double chamfers on the three inner boards as described in the last tutorial. The last board will have all three chamfers in one pick, again, as described in the last tutorial. Remember to Suppress the “B” chamfer, and name them as seen in the image to the left.

 

 

 

 

 

We are done creating features, so drag the EOP down to the bottom. Very important. Do it now. When you are done dragging the EOP back to the bottom of the feature list, you can go to the Manage Tab, and select the Make Components tool from the Layout Panel. Select the four boards on-screen,  and blow by the next screen without changing anything…

iLogic Tutorial - Automatic Board Configurator Page Three Image 09 - Make components from the Autodesk Inventor Solid Bodies

That’s all for this installment of the Shaker Table iLogic Tutorial. In the next installment in this iLogic Tutorial Series, we will get right into the configurating stuff by writing some iLogic code.

Later

 

Leave a Reply