Tag: Knowledge Pattern

Organizing Automation

It is quite tempting to throw all of your EKL code in a single Knowledgeware object– Action, Rule, KnowledgePattern, or Reaction. While convenient, this practice brings many drawbacks. Instead of describing what these are, I will focus instead on describing some programming principles and the benefits they bring. I learned the value of these principles […]

Working With Vectors

Working with mathematical vectors in code is valuable. It requires only math calculation, and a code executing time is faster than a code dependent on a geometrical object attributes. Maher showed, in a previous post how to extract direction components from an AxisSystem matrix using EKL. In this post, I’ll dig deeper into how Vectors […]

Circle Curve Divide

In this post we make a variation of Points along curve by max spacing, to generate division points and axes along a circle curve in three ways: by angle, instances and angle-instances. This spacing can be particularly useful as more flexible polar assembly pattern. The circular division is displayed using an action and a reaction, […]

Ice-ray Recursive Grammar

I previously showed two examples on implementing recursion using iteration: Walking CATIA trees, and generating Fibonacci-number series. In this post, I’ll demonstrate generating geometric designs recursively using a combination of UDFs, Power Copies, and Knowledge Patterns. The strategy for implementing recursion through iteration is quite simple: operate on one set of elements; where every iterations […]