# Path: drawingDimensioning/py3_helpers.py
# def map(function, arg):
#     return list(_map(function, arg))


from drawingDimensioning.command import *
from drawingDimensioning.py3_helpers import map
    from drawingDimensioning.XMLlib import SvgXMLTreeNode
    from drawingDimensioning.svgLib import SvgTextParser, SvgPath, SvgPolygon
    from drawingDimensioning.circleLib import fitCircle_to_path, findCircularArcCentrePoint, pointsAlongCircularArc
    from numpy import arctan2
    from dxfwrite import DXFEngine as dxf
import subprocess
BD	0	5E	232	189	0	94
BD	7E	9D	233	189	126	157
81	0	40	234	129	0	64
81	56	6B	235	129	86	107
68	0	34	236	104	0	52
68	45	56	237	104	69	86
4F	0	27	238	79	0	39
4F	35	42	239	79	53	66
FF	0	3F	240	255	0	63
FF	AA	BF	241	255	170	191
BD	0	2E	242	189	0	46
BD	7E	8D	243	189	126	141
81	0	1F	244	129	0	31
81	56	60	245	129	86	96
68	0	19	246	104	0	25
68	45	4E	247	104	69	78
4F	0	13	248	79	0	19
4F	35	3B	249	79	53	59
33	33	33	250	51	51	51
50	50	50	251	80	80	80
69	69	69	252	105	105	105
82	82	82	253	130	130	130
BE	BE	BE	254	190	190	190
FF	FF	FF	255	255	255	255'''

dxf_colours = numpy.zeros([ 256, 3 ])

for line in color_table_text.split('\n'):
    parts = line.split()
    ind = int(parts[3])

# Path: drawingDimensioning/py3_helpers.py
# def map(function, arg):
#     return list(_map(function, arg))


# Path: drawingDimensioning/unfold/export_to_dxf.py
from drawingDimensioning.command import *
from drawingDimensioning.py3_helpers import map
    from drawingDimensioning.XMLlib import SvgXMLTreeNode
    from drawingDimensioning.svgLib import SvgTextParser, SvgPath, SvgPolygon
    from drawingDimensioning.circleLib import fitCircle_to_path, findCircularArcCentrePoint, pointsAlongCircularArc
    from numpy import arctan2
    from dxfwrite import DXFEngine as dxf
import subprocess

BD	0	5E	232	189	0	94
BD	7E	9D	233	189	126	157
81	0	40	234	129	0	64
81	56	6B	235	129	86	107
68	0	34	236	104	0	52
68	45	56	237	104	69	86
4F	0	27	238	79	0	39
4F	35	42	239	79	53	66
FF	0	3F	240	255	0	63
FF	AA	BF	241	255	170	191
BD	0	2E	242	189	0	46
BD	7E	8D	243	189	126	141
81	0	1F	244	129	0	31
81	56	60	245	129	86	96
68	0	19	246	104	0	25
68	45	4E	247	104	69	78
4F	0	13	248	79	0	19
4F	35	3B	249	79	53	59
33	33	33	250	51	51	51
50	50	50	251	80	80	80
69	69	69	252	105	105	105
82	82	82	253	130	130	130
BE	BE	BE	254	190	190	190
FF	FF	FF	255	255	255	255'''

dxf_colours = numpy.zeros([ 256, 3 ])

for line in color_table_text.split('\n'):
    parts = line.split()
    ind = int(parts[3])

    r,g,b = map(int, parts[4:])