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/python | |
# path to FreeCAD.so | |
FREECADPATH = '/usr/lib64/freecad/lib' | |
import sys | |
sys.path.append(FREECADPATH) | |
if len(sys.argv)<3: | |
print "Usage: sys.argv[0] <in_file> <out_file>" | |
sys.exit(1) |
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
// Converting DXF file to PDF without GUI | |
// Usage: | |
// qcad -autostart dxf2pdf.js <in_file> <out_file> | |
// | |
// V.Zavjalov, 03.07.2020, GLP-3.0 | |
include("scripts/simple.js"); | |
include("scripts/File/Print/Print.js"); | |
function main() { |
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
# Tektronix TDS2014B oscilloscope | |
# | |
# On the device | |
# set "Utility menu -> Options -> Rear USB port" to "Computer" | |
# Then idProduct = 0368 (036b if Printer/Autodetect setting is used) | |
# | |
# kernel module: usbtmc | |
# | |
ACTION=="add",\ | |
SUBSYSTEM=="usbmisc" KERNEL=="usbtmc*",\ |