Is iLogic Unable to Access Non-Numerical MultiValues?

The iLogic parameters for the iDoor

Last night I worked late into the night on what I thought would be a relatively simple start to what inevitably will become a complex iLogic SmartPart configuration.

As you can see in the image to the right (if you were to click on it :) ), I set up the basic parameters that describe a drawer as iLogic Rules. In the case of a drawer, the first question that needs to be answered is what is the material for the sides?  The choices I’ve come up with so-far are Solid Lumber, Plywood, and Melamine—-which would be typical of most cabinet component manufacturers. Whatever the choices are in the real-world, they should determine what downstream options are available. The downstream options I  included (so-far) are the side thickness, edge detail, and finish type.

I have written the iLogic Code that filters out whole parameter sets, such as shutting off the choice of Melamine and Plywood if  Solid Lumber were selected (image above).  I have also set up defaults for available choices, for instance:  when Plywood is chosen as the main construction material, the plywood type is defaulted to ‘Euro Birch Economy’ and the thickness is defaulted to 0.5.These settings should also have the option to default to ‘last used’ but I’m not sure that is possible with iLogic by itself. I’ll look into it…

Continue reading






iLogic Tutorial for the iDrawer – 16

iLogic Tutorial – 16 – Extruding the Drawer Front

Now for the main front section with the pins. Turn on the visibility of the Base and Front Profile sketches, and position the model as shown below…

 

iLogic Tutorial for the iDrawer Page Sixteen Image 01 - Half Drawer Side

 

Select the Extrude tool from the Create panel and click on the profile, change the Extents to and select the point on the rigging shown in the image below, which is the endpoint of the rigging line that runs along the YZ plane

 

iLogic Tutorial for the iDrawer Page Sixteen Image 02 - The Drawer Front

…the preview will jump to the point as shown below…

 

iLogic Tutorial for the iDrawer Page Sixteen Image 03 - Extrude the Front Half

…then select the New solid button as shown in the image above, and click OK to create the solid body. Rename the extrusion Front A and the solid body Front. You should have something that looks like the image below.

 

iLogic Tutorial for the iDrawer Page Sixteen Image 04 - Completed Half Extrusions

 

 

Now for the pin cuts in the front solid. Turn on the visibility of the Cutter Front & Back sketches,  and turn off the visibility of the Right Side solid body. Rotate the model to get a view similar to the one below…

 

iLogic Tutorial for the iDrawer Page Sixteen Image 05 - Rotate The Model

 

- iLogic Tutorial fot the iDrawer Navigation -

 

Intro12345678910111213141516171819

 






iLogic Tutorial for the iDrawer – 15

iLogic Tutorial – 15 – Notching the Dovetail for the Bottom

Now you need to hog out the dado on the tail. Turn on the visibility of the Drawer Elevation sketch, and rotate the model so that you can see the profile, then hit the E key and select the dado profile as shown below…

 

iLogic Tutorial for the iDrawer Page Fifteen Image 01 - Inventor's Extrude Tool

Now select the Cut operation which will change the direction of the preview and turn it red, then change the Extents to All and click OK to perform the cut.

 

iLogic Tutorial for the iDrawer Page Fifteen Image 03 - Extrude Cut

 

iLogic Tutorial for the iDrawer Page Fifteen Image 04 - Dovetail Close-Up

 

 

You can turn off the visibility of the Drawer Elevation sketch again, rename the Extrusion Tail Dado, and rotate the model to see the results…

This is all the geometry we need to pattern and mirror both sides. To begin the process, select the Rectangular Pattern tool from the Pattern panel, then select the Tail Loft feature in the Browser. Now click the red arrow under the Direction 1 option, then select the closer edge to the right of the tail as shown below…

 

 

 

 

 

 

 

 

iLogic Tutorial for the iDrawer Page Fifteen Image 05 - Begin Inventor's Pattern tool

…now, for the count, type in 4, and for the spacing, select list parameters and choose Tail_Spacing from the list, then add a space,  a + sign, and another space, then go back to the parameter list and choose Cutter_Diam. You should have a preview that looks like the image below…

 

iLogic Tutorial for the iDrawer Page Fifteen Image 06 - Configure The Pattern Tool

