Simple grid: Difference between revisions

From FreeCAD Documentation
No edit summary
(Added category.)
 
Line 31: Line 31:


[https://github.com/pgilfernandez/FreeCAD_Simple_grid https://github.com/pgilfernandez/FreeCAD_Simple_grid]
[https://github.com/pgilfernandez/FreeCAD_Simple_grid https://github.com/pgilfernandez/FreeCAD_Simple_grid]

[[Category:Macros{{#translation:}}]]
{{clear}}

Latest revision as of 18:08, 30 August 2020

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