Skip to content

Milling holes in a grid

Bernd Klein edited this page Nov 15, 2018 · 5 revisions

Overview

main.py

**Importing the class file **

from contourMillHolesGrid import *

Adding menu entry

self.ContourMenu.add_command(label="Holes on grid", command=self.DialogContourHolesGrid)

Implementing call method for this implementation

def DialogContourHolesGrid(self):
    print "DialogContourHolesGrid"
    title = "Mill holes on a grid"
    self.myApp = **ContourMillHolesGrid**(self.app, self.master, self.frame, title)
    self.myApp.init()
    self.myApp.show()
    pass

Please note bold marked class name have to be used as a real class name

pocketCircle.py

additional information

Clone this wiki locally