…clicking OK should give you a pattern of dovetails that look like those below…

 

iLogic Tutorial for the iDrawer Page Fifteen Image 07 - The Dovetails

Rename the new pattern Tail Pattern.

 

- iLogic Tutorial fot the iDrawer Navigation -

 

Intro12345678910111213141516171819

 






iLogic Tutorial for the iDrawer – 13

iLogic Tutorial – 13 – Completing the Bottom Sketch

Its a good idea to shut of the visibility of all of the sketches except the Drawer Bottom Profile so that you are not seeing multiple center points. Now grab the Vertical Constraint tool from the Constrain panel and click the center point, then the center of the top line as shown below…

iLogic Tutorial for the iDrawer Page Thirteen Image 01 - Constrain Sketch

Do the same thing with a Horizontal constraint to the center of one of the side lines…

 

iLogic Tutorial for the iDrawer Page Thirteen Image 02 - Horizontal Constraint

You now need to use the reference parameters created earlier to create a formulae for the Drawer_Bottom_Width and Drawer_Bottom_Depth parameters. Open the parameter editor and change the following:

 

 

 

 

 

iLogic Tutorial for the iDrawer Page Thirteen Image 03 - an iLogic Parametric Formula

Now apply the two new parameters as shown below to finish this sketch…

 

iLogic Tutorial for the iDrawer Page Thirteen Image 04 - Compleated drawer Bottom Sketch

 

- iLogic Tutorial fot the iDrawer Navigation -

 

Intro12345678910111213141516171819

 






iLogic Tutorial for the iDrawer – 05

iLogic Tutorial – 05 – The Side Dovetail Profile Sketch Creation

Now for a pair of lines to dimension toget the cutter angles. Draw two lines as shown below making sure to get the horizontal constraint glyphs before clicking…

 

iLogic Tutorial for the iDrawer Page Five Image 01 - Dovetail Cutter

…then get the Vertical Constraint tool from the Constrain panel and constrain the ends of the lines to the shorter cutter line as shown…

 

 

 

 

 

iLogic Tutorial for the iDrawer Page Five Image 02 - More Dovetail Cutter Lines

…now draw a horizontal line from the center (make sure you get the green dot indicator) of the longer vertical line to about half way to the short one as shown.

 

iLogic Tutorial for the iDrawer Page Five Image 03 - Dovetail Depth Of Cut

You can now dimension as shown below. Note that there is a Cut_depth and a Cutter_Depth.

 

iLogic Tutorial for the iDrawer Page Five Image 04 - All Dimensions

 

- iLogic Tutorial fot the iDrawer Navigation -

 

Intro12345678910111213141516171819

 






iLogic Tutorial for the iDrawer – 04

iLogic Tutorial – 04 – Create the Dovetail Side Profile Sketch

iLogic Tutorial for the iDrawer Page Four Image 01 - Dovetail Setback

 

Start the first cutter profile by creating a new sketch on the Front Profile Plane and name it Cutter Side Profile. The first thing you want to do is to project the point that represents the Dovetail Setback (just behind the front right corner) onto this sketch using the Project Geometry tool.

Now draw a line above the point something like the image below, making sure you have a vertical constraint glyph visible before making the second click…

 

 

 

 

 iLogic Tutorial for the iDrawer Page Four Image 02 - Vertical iLogic Line

Next, hold down the Ctrl key and draw an angled line shooting for 11˚ or so as shown. Holding down the Ctrl key while drawing a line will override the automatic constraint placement feature. If this is not done, Inventor will try to, and many times succeed in placing a parallel or perpendicular constraint to some odd geometry –which is almost never the intent.

 

iLogic Tutorial for the iDrawer Page Four Image 03 - A second iLogic line

 

 

 

 

Let go of the Ctrl key for the next line so you can get the vertical constraint…

 

iLogic Tutorial for the iDrawer Page Four Image 04 - A Line

…then finish up where you started, making sure the Coincident Constraint glyph is visible before clicking.

 

iLogic Tutorial for the iDrawer Page Four Image 05 - The iLogic Dovetail Cutter

 

- iLogic Tutorial fot the iDrawer Navigation -

 

Intro12345678910111213141516171819