pattern_manager.plugins package

Submodules

pattern_manager.plugins.pattern_circular module

class pattern_manager.plugins.pattern_circular.CircularPattern(parent, num_points=0, r=0.0, tan_rot=False, cw=False, angular_section=6.283185307179586)

Bases: pattern_manager.plugin.Plugin

This plugin class specifies the attributes of, and is responsible for the generation of, a circular XForm pattern

Parameters:
  • parent (XForm) – An XForm parent object under which to create the XForm pattern
  • num_points (int, optional) – The number of points which make up the pattern
  • r (float, optional) – The radius of the circular pattern
  • tan_rot (bool, optional) – Specifies whether to rotate each point tangent to the circle
  • cw (bool, optional) – Specifies whether to spawn the circular pattern counter-clockwise
  • angular_section (float, optional) – The size of an angular section
process()

This function generates the XForm pattern from the instance attributes

pattern_manager.plugins.pattern_linear module

class pattern_manager.plugins.pattern_linear.LinearPattern(parent, num_points=0, step_size=0.0, line_len=0.0)

Bases: pattern_manager.plugin.Plugin

This plugin class specifies the attributes of, and is responsible for the generation of, a linear XForm pattern

Parameters:
  • parent (XForm) – An XForm parent object under which to create the XForm pattern
  • num_points (int, optional) – The number of points which make up the pattern
  • step_size (float, optional) – The distance between each XForm’s position in the pattern
  • line_len (float, optional) – The total length of the pattern
process()

This function generates the XForm pattern from the instance attributes

pattern_manager.plugins.pattern_rectangular module

class pattern_manager.plugins.pattern_rectangular.RectangularPattern(parent, num_points=(0, 0), step_sizes=(0, 0), line_lens=(0.0, 0.0))

Bases: pattern_manager.plugin.Plugin

This plugin class specifies the attributes of, and is responsible for the generation of, a rectangular XForm pattern

Parameters:
  • parent (XForm) – An XForm parent object under which to create the XForm pattern
  • num_points (list, optional) – The number of points which make up the pattern
  • step_sizes (list, optional) – The distance between each XForm’s position in the pattern
  • line_lens (list, optional) – The total length of the pattern
process()

This function generates the XForm pattern from the instance attributes

pattern_manager.plugins.pattern_scatter module

class pattern_manager.plugins.pattern_scatter.ScatterPattern(parent, points)

Bases: pattern_manager.plugin.Plugin

This plugin class specifies the attributes of, and is responsible for the generation of, a scattered XForm pattern

Parameters:
  • parent (XForm) – An XForm parent object under which to create the XForm pattern
  • points (list, optional) – The points which make up the pattern
process()

This function generates the XForm pattern from the instance attributes

Module contents