-
Notifications
You must be signed in to change notification settings - Fork 65
/
ksu_locator.py
23 lines (19 loc) · 1.07 KB
/
ksu_locator.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- coding: utf-8 -*-
#****************************************************************************
#* *
#* Kicad STEPUP (TM) (3D kicad board and models to STEP) for FreeCAD *
#* 3D exporter for FreeCAD *
#* Kicad STEPUP TOOLS (TM) (3D kicad board and models to STEP) for FreeCAD *
#* Copyright (c) 2015 *
#* Maurice [email protected] *
#* *
#* Kicad STEPUP (TM) is a TradeMark and cannot be freely usable *
#* *
import os, sys
def module_path():
#return os.path.dirname(unicode(__file__, encoding))
return os.path.dirname(__file__)
def abs_module_path():
#return os.path.dirname(unicode(__file__, encoding))
#return os.path.dirname(__file__)
return os.path.realpath(__file__)