generate_pattern(pattern, loops, dwell_time, x, y, params, step=1)[source]#

Generate a stream-file for a simple figure.

  • pattern – name of a shape: point, line, square, rectangle, circle

  • loops – amount of passes

  • dwell_time – time spent on each point, s

  • x – center x position of the figure, nm

  • y – center y position of the figure, nm

  • params – figure parameters, nm; (length) for line, (diameter) for circle, (edge length) for cube

  • step – distance between each point, nm


array(x positions[nm], y positions[nm], dwell time[s])