# You should have received a copy of the GNU General Public License # along with Cnc25D. If not, see <http://www.gnu.org/licenses/>. """ gearbar.py is a parametric generator of gearbars. The main function return the gear-bar as FreeCAD Part object. You can also simulate or view of the gearbar and get a DXF, SVG or BRep file. """ ################################################################ # header for Python / FreeCAD compatibility ################################################################ import cnc25d_api cnc25d_api.importing_freecad() #print("FreeCAD.Version:", FreeCAD.Version()) #FreeCAD.Console.PrintMessage("Hello from PrintMessage!\n") # avoid using this method because it is not printed in the FreeCAD GUI ################################################################ # import ################################################################ import math import sys, argparse #from datetime import datetime #import os, errno #import re #import Tkinter # to display the outline in a small GUI #
# # You should have received a copy of the GNU General Public License # along with Cnc25D. If not, see <http://www.gnu.org/licenses/>. """ crest.py generates the crest part, an optional part for the cross_cube assembly. The main function displays in a Tk-interface the crest part, or generates the design as files or returns the design as FreeCAD Part object. """ ################################################################ # header for Python / FreeCAD compatibility ################################################################ import cnc25d_api cnc25d_api.importing_freecad() #print("FreeCAD.Version:", FreeCAD.Version()) #FreeCAD.Console.PrintMessage("Hello from PrintMessage!\n") # avoid using this method because it is not printed in the FreeCAD GUI ################################################################ # import ################################################################ import math import sys, argparse #from datetime import datetime #import os, errno #import re # to detect .dxf or .svg #import Tkinter # to display the outline in a small GUI #