iLogic Tutorial for the iDoor – 16

iLogic Tutorial – Hinge Count Configurator Creation

This whole section reads as follows:

ElseIf Opening_Height >= 6.9375 And Opening_Height And Handed = “Right” Then
Feature.IsActive(“Sm Right_Cup_Bore”) = True
Feature.IsActive(“Sm Right_Dowel_Bores”) = True
Feature.IsActive(“Sm Pattern Right”) = True
Feature.IsActive(“Right_Cup_Bore”) = False
Feature.IsActive(“Right_Dowel_Bores”) = False
Feature.IsActive(“Med Pattern Right”) = False
Feature.IsActive(“LG Pattern Right”) = False
Feature.IsActive(“XLG Pattern Right”) = False

Which translates to: if the door is bigger than the minimum yet smaller than 12″ (in 1/16″ increments) and the Handed parameter is set to Right, then the small, right-hand, bore pattern will be unsuppressed. All left-hand bore patterns are already suppressed by the Left_Right rule written previously.

The next section sets the bore pattern for the next larger size range:

ElseIf Opening_Height > 11.9375 And Opening_Height And Handed = “Right” Then
Feature.IsActive(“Sm Right_Cup_Bore”) = False
Feature.IsActive(“Sm Right_Dowel_Bores”) = False
Feature.IsActive(“Sm Pattern Right”) = False
Feature.IsActive(“Right_Cup_Bore”) = True
Feature.IsActive(“Right_Dowel_Bores”) = True
Feature.IsActive(“Med Pattern Right”) = True
Feature.IsActive(“LG Pattern Right”) = False
Feature.IsActive(“XLG Pattern Right”) = False

Where the topmost code controls doors with a height equal or less than 11.9375 this latest one begins with doors more than 9.9375. The sizes cannot overlap, otherwise the code will try to (and possibly will) do two different things when set to an overlapping size. You can also see that the cup and dowel bores change from the Sm version, which is only used for the smallest door size range to the normal offset wich is used for all others. The next two size ranges will simply switch the pattern to the Lg and XLG pattern versions as can be seen in the code below…

ElseIf Opening_Height > 47.9375 And Opening_Height And Handed = “Right” Then
Feature.IsActive(“Sm Right_Cup_Bore”) = False
Feature.IsActive(“Sm Right_Dowel_Bores”) = False
Feature.IsActive(“Sm Pattern Right”) = False
Feature.IsActive(“Right_Cup_Bore”) = True
Feature.IsActive(“Right_Dowel_Bores”) = True
Feature.IsActive(“Med Pattern Right”) = False
Feature.IsActive(“LG Pattern Right”) = True
Feature.IsActive(“XLG Pattern Right”) = False

ElseIf Opening_Height > 66 And Opening_Height And Handed = “Right” Then
Feature.IsActive(“Sm Right_Cup_Bore”) = False
Feature.IsActive(“Sm Right_Dowel_Bores”) = False
Feature.IsActive(“Sm Pattern Right”) = False
Feature.IsActive(“Right_Cup_Bore”) = True
Feature.IsActive(“Right_Dowel_Bores”) = True
Feature.IsActive(“Med Pattern Right”) = False
Feature.IsActive(“LG Pattern Right”) = False
Feature.IsActive(“XLG Pattern Right”) = True

Which brings the rules for the right hand bores to an end. the next section is exactly the same as the right side. The whole rule can be downloaded below and pasted into the code window.

 Hinge_Count_Code.txt

– iLogic Tutorial Navigation –

Intro12345678910111213141516171819

 

iDoor Tutorial Two

Subscribe to Blog via Email

Top