This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# --*-- coding:utf-8 --*-- | |
#create (large)tooltable Linuxcnc for testing | |
import random | |
Tools = 250 | |
toolFileName = "IR500.tbl" | |
tfile = open(toolFileName, "w") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* sudo halcompile --install memprepare.comp */ | |
component memprepare ; | |
pin in signed in; | |
pin out signed out; | |
pin out signed old; | |
pin out bit part1;// включает 1-ю часть схемы | |
pin out bit part2;// включает 2-ю часть схемы | |
variable signed tmp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding:UTF-8 -*- | |
# GladeVcp Widget | |
# SpeedControl is a widget specially made to control an adjustment | |
# with a touch screen. It is a replacement to the normal scale widget | |
# witch is difficult to slide on a touch screen. | |
# | |
# Copyright (c) 2016 Norbert Schechner | |
# |