Drawing Documentation

This page documents jcc242's understanding of the Drawing module. It includes files and features that he is currently working on and may not yet be in the master branch. The source for those files is on https://github.com/jcc242/FreeCAD, but be careful as that is very unstable!

gdtsvg.py
Python script that generates svg snippets for things such as gd&t symbols, dimension symbols, and basic svg elements such as lines, circles, and paths.

It has several support files that don't really do much. Run DrawingTest.py to create a bunch of svg icons in the icon directory that previews various icons in the gdtsvg.py file. settingslist.py and dimesettings, and convert.py are all deprecated from older settings methods and should probably be removed as the Drawing branch approaches merging into master.

DrawingAlgos.py
Creates svg lines from a list of vertices, supports both hidden and visible edges. Should probably be merged with gdtsvg.py as that file matures.

createSVG
Accepts part as an argument, projects the part into lines from the Drawing.project object and then draws creates the svg for each line.

App
Contains the backend side of the drawing module.

AppDrawing.cpp
Initializes the various namespaces and modules and stuff used in the drawing module. ill throw an error if it cannot load the Part module.