4. Recommendation Logic

Once a distance/diameter is measured (in Blender units, which are typically meters), NOVA ARC converts this value to millimeters. It then consults the list of "Recommendation Rules" you've configured in the N-Panel:

  1. The rules are conceptually sorted by their "Diameter Threshold (mm)" in ascending order (smallest threshold first).

  2. The addon iterates through these sorted rules. It looks for the largest "Diameter Threshold" that is less than or equal to the measured diameter (in mm).

  3. The "Min Sides" and "Max Sides" from this matching rule are then used for the recommendation.

  4. If the measured diameter is smaller than all defined "Diameter Thresholds", the addon uses the "Min Sides" and "Max Sides" from the rule with the numerically smallest "Diameter Threshold".

Example: Rules (simplified):

  • 10mm - (8-12 sides)

  • 40mm - (12-16 sides)

  • 100mm - (32-36 sides)

Measurements:

  • If measured diameter is 30mm:

    • 30mm >= 10mm.

    • 30mm < 40mm.

    • The largest threshold less than or equal to 30mm is 10mm. So, 8-12 sides recommended.

  • If measured diameter is 75mm:

    • 75mm >= 10mm.

    • 75mm >= 50mm.

    • 75mm < 100mm.

    • The largest threshold less than or equal to 75mm is 50mm. So, 12-16 sides recommended.

  • If measured diameter is 5mm:

    • 5mm < 10mm (smallest threshold).

    • The rule for 10mm is used. So, 8-12 sides recommended.

Last updated