Bringing up to date with VisPyCanvas. Mostly migration of Tcl commands to new architecture.
This commit is contained in:
@@ -1,19 +1,48 @@
|
||||
import pkgutil
|
||||
import sys
|
||||
|
||||
# Todo: I think these imports are not needed.
|
||||
# allowed command modules (please append them alphabetically ordered)
|
||||
import tclCommands.TclCommandAddCircle
|
||||
import tclCommands.TclCommandAddPolygon
|
||||
import tclCommands.TclCommandAddPolyline
|
||||
import tclCommands.TclCommandAddRectangle
|
||||
import tclCommands.TclCommandAlignDrill
|
||||
import tclCommands.TclCommandAlignDrillGrid
|
||||
import tclCommands.TclCommandCncjob
|
||||
import tclCommands.TclCommandCutout
|
||||
import tclCommands.TclCommandDelete
|
||||
import tclCommands.TclCommandDrillcncjob
|
||||
import tclCommands.TclCommandExportGcode
|
||||
import tclCommands.TclCommandExportSVG
|
||||
import tclCommands.TclCommandExteriors
|
||||
import tclCommands.TclCommandGeoCutout
|
||||
import tclCommands.TclCommandGeoUnion
|
||||
import tclCommands.TclCommandGetNames
|
||||
import tclCommands.TclCommandImportSvg
|
||||
import tclCommands.TclCommandInteriors
|
||||
import tclCommands.TclCommandIsolate
|
||||
import tclCommands.TclCommandJoinExcellon
|
||||
import tclCommands.TclCommandJoinGeometry
|
||||
import tclCommands.TclCommandMillHoles
|
||||
import tclCommands.TclCommandMirror
|
||||
import tclCommands.TclCommandNew
|
||||
import tclCommands.TclCommandNewGeometry
|
||||
import tclCommands.TclCommandOffset
|
||||
import tclCommands.TclCommandOpenExcellon
|
||||
import tclCommands.TclCommandOpenGCode
|
||||
import tclCommands.TclCommandOpenGerber
|
||||
import tclCommands.TclCommandOpenProject
|
||||
import tclCommands.TclCommandOptions
|
||||
import tclCommands.TclCommandPaint
|
||||
import tclCommands.TclCommandPanelize
|
||||
import tclCommands.TclCommandPlot
|
||||
import tclCommands.TclCommandSaveProject
|
||||
import tclCommands.TclCommandScale
|
||||
import tclCommands.TclCommandSetActive
|
||||
import tclCommands.TclCommandSubtractPoly
|
||||
import tclCommands.TclCommandSubtractRectangle
|
||||
import tclCommands.TclCommandWriteGCode
|
||||
|
||||
|
||||
__all__ = []
|
||||
@@ -25,7 +54,7 @@ for loader, name, is_pkg in pkgutil.walk_packages(__path__):
|
||||
|
||||
def register_all_commands(app, commands):
|
||||
"""
|
||||
Static method which register all known commands.
|
||||
Static method which registers all known commands.
|
||||
|
||||
Command should be for now in directory tclCommands and module should start with TCLCommand
|
||||
Class have to follow same name as module.
|
||||
|
||||
Reference in New Issue
Block a user