mod_grid Module

class mod_grid.Grid(movie)
create_grid()

Function that initiates the grid (and the cells) without interfering with the display However, it generates the grid parameters for drawing (lines and circles)

get_lines(origin, spacing, angle)

Returns the lines to show the grid

get_save_dict()
hide_grid()
load_save_dict(dic)

This function does NOT load the file, it takes as an input the input dict and initiates a grid. FOR THE MOMENT, this function requires the draw_set_grid function to be initiated (this is the inheritance of the fact that this function was initially written as a local importer - the Load grid button in the set grid menu -> constraint seems relaxed now

mouse_update(pt)

Updates some positions when a click is performed

set_cv_grid(cv, movie)

Required to initiate the CV instance

show_hide_grid(source=None, event=None)
class mod_grid.Object

A stupid object

Previous topic

mod_features Module

Next topic

mod_phases Module

This Page