# Path: importerUtils.py
# def isEqual(a, b, e = 0.0001):
# 	if (a is None): return isEqual(b, CENTER)
# 	if (b is None): return isEqual(a, CENTER)
# 	return ((a - b).Length < e)
# 
# def getDumpFolder():
# 	global _dump_folder
# 	return _dump_folder
# 
# Path: importerUtils.py
# def logInfo(msg, *args):
# 	if (__prmPrefOW__.GetBool("checkLogging", False)): _log("logInfo",    Console.PrintMessage, msg, args)
# 
# def logWarning(msg, *args):
# 	if (__prmPrefOW__.GetBool("checkWarning", False)): _log("logWarning", Console.PrintWarning, msg, args)
# 
# def logError(msg, *args):
# 	if (__prmPrefOW__.GetBool("checkError", True)):    _log("logError",   Console.PrintError,   msg, args)
# 
# def logAlways(msg, *args):
# 	_log("logAlways", Console.PrintMessage, msg, args)
# 
# def isEqual1D(a, b, e = 0.0001):
# 	if (a is None): return isEqual1D(b, 0.0)
# 	if (b is None): return isEqual1D(a, 0.0)
# 	return abs(a - b) < e
# 
# def getAuthor():
# 	return _author
# 
# def getDescription():
# 	return _description
# 
# def getColorDefault():
# 	global _colorDefault
# 	return _colorDefault
# 
# Path: importerConstants.py
# CENTER = VEC(0, 0, 0)
# 
# DIR_X  = VEC(1, 0, 0)
# 
# DIR_Y  = VEC(0, 1, 0)
# 
# DIR_Z  = VEC(0, 0, 1)
# 
# ENCODING_FS      = 'utf8'


from datetime          import datetime
from importerUtils     import isEqual, getDumpFolder
from FreeCAD           import Vector as VEC, Placement as PLC
from importerUtils     import logInfo, logWarning, logError, logAlways, isEqual1D, getAuthor, getDescription, getColorDefault
from importerConstants import CENTER, DIR_X, DIR_Y, DIR_Z, ENCODING_FS
import traceback, inspect, os, sys, Acis, math, re, Part, io

		super(GEOMETRIC_REPRESENTATION_ITEM, self).__init__()

class SURFACE(ReferencedEntity):
	def __init__(self):
		super(SURFACE, self).__init__()

class RATIONAL_B_SPLINE_SURFACE(ReferencedEntity):
	def __init__(self, weights):
		super(RATIONAL_B_SPLINE_SURFACE, self).__init__()
		self.weights = weights
	def _getParameters(self):
		return super(RATIONAL_B_SPLINE_SURFACE, self)._getParameters() + [self.weights]

class REPRESENTATION_ITEM(NamedEntity):
	def __init__(self, name):
		super(REPRESENTATION_ITEM, self).__init__()

class GROUP(NamedEntity):
	def __init__(self, name = '', desc=None):
		super(GROUP, self).__init__(name)
		self.desc = desc
	def _getParameters(self):
		return super(GROUP, self)._getParameters() + [self.desc]

#############################################################
# Global functions
#############################################################

def export(filename, satHeader, satBodies):
	dt     = datetime.now() # 2018-05-13T08:03:27-07:00

# Path: importerUtils.py
# def isEqual(a, b, e = 0.0001):
# 	if (a is None): return isEqual(b, CENTER)
# 	if (b is None): return isEqual(a, CENTER)
# 	return ((a - b).Length < e)
# 
# def getDumpFolder():
# 	global _dump_folder
# 	return _dump_folder
# 
# Path: importerUtils.py
# def logInfo(msg, *args):
# 	if (__prmPrefOW__.GetBool("checkLogging", False)): _log("logInfo",    Console.PrintMessage, msg, args)
# 
# def logWarning(msg, *args):
# 	if (__prmPrefOW__.GetBool("checkWarning", False)): _log("logWarning", Console.PrintWarning, msg, args)
# 
# def logError(msg, *args):
# 	if (__prmPrefOW__.GetBool("checkError", True)):    _log("logError",   Console.PrintError,   msg, args)
# 
# def logAlways(msg, *args):
# 	_log("logAlways", Console.PrintMessage, msg, args)
# 
# def isEqual1D(a, b, e = 0.0001):
# 	if (a is None): return isEqual1D(b, 0.0)
# 	if (b is None): return isEqual1D(a, 0.0)
# 	return abs(a - b) < e
# 
# def getAuthor():
# 	return _author
# 
# def getDescription():
# 	return _description
# 
# def getColorDefault():
# 	global _colorDefault
# 	return _colorDefault
# 
# Path: importerConstants.py
# CENTER = VEC(0, 0, 0)
# 
# DIR_X  = VEC(1, 0, 0)
# 
# DIR_Y  = VEC(0, 1, 0)
# 
# DIR_Z  = VEC(0, 0, 1)
# 
# ENCODING_FS      = 'utf8'


# Path: Acis2Step.py
from datetime          import datetime
from importerUtils     import isEqual, getDumpFolder
from FreeCAD           import Vector as VEC, Placement as PLC
from importerUtils     import logInfo, logWarning, logError, logAlways, isEqual1D, getAuthor, getDescription, getColorDefault
from importerConstants import CENTER, DIR_X, DIR_Y, DIR_Z, ENCODING_FS
import traceback, inspect, os, sys, Acis, math, re, Part, io

		super(GEOMETRIC_REPRESENTATION_ITEM, self).__init__()

class SURFACE(ReferencedEntity):
	def __init__(self):
		super(SURFACE, self).__init__()

class RATIONAL_B_SPLINE_SURFACE(ReferencedEntity):
	def __init__(self, weights):
		super(RATIONAL_B_SPLINE_SURFACE, self).__init__()
		self.weights = weights
	def _getParameters(self):
		return super(RATIONAL_B_SPLINE_SURFACE, self)._getParameters() + [self.weights]

class REPRESENTATION_ITEM(NamedEntity):
	def __init__(self, name):
		super(REPRESENTATION_ITEM, self).__init__()

class GROUP(NamedEntity):
	def __init__(self, name = '', desc=None):
		super(GROUP, self).__init__(name)
		self.desc = desc
	def _getParameters(self):
		return super(GROUP, self)._getParameters() + [self.desc]

#############################################################
# Global functions
#############################################################

def export(filename, satHeader, satBodies):
	dt     = datetime.now() # 2018-05-13T08:03:27-07:00

	user   = getAuthor()
