Simple grid: Difference between revisions

From FreeCAD Documentation
(Created page with "Simple configurable and toggleable grid for FreeCAD 800px == GitHub download == [https://github.com/pgilfernandez/FreeCAD_Simple_grid https://gith...")
 
No edit summary
Line 2: Line 2:


[[File:simple_grid.png|800px]]
[[File:simple_grid.png|800px]]

In order to configure it you should open the macro and change the variables at your desire. The following shows the available variables and their defaults:

''size_x = 100''

''size_y = 100''

''spacing_x = 10''

''spacing_y = 10''

''line_width = 2.0''

''axis_width = line_width * 2''

''line_color = (0.5, 0.5, 0.5)''

''x_axis_color = (0.7, 0.3, 0.3)''

''y_axis_color = (0.3, 0.7, 0.3)''

''globalAxisCross = False''

''groupName = Grid''





Revision as of 09:14, 11 August 2019

Simple configurable and toggleable grid for FreeCAD

In order to configure it you should open the macro and change the variables at your desire. The following shows the available variables and their defaults:

size_x = 100

size_y = 100

spacing_x = 10

spacing_y = 10

line_width = 2.0

axis_width = line_width * 2

line_color = (0.5, 0.5, 0.5)

x_axis_color = (0.7, 0.3, 0.3)

y_axis_color = (0.3, 0.7, 0.3)

globalAxisCross = False

groupName = Grid


GitHub download

https://github.com/pgilfernandez/FreeCAD_Simple_grid