chiark / gitweb /
Fix all the imports in skeinforge.
authordaid303 <daid303@gmail.com>
Fri, 7 Dec 2012 11:20:42 +0000 (12:20 +0100)
committerdaid303 <daid303@gmail.com>
Fri, 7 Dec 2012 11:20:42 +0000 (12:20 +0100)
167 files changed:
Cura/cura_sf/fabmetheus_utilities/archive.py
Cura/cura_sf/fabmetheus_utilities/euclidean.py
Cura/cura_sf/fabmetheus_utilities/fabmetheus_tools/fabmetheus_interpret.py
Cura/cura_sf/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/csv.py
Cura/cura_sf/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/dae.py
Cura/cura_sf/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/gts.py
Cura/cura_sf/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/obj.py
Cura/cura_sf/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/slc.py
Cura/cura_sf/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/stl.py
Cura/cura_sf/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/svg.py
Cura/cura_sf/fabmetheus_utilities/gcodec.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/_drill.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/_svg.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/circle.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/concatenate.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/extrude.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/gear.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/grid.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/heightmap.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/lathe.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/line.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/linear_bearing_cage.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/lineation.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/mechaslab.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/peg.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/polygon.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/shaft.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/solid.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/sponge_slice.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/square.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/teardrop.py
Cura/cura_sf/fabmetheus_utilities/geometry/creation/text.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_tools/dictionary.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_tools/face.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_tools/path.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_tools/path_elements/arc.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_tools/path_elements/cubic.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_tools/path_elements/quadratic.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_tools/vertex.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/boolean_geometry.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/boolean_solid.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_elements/creation.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_elements/document.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_elements/setting.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_enumerables/dictionary_attribute.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_enumerables/list_attribute.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_enumerables/string_attribute.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_fundamentals/_math.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_fundamentals/euclid.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_fundamentals/measure.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/evaluate_fundamentals/print.py
Cura/cura_sf/fabmetheus_utilities/geometry/geometry_utilities/matrix.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_matrix/_scale.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_matrix/rotate.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_matrix/transform.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_matrix/translate.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_meta/_array.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_meta/_carve.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_meta/_copy.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_meta/disjoin.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_meta/import.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_meta/write.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_paths/bevel.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_paths/convex.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_paths/outline.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_paths/overhang.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_paths/round.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_paths/segment.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_paths/wedge.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_shapes/_bottom.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_shapes/_inset.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_shapes/_outset.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_shapes/equation.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_shapes/flip.py
Cura/cura_sf/fabmetheus_utilities/geometry/manipulation_shapes/mirror.py
Cura/cura_sf/fabmetheus_utilities/geometry/solids/cube.py
Cura/cura_sf/fabmetheus_utilities/geometry/solids/cylinder.py
Cura/cura_sf/fabmetheus_utilities/geometry/solids/difference.py
Cura/cura_sf/fabmetheus_utilities/geometry/solids/group.py
Cura/cura_sf/fabmetheus_utilities/geometry/solids/intersection.py
Cura/cura_sf/fabmetheus_utilities/geometry/solids/sphere.py
Cura/cura_sf/fabmetheus_utilities/geometry/solids/triangle_mesh.py
Cura/cura_sf/fabmetheus_utilities/geometry/solids/union.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/_print.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/class.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/elif.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/else.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/for.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/function.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/if.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/return.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/statement.py
Cura/cura_sf/fabmetheus_utilities/geometry/statements/while.py
Cura/cura_sf/fabmetheus_utilities/intercircle.py
Cura/cura_sf/fabmetheus_utilities/settings.py
Cura/cura_sf/fabmetheus_utilities/svg_reader.py
Cura/cura_sf/fabmetheus_utilities/svg_writer.py
Cura/cura_sf/fabmetheus_utilities/vector3.py
Cura/cura_sf/fabmetheus_utilities/vector3index.py
Cura/cura_sf/fabmetheus_utilities/xml_simple_reader.py
Cura/cura_sf/fabmetheus_utilities/xml_simple_writer.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/analyze.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/alteration.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/bottom.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/carve.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/chamber.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/chop.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/cleave.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/clip.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/coil.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/comb.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/cool.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/dimension.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/drill.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/dwindle.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/export.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/export_plugins/binary_16_byte.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/export_plugins/gcode_step.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/export_plugins/gcode_time_segment.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/feed.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/fill.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/fillet.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/flow.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/home.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/hop.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/inset.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/jitter.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/joris.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/lash.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/lift.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/limit.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/mill.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/multiply.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/oozebane.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/outset.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/preface.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/raft.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/scale.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/skin.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/skirt.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/smooth.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/speed.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/splodge.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/stretch.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/temperature.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/tower.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/unpause.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/whittle.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/widen.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/craft_plugins/wipe.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/help.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/meta.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/meta_plugins/description.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/meta_plugins/polyfile.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/profile.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/profile_plugins/cutting.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/profile_plugins/extrusion.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/profile_plugins/milling.py
Cura/cura_sf/skeinforge_application/skeinforge_plugins/profile_plugins/winding.py
Cura/cura_sf/skeinforge_application/skeinforge_utilities/skeinforge_analyze.py
Cura/cura_sf/skeinforge_application/skeinforge_utilities/skeinforge_craft.py
Cura/cura_sf/skeinforge_application/skeinforge_utilities/skeinforge_help.py
Cura/cura_sf/skeinforge_application/skeinforge_utilities/skeinforge_meta.py
Cura/cura_sf/skeinforge_application/skeinforge_utilities/skeinforge_polyfile.py
Cura/cura_sf/skeinforge_application/skeinforge_utilities/skeinforge_profile.py

index 767dfd063e3987a354f62126714b679b7dc97b80..5ec8971672ee09d61ed40d95315a6122d2498cf5 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry utilities.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 import os
 import sys
index a8efd49bd3359b161355682e9e2c5d3bf15ec891..f8c17ae8438e363e9f296634e2a9f70cb4562325 100644 (file)
@@ -22,13 +22,6 @@ Below are examples of euclidean use.
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import xml_simple_writer
index d291420869e4db7d5f191c34c47d156909301f19..8e6d1762ba69b656af9fcc9b644841bf98bf9ac8 100644 (file)
@@ -4,12 +4,9 @@ Fabmetheus interpret is a fabmetheus utility to interpret a file, turning it int
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
index 95886edefcc315693580eec6c3cb4708e57a7319..e05accf54a2e4534713fc5ed5017e54e1daafeef 100644 (file)
@@ -10,11 +10,8 @@ The getCarving function takes the file name of an csv file and returns the carvi
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import xml_simple_reader
 import sys
 
index c4a44ab8c016b71d2f80088f1e68fcbb09f8432c..96e96f0b06857a744cc4dfc414209aa23c057c6e 100644 (file)
@@ -1,6 +1,4 @@
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import face
 from fabmetheus_utilities.geometry.solids import triangle_mesh
index 50ed1d9c29e072c518b79ca0d90b54705786db66..c5dd89554b7c019c9c37233d46870768582e8de0 100644 (file)
@@ -20,14 +20,11 @@ The format described above is the least common denominator to all GTS files. Con
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import face
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import gcodec
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __credits__ = 'Nophead <http://hydraraptor.blogspot.com/>\nArt of Illusion <http://www.artofillusion.org/>'
index 257d82f34bea3131e12c98b12e145e377decf030..493062f66e58eb44a3975aa7715ef3365250dcaa 100644 (file)
@@ -21,15 +21,12 @@ http://people.sc.fsu.edu/~burkardt/data/obj/obj.html
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import face
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import gcodec
-from struct import unpack
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __credits__ = 'Nophead <http://hydraraptor.blogspot.com/>\nArt of Illusion <http://www.artofillusion.org/>'
index 23b2d190e901392aef062d5da576eb6fa84fbb81..857ad768ad7c5410a874843735b49e8cbeb4f2c1 100644 (file)
@@ -10,12 +10,9 @@ The getCarving function takes the file name of an slc file and returns the carvi
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import svg_writer
 from struct import unpack
 import math
index 7286297e8313302f20547d42561289a6ab4dfc7d..cb54bf471e3fba84c248987f5bf9e009816bbae8 100644 (file)
@@ -16,14 +16,11 @@ http://gts.sourceforge.net/reference/gts-surfaces.html#GTS-SURFACE-WRITE
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import face
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import gcodec
 from struct import unpack
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index bfe9e0d580c39ae41fb6ffc3d46cd4bd034a0e5c..c88fe063257c452a0429d0b5a4e91d7f619133a1 100644 (file)
@@ -12,18 +12,13 @@ The getCarving function takes the file name of an svg file and returns the carvi
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.svg_reader import SVGReader
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import svg_writer
 from fabmetheus_utilities import xml_simple_writer
-import math
-
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __credits__ = 'Nophead <http://hydraraptor.blogspot.com/>\nArt of Illusion <http://www.artofillusion.org/>'
index 04843c620e06189d24f118ed661a1036d87218da..f795a5561ae3ef82becc651e4e653d2aa0092a6d 100644 (file)
@@ -15,19 +15,14 @@ many lines of text
 ..
 
 """
-
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
 
 import math
-import os
 import sys
-import traceback
 
 if sys.version_info[0] < 3:
        import cStringIO
index 72fb9dddb5aa86e9576baf43dabc9affeab7e067..6af23ece16200c159936854bd9095ae1776bca5d 100644 (file)
@@ -4,18 +4,12 @@ Drill negative solid.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from fabmetheus_utilities.geometry.creation import extrude
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.creation import teardrop
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.vector3 import Vector3
-from fabmetheus_utilities import euclidean
-import math
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 9904d56e8f8c53e53c60b05e4a92337b94e9ff25..9a84f14cf771beb9c10f27cd1760924d91e8eaf4 100644 (file)
@@ -5,8 +5,6 @@ Svg reader.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
index 15651d7ed90f39433642c714eec7949924cf16de..4ef34e2ae9943fa131eb3bc7c410523339f4c510 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
index 62e7e6d076796d2ca58369bbbe08e65202f0340a..3a30716ca357858e226cf9f421bc1212eb5fff83 100644 (file)
@@ -4,15 +4,11 @@ Boolean geometry concatenation.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
-import math
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 665966ff34c56ea132fbb9e2932619c5bcfb1e82..4dc05de3f01d8c35c9fa03d4bf43307f879ad2a0 100644 (file)
@@ -4,10 +4,7 @@ Boolean geometry extrusion.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 67a4ff62128d29d0bd141c14d5cc1579afe9146d..3e47a66ce17d2e28cf42f0cc97cbcfd2c08e4078 100644 (file)
@@ -401,8 +401,6 @@ Defines the amount the thickness of the tooth will multiplied.  If when the gear
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import extrude
 from fabmetheus_utilities.geometry.creation import lineation
index 78625f6ffe6f8aeb534578134b9097946b0bb098..b5915dd247f6f61bbf2458d951b0af85e72407aa 100644 (file)
@@ -4,13 +4,10 @@ Grid path points.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
 import math
 import random
index 1f7c9082dfc5b2208e8bd5e0f1409a401f06bc44..6112580b8121c0400dec6f7e69120bc868e0c8d3 100644 (file)
@@ -7,20 +7,14 @@ http://en.wikipedia.org/wiki/Netpbm_format
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.creation import solid
-from fabmetheus_utilities.geometry.geometry_tools import path
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities.vector3index import Vector3Index
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
-import math
-import random
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index b61cfaa3b7bda31675ef3d5941efe4b24461ced6..fd0169ba7bace40de4ff8e9fe87f8fde9cffaed1 100644 (file)
@@ -4,10 +4,7 @@ Boolean geometry extrusion.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.solids import triangle_mesh
index c0eae8ba1c16c89c94f958a8a8c0dc89d28b37da..04516831ea3671037d9894213fbdb015a49a98f7 100644 (file)
@@ -4,14 +4,11 @@ Square path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.vector3 import Vector3
-from fabmetheus_utilities import euclidean
 import math
 
 
index d972f63082e9c702cdbbcb5ef4666f619549a39b..b6516a472717dac4993accbe857d5e18be0b9105 100644 (file)
@@ -4,8 +4,6 @@ Linear bearing cage.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import extrude
 from fabmetheus_utilities.geometry.creation import lineation
index 29f7bbbbf1b8f2922ae0a4d69b4023d83e821256..8df2e585bf6d49e0c56006493b884088c749e698 100644 (file)
@@ -4,12 +4,9 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import path
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.geometry.geometry_utilities import matrix
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
 import math
index 4a9922ece02d69f17f7407bf3c1bf225fdac4f12..f3f0091d463d85ead912d12ebe4e34c193483cbe 100644 (file)
@@ -4,8 +4,6 @@ Mechaslab.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import extrude
 from fabmetheus_utilities.geometry.creation import lineation
@@ -13,8 +11,6 @@ from fabmetheus_utilities.geometry.creation import peg
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.geometry.geometry_utilities import matrix
-from fabmetheus_utilities.geometry.manipulation_matrix import translate
 from fabmetheus_utilities.geometry.solids import cylinder
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.vector3 import Vector3
index 01f3126cd53bc25061732cd8d6bf1da62cfad288..12a7b15286549705378d5f86c847a30cb5806e2c 100644 (file)
@@ -4,8 +4,6 @@ Peg.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import extrude
 from fabmetheus_utilities.geometry.creation import lineation
index 26e4dc9edc5ecb3d02f840b032257134ab430e9a..13287538451a67a8b5d77b5df027e7942984fc1f 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
index 457c2de7963f7dcb94ee273f4636aadbf7868699..509add0203062f42f51b2ed4fb464148019bf271 100644 (file)
@@ -4,8 +4,6 @@ Shaft path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
index 4defa0415f105e2ec212eadd58a2f602c2e83cab..9d3bb9ad1c7243a44a5f24fa92038b0d1dc85b64 100644 (file)
@@ -6,8 +6,6 @@ Solid has some of the same functions as lineation, however you can not define ge
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
@@ -15,9 +13,7 @@ from fabmetheus_utilities.geometry.geometry_utilities import boolean_geometry
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
 from fabmetheus_utilities.geometry.solids import triangle_mesh
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
-import math
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 21f633736d8f898af8d016462b814acd7042e2de..49262416acb569d32c11a4dda1978c7a0d4cd341 100644 (file)
@@ -4,8 +4,6 @@ Sponge slice.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
index 68b31bc30492768b1acffee4fdb702d971edc982..a420296e9a6b430347b5ba608e5a164d8c33e995 100644 (file)
@@ -4,8 +4,6 @@ Square path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
index 87616193f9da0dcfbf34ce6277bd26472fb6eb1b..914897b44a5c2d86c72389f5b6bb7118cede709b 100644 (file)
@@ -4,8 +4,6 @@ Teardrop path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import extrude
 from fabmetheus_utilities.geometry.creation import lineation
index 2545d7dc3c2dc3ae2a3048f2cc4c9d5356495329..cb0e10b98548921000818af0de780a949a70e3fa 100644 (file)
@@ -4,8 +4,6 @@ Text vertexes.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_tools import path
index f3714d801ecd55ff7eb5f1dfb33b2b793f8485c0..93ebde4c9895c0cbb83d8a736036a570cd09a05b 100644 (file)
@@ -5,8 +5,6 @@ Boolean geometry dictionary object.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
index e0e6e369417fc17225276b1205b8913ad5b942b0..86c21dc48eb48fd08c3505400ccf5b3b7c264470 100644 (file)
@@ -4,20 +4,11 @@ Face of a triangle mesh.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.geometry.geometry_utilities import matrix
-from fabmetheus_utilities.vector3 import Vector3
-from fabmetheus_utilities.vector3index import Vector3Index
-from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import xml_simple_reader
 from fabmetheus_utilities import xml_simple_writer
 import cStringIO
-import math
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 8ec3db10e133714f0368da7438064708746421ec..92585d6b22c46640090b15da84805e74e6209bba 100644 (file)
@@ -4,8 +4,6 @@ Path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import dictionary
 from fabmetheus_utilities.geometry.geometry_tools import vertex
index 0adb453441086857a939a896843cd8d9cdda88d4..290f63a6dd830bd9aeef18a471b19083322676d9 100644 (file)
@@ -7,13 +7,10 @@ http://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.vector3 import Vector3
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import svg_reader
 import math
 
index 853729f14ac9e5ead6c2b57a6559291d085dab00..6e3fef1130dd9740ea6427dcdd67bea149929d23 100644 (file)
@@ -7,8 +7,6 @@ http://www.w3.org/TR/SVG/paths.html#PathDataCubicBezierCommands
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index d233d4c2d33c89b1767c460a7e8f647ec492366e..de7e9c08347c609d80e2ef17ca595f59c54e20aa 100644 (file)
@@ -7,8 +7,6 @@ http://www.w3.org/TR/SVG/paths.html#PathDataQuadraticBezierCommands
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index b002ed6753274891ba9f103133355c2c98218035..8fd7efdf1d7bd9d9d76f58860e75493b8c66a17d 100644 (file)
@@ -4,8 +4,6 @@ Vertex of a triangle mesh.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities import xml_simple_reader
index ede07a4593405a487a60859152566a77a78e8591..67ec68596b2148c228ee890dc11a791b915a7d47 100644 (file)
@@ -12,8 +12,6 @@ An xml file can be exported from Art of Illusion by going to the "File" menu, th
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
 from fabmetheus_utilities.geometry.geometry_utilities import boolean_solid
@@ -21,7 +19,6 @@ from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import settings
 from fabmetheus_utilities import xml_simple_writer
 import math
 
index 1b2c303870c2cdf255478a166eb9be105bccc84f..212825899c99c2e9f4a6ff4fe9d1bdc865437292 100644 (file)
@@ -12,19 +12,13 @@ An xml file can be exported from Art of Illusion by going to the "File" menu, th
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.solids import group
 from fabmetheus_utilities.geometry.solids import triangle_mesh
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import intercircle
-import math
-
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __credits__ = 'Nophead <http://hydraraptor.blogspot.com/>\nArt of Illusion <http://www.artofillusion.org/>'
index 0c968ceaed9439aa62638f6d008fc1bab8eef616..d7ce048c33b9e5b3fd802423b3486b09655ad189 100644 (file)
@@ -4,17 +4,12 @@ Evaluate expressions.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import settings
 import math
-import os
 import sys
 import traceback
 
index 86f79af7f3c540cb07a2ef2b458540252efba224..0ed20e618673ff7c7afc6f4234ae93c18256032a 100644 (file)
@@ -4,13 +4,9 @@ Boolean geometry utilities.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
-
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import gcodec
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index f956591a669f774dfe997ca55c4d0e9b145c69a4..473cfeb67b335d1cc494e76f49415bc5378bd3d4 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry utilities.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 5c1667907ee308bb9c1d2c3364f3bada2431e3d7..a2c37fc141c66f9b5dec1646f93359f12765b956 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry utilities.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 import math
index 3c8abefa7b5ddc49b428e322cb74aaed5d25453a..b29cd93aa6c78bb92d3014e4e775b97eb824a986 100644 (file)
@@ -4,8 +4,6 @@ Dictionary object attributes.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import euclidean
 
index 81711e90f0c065e1957f7de006c3cbebeb1523eb..eca10817da81ea6fa1216d835f44f7fa43c06e92 100644 (file)
@@ -4,8 +4,6 @@ List object attributes.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import euclidean
 
index f3ab451820f3c9b7d3956d63487c8decaaea6bdc..62478a1cae9cd2b8d4d25c240cadecb845c1ff52 100644 (file)
@@ -4,8 +4,6 @@ String object attributes.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import euclidean
 
index 9a244f7c84015d075acb80e3a26cfd93829361ad..aecfb30f273978084650e7512e55c4d42259aedc 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry utilities.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import euclidean
 import math
index bf4d410efa8f79c7d74f2ae3c8fd8b546aa5c9a3..2f5e20a2203f5f804b5d5f312e71a5da649c46c8 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry utilities.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities.vector3index import Vector3Index
index f3ec99effdc3c063108fd2b5d9c4d5df4e5f2d51..fbd6828214609769d0e14d5c0f44d8d0232033df 100644 (file)
@@ -4,12 +4,8 @@ Boolean geometry utilities.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
-import math
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 199d08f86d7caee4a25a3713962b2f92e4b1275c..cdae956796edaaeb2cdb8cf0a0085077ee78f378 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry utilities.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 import sys
 
index b40970597b3d5310e2adb393933b4966d1507362..8f87ef0a7e236cb3cacb0a831d0da5ada02c4eae 100644 (file)
@@ -4,12 +4,9 @@ Boolean geometry four by four matrix.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.vector3 import Vector3
-from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import xml_simple_writer
 import cStringIO
index 787ea1cf3ea21584d140e5388863aa3aaf8458c4..266fdca969472b1d5ae36ccf4c98cce3f4d81594 100644 (file)
@@ -4,13 +4,10 @@ Boolean geometry scale.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
 from fabmetheus_utilities.vector3 import Vector3
-from fabmetheus_utilities import euclidean
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index a64b2d84625c055c8ea73e4dbbaa82a6371e21e8..758fb8a3ff06d081e2dd2eb1d773a91aad473fa5 100644 (file)
@@ -4,14 +4,9 @@ Boolean geometry rotate.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
-from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
-from fabmetheus_utilities.vector3 import Vector3
-from fabmetheus_utilities import euclidean
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 3df0b61476388741241b00de0b6621da24b84005..cf8df5b8dcf64abc858b9818ab49d1ada027555c 100644 (file)
@@ -4,14 +4,9 @@ Boolean geometry transform.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
-from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
-from fabmetheus_utilities.vector3 import Vector3
-from fabmetheus_utilities import euclidean
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index fb683986c0bb9bdaed5110b2fdbbe9e186eeafdf..b2375645df1166fc3629ff4dddebce1490ed96ad 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry translation.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
index 4f6254684607716141bc4558ad238381b78e3ec5..d26144a4407158a65773cc6c493695fac3810edb 100644 (file)
@@ -4,10 +4,7 @@ Boolean geometry array.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from fabmetheus_utilities.geometry.geometry_tools import vertex
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
 from fabmetheus_utilities import euclidean
index 223fb2364c9a06369e249c6e7f599d702cea9144..19a0610e2970f163d53f23b9902a8d3649c84e61 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry carve.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import path
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
index ade3b955f9cd60540258ddcf717322baa8992e1a..0aa0f1f641f9b98813ce74a1cebe260ca2669713 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry copy.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.creation import solid
index 32ebd49e0c4dcccc80b21337cbfc415e89a8d107..4a8f2fe75e69e45a7dc42f1e5942963d94dffeea 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry disjoin.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import path
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
index f457a84c124f07bcb18ba5887f3dd5f926ea6b32..c04cc6f070bf31c26e8bef69554647b60fda9ea1 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry group of solids.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
@@ -13,10 +11,6 @@ from fabmetheus_utilities.geometry.solids import group
 from fabmetheus_utilities import xml_simple_reader
 from fabmetheus_utilities import xml_simple_writer
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import settings
-import cStringIO
 import os
 
 
index f58116879ea290f9ab683d42c6bb090a651317d1..9fed5da2447a6ecfe29a94e57906e153ae8d01dc 100644 (file)
@@ -4,14 +4,10 @@ Boolean geometry write.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
-from fabmetheus_utilities import gcodec
 import os
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 78afcfd5cd2639876692727d57445822eb6a8d29..125f35c6c4b0e8543415115c49bbcc9c97b67d58 100644 (file)
@@ -4,11 +4,8 @@ Add material to support overhang or remove material at the overhang angle.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
-from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
 
index f3adbf2d2346c6ea500e6cd475bf176c496529ed..841a798fae3ec3947cd95372542e4e5be0ab2ff4 100644 (file)
@@ -4,8 +4,6 @@ Create outline.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 9c27bc51da475dd9c035488f6ec99b609e522c0d..b910f8b2dedaf4daa9ca3b88e11febf303eb42b2 100644 (file)
@@ -4,13 +4,10 @@ Create outline.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import intercircle
 
index c913e7d3935177f4131f8087a301cb7119090289..8a27f4c87b0aba3c187fdf9306b996af68cfdfc5 100644 (file)
@@ -4,8 +4,6 @@ Add material to support overhang or remove material at the overhang angle.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
index ef96224fe98db85004ae4b4a494684328f0e2f0f..fb00985a7630a18f705cdd0de825772eb4254b55 100644 (file)
@@ -4,8 +4,6 @@ Add material to support overhang or remove material at the overhang angle.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 57ce3a7e6c710e1c4e7b8d362da200c7a207997d..dce7a7d06a2322c589fcbed35ab05bd6acc2923f 100644 (file)
@@ -4,8 +4,6 @@ Add material to support overhang or remove material at the overhang angle.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 70800f1e63225dedf608bae422a2e7ba790e92d3..25d3c94d7229285b91c3a116645ea56e3d4ae001 100644 (file)
@@ -4,8 +4,6 @@ Add material to support overhang or remove material at the overhang angle.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 7e109125be63d829f7e8ca5ab5bd09842e1f0aa8..9a97eaf65dcd40c5808de8d9416f06f038311d47 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry bottom.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
index 6e9e2de4734ae03cacb508d3d2f32bae1f51d387..495fe57f7e57564063449d8bf08fdd525b3247b7 100644 (file)
@@ -4,15 +4,11 @@ Create inset.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
 from fabmetheus_utilities.geometry.geometry_utilities import boolean_solid
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.geometry.geometry_utilities import matrix
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.vector3index import Vector3Index
 from fabmetheus_utilities import euclidean
index 62172141e8a564e50e1cefbb4d7d2e88874ffdd3..faadb191044714f8280fa29ccadb85be01b08c4c 100644 (file)
@@ -4,17 +4,12 @@ Create inset.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities.evaluate_elements import setting
 from fabmetheus_utilities.geometry.geometry_utilities import boolean_solid
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
-from fabmetheus_utilities.geometry.geometry_utilities import matrix
 from fabmetheus_utilities.geometry.solids import triangle_mesh
-from fabmetheus_utilities.vector3index import Vector3Index
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import intercircle
 import math
index 76b610b43f3b6c824c53995fb8a033244a3a86be..80621848b6efe293a71031e062007ac0db394035 100644 (file)
@@ -4,8 +4,6 @@ Equation for vertexes.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
index 32125521e8248875df7e6ae50bcda90b78b3c81e..c59fec95f09d58eea71bcaee6dfa48a0c1d6870b 100644 (file)
@@ -4,8 +4,6 @@ Add material to support overhang or remove material at the overhang angle.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 4b997d796726a979a1a4c14b4b07876ab95e1d9d..3f06c788f8619fad268715dc8921b1ea506015ca 100644 (file)
@@ -4,8 +4,6 @@ Add material to support overhang or remove material at the overhang angle.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_tools import face
@@ -13,7 +11,6 @@ from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
 from fabmetheus_utilities.geometry.manipulation_shapes import flip
 from fabmetheus_utilities.geometry.solids import triangle_mesh
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
 
 
index 088904f5dd8076ca67ef7248dd42bf462597a03a..6ed84b0180c2d434f21100e7012604850699371f 100644 (file)
@@ -5,8 +5,6 @@ Boolean geometry cube.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index aa2c46eb9d84d59627e1132c6f1ac6b626b76c15..70e16866a89e3fb21ee4bc08a20fda3d762afc6e 100644 (file)
@@ -5,8 +5,6 @@ Boolean geometry cylinder.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import lineation
 from fabmetheus_utilities.geometry.creation import solid
index 447b69710ea6b8367e6cbd5b032ea3e140aae4e1..296b1727216c199f710f8c7426e348ba9d10b9e8 100644 (file)
@@ -5,8 +5,6 @@ Boolean geometry difference of solids.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import boolean_solid
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 37de4edb0fdc47314af003ab9f4e9c2764d7efc7..5785e734bd85c80a54b5da2ee987b65d17b4a1d7 100644 (file)
@@ -4,8 +4,6 @@ Boolean geometry group of solids.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import dictionary
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 04aa15ae53a2b4ad7aa471e6d41026d51b1c0692..2af192b52b9a562fba9a590ae4745dab700f58e3 100644 (file)
@@ -5,8 +5,6 @@ Boolean geometry intersection of solids.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.solids import difference
index 9104056654c1b00067800fb3d6c39c5666cee6c4..a9801b4c89c73f49b7935719f915d610d68fdc71 100644 (file)
@@ -5,8 +5,6 @@ Boolean geometry sphere.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.creation import solid
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
index 550f400689a94c47afe9e5cdca1b9fa1401f76e8..308b1dfbff72a876c7ad72df66224227edd9bc46 100644 (file)
@@ -4,11 +4,8 @@ Triangle Mesh holds the faces and edges of a triangular mesh.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_tools import face
-from fabmetheus_utilities.geometry.geometry_tools import dictionary
 from fabmetheus_utilities.geometry.geometry_tools import vertex
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
@@ -21,7 +18,6 @@ from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 import math
 
-
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __credits__ = 'Art of Illusion <http://www.artofillusion.org/>'
 __date__ = '$Date: 2008/02/05 $'
index 7c30deaf21c633507885883fcd43b3e7537bf8ab..2c2a9543981ed6fcf15a1d479bd6d73123171b53 100644 (file)
@@ -5,8 +5,6 @@ Boolean geometry union of solids.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.solids import difference
index 716dc95cf4bb511f3d2354ba29d05e1907820ff5..6f7171a431e490205fc3aae46758fa687c4b9cbd 100644 (file)
@@ -8,8 +8,6 @@ The model is xml_models/geometry_utilities/evaluate_fundamentals/print.xml
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 
index cb7405392e1b0cae37d554b3c0d799a8fb1d306b..a696481e14c1c0db51988104e4314806a45b19b6 100644 (file)
@@ -4,8 +4,6 @@ Class.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 5da7d595d5c85d4939c618235b9d855b0370c13f..f45e7896c450c9fd015b540cdf5e486f534f6ef3 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 
index 708c167f397b3f0c5ec2de7f72c57a6e94faa18e..f8a7d24868bb2d4feec3659602006a44575ca1c4 100644 (file)
@@ -4,10 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
-
-from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 954e9b2e5ccf8b97aafede51d577cbc6927922a3..5772cdb178b0281bcfdaf06eab976af0d8ec5bd3 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 
index d758fa233c2cbae0f7adfca3a300edb81de27e89..9ed32e37d6a0e1903eb8af35d3a07ac3ce4009a3 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 1519efdb2096db32a5086eaeed29413107a2272b..883bc703b333d3552991679f3dc8ed0998376053 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 
index f8bb5c541391f57dcb78487c51d11153d1e5722a..50488e881973b5f3771f65e0051e06b5e6240a22 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 
index 805d70e1fbf62aaaa18fe7ec2b2764fa3a610566..8db9c8749ddfbaf7c4cecd73864a245b960d1e6b 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 
index 314f0dfe77409f416ecb1c960766c96feb10369b..871e58c395d8fcc75929f60306f17bf5042de57e 100644 (file)
@@ -4,8 +4,6 @@ Polygon path.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 
index ea448d06d46666c4e15295cc5afa9103c3370a46..4ab457ee2ea4ac50872db328e3cb905233b966c3 100644 (file)
@@ -4,13 +4,6 @@ Intercircle is a collection of utilities for intersecting circles, used to get s
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import euclidean
index 9057c4df8601ed5b610582f377e3634aaac04520..3264c79799b1adb4d59ba7265aaa822cb58688f0 100644 (file)
@@ -6,7 +6,6 @@ Settings is a collection of utilities to display, read & write the settings and
 from __future__ import absolute_import
 from __future__ import division
 
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
 import sys
 import types
 import math
index 96338521dca1eda771ec4aa8b01b94b1fff22018..980a1e6464ce70fa3d77ef0a41373425403e07eb 100644 (file)
@@ -3,10 +3,7 @@ Svg reader.
 
 """
 
-
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities.xml_simple_reader import DocumentNode
index 8a07844545597634393ee56c6a423cf0402b2811..b7332746899f03bdd97ba43cbf06cc096b06a780 100644 (file)
@@ -6,8 +6,6 @@ Svg_writer uses the layer_template.svg file in the templates folder in the same
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.vector3 import Vector3
index e577bb800af3050c68dc0c9a14def6523824c623..6ab8adcc973cf209f88c31dc9dbaf8f430763622 100644 (file)
@@ -23,13 +23,6 @@ Below are examples of Vector3 use.
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import xml_simple_writer
 import math
index 7d46075fbad09360c146434669fb9fa8e8f582a6..fda137974ecbb6595f30882f3d52794b0ce69030 100644 (file)
@@ -23,13 +23,6 @@ Below are examples of Vector3 use.
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import xml_simple_writer
 import math
index 87a8a08afbdeb1e47e6b127a5b90bcb691b59be3..9fcfe0d57eaea1a644818607a71d1cb1ad528cc8 100644 (file)
@@ -29,8 +29,6 @@ many more lines of the xml tree
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.geometry.geometry_utilities import evaluate
 from fabmetheus_utilities.geometry.geometry_utilities import matrix
index 57f4df28ed448543fb042f5c5033e03ca8cea529..edbaa1046d9e538335c10dcf4c894384b9b7ddfd 100644 (file)
@@ -5,8 +5,6 @@ XML tag writer utilities.
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 import sys
 
index 99604b2ed002311140402ebc4c228c3a1ff0e7e0..415b7ee3e21b16e58f4fd731372c50c6e3f0d395 100644 (file)
@@ -17,8 +17,6 @@ http://forums.reprap.org/file.php?12,file=565
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import settings
index 61b81038777295e955168daccfcdf47e840eca28..563a7862bae87f6cf95d6e179613aec9c49a96a9 100644 (file)
@@ -7,8 +7,6 @@ The plugin buttons which are commonly used are bolded and the ones which are rar
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
index f55bb2c6ba1fec8f3c4a9605f36e4440f97210e6..00ff25c973fd0b2a203adbe1edf5b76a23023827 100644 (file)
@@ -72,8 +72,6 @@ The alteration tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
index a761b745f9478c2b62b32383c91ee9e6339d9601..c65ffe0137bb2236bd8a1749ecd0f4e0023ac5a7 100644 (file)
@@ -41,10 +41,7 @@ The bottom tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from datetime import date
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.svg_reader import SVGReader
 from fabmetheus_utilities.vector3 import Vector3
@@ -56,11 +53,7 @@ from fabmetheus_utilities import svg_writer
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import cStringIO
-import os
 import sys
-import time
-
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __date__ = '$Date: 2008/02/05 $'
index b3ad845e30dead5232f62f30929227e106008507..f06753eb2271cc9b935e68ea22aa284e1e8115bf 100644 (file)
@@ -91,13 +91,6 @@ The carve tool has created the file:
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
@@ -109,11 +102,8 @@ from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 from fabmetheus_utilities.vector3 import Vector3
 import math
-import os
 import sys
 import time
-import math
-
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __date__ = '$Date: 2008/02/05 $'
index 181614ba5a10e937557f890b08c577c86462f080..1fca0a2ba84c5889a59d14ba8b7a4492dd5d0769 100644 (file)
@@ -159,8 +159,6 @@ Screw Holder Bottom_chamber.gcode
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
@@ -172,7 +170,6 @@ from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import sys
 
-
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __date__ = '$Date: 2008/21/04 $'
 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
index 8b0e556b8827827b7bf103a0f045245184489a4a..d37eced11704fe67d765c4416d64069bc2a1939d 100644 (file)
@@ -78,13 +78,6 @@ The chop tool has created the file:
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
@@ -94,7 +87,6 @@ from fabmetheus_utilities import settings
 from fabmetheus_utilities import svg_writer
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import os
 import sys
 import time
index 9ae1ef61eceab57529ca42ef45d893429a18129e..fa5f225c93e456f74f8dfd856f75953443a745b2 100644 (file)
@@ -73,13 +73,6 @@ The cleave tool has created the file:
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
@@ -89,7 +82,6 @@ from fabmetheus_utilities import settings
 from fabmetheus_utilities import svg_writer
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import os
 import sys
 import time
index 0edbc2146fe90f6b3a553c7bcec0c197091be58e..a3602c27816f10be803bc2ca1b6f6dc2986fc160 100644 (file)
@@ -41,8 +41,6 @@ The clip tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
@@ -53,7 +51,6 @@ from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
 
index f49760f6eb7cd1cf3396812240aac85adc09d610..7f5b0e6d8215e50c18deabf37cf31a4998240acf 100644 (file)
@@ -27,8 +27,6 @@ Screw Holder Bottom_coil.gcode
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
@@ -41,7 +39,6 @@ from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import os
 import sys
 
 
index 69f2caa25d603fce1dfc81017ba2e4bdb2dc5620..0f14024ed630bf719c95e4e49ccf7726728a89ae 100644 (file)
@@ -30,13 +30,6 @@ The comb tool has created the file:
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
@@ -47,7 +40,6 @@ from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
 
index 84f96d096092b55e37acce0c36ad7caa0402bd16..3541f530d5c9d4558f0dad7112b8abeb5a7f9f0b 100644 (file)
@@ -90,8 +90,6 @@ The cool tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
@@ -102,7 +100,6 @@ from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import os
 import sys
 
 
index 197b1ece6540fb1bb33e901872ba436d2dc85bae..380aa31861f69406fcd6f9fcd09278684b1b2f7d 100644 (file)
@@ -93,11 +93,8 @@ The dimension tool has created the file:
 .. Screw Holder Bottom_dimension.gcode
 
 """
+from __future__ import absolute_import
 
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
-
-from datetime import date
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
 from fabmetheus_utilities import archive
@@ -109,7 +106,6 @@ from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import math
-import os
 import sys
 
 
index 6efeec6a87f8c64d895357c5d5ad284d79a96807..ca462cfc29e5cc3a45f3ae230a801adde67870a6 100644 (file)
@@ -31,21 +31,16 @@ The drill tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import sys
 
-
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __date__ = '$Date: 2008/21/04 $'
 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
index 8f175ea4c6207331cf8a7ad1d8b82efb25d9915e..436c1473eb7406c1644d49d182d97dd9f5dd7b3a 100644 (file)
@@ -45,13 +45,9 @@ The dwindle tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
@@ -60,7 +56,6 @@ from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import math
 import sys
 
-
 __author__ = 'Enrique Perez (perez_enrique aht yahoo.com)'
 __date__ = '$Date: 2008/21/04 $'
 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
index c76fbaa92e46c45f27b2d0932ff921442481eb92..91fd4f09ee878abc28427928683e9e4873922222 100644 (file)
@@ -100,14 +100,11 @@ The export tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_analyze
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
index 67604fed63493444d3ee4baa28b16271ee51361c..a4d1aef414afc31d6625db92a9a2a42073352051 100644 (file)
@@ -93,16 +93,14 @@ Byte 14 is worth a few extra notes, this byte is used to define which of the axe
 """
 
 from __future__ import absolute_import
-import __init__
+
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
-from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 from struct import Struct
 import cStringIO
-import os
 import sys
 
 
index f0abbdf5f8910d68cbc589bf611c512307619831..e8375ba6700a9d04df4c7cbb1d6cae5555160dc9 100644 (file)
@@ -73,16 +73,13 @@ Defines the Z axis step length.
 
 
 from __future__ import absolute_import
-import __init__
+
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
-from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-from struct import Struct
 import cStringIO
-import os
 import sys
 
 
index 4a7e7562b4c264cb9b0385fb17b94aad4b4602b0..5e21e8c3a2a3876c218b281cdd511b58f78a0f25 100644 (file)
@@ -58,16 +58,13 @@ Defines the Z axis step length.
 
 
 from __future__ import absolute_import
-import __init__
+
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
-from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-from struct import Struct
 import cStringIO
-import os
 import sys
 
 
index 042da5004336711d7c607257771ce573fc65ee00..5766d409187636460c6ae694e57bf5a415fe5890 100644 (file)
@@ -44,22 +44,16 @@ The feed tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
-
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __date__ = '$Date: 2008/21/04 $'
 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
index 7353ad10b583feaf142f5d64b69583b3c72a6031..6cb80525adecb4ddc5bdc06aca90612a11277f57 100644 (file)
@@ -182,13 +182,6 @@ The fill tool has created the file:
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
index 231643e869263633895d6e1bee37080c5d8d40a9..b040fe3deba7069b3367069a55133e3626e33232 100644 (file)
@@ -60,8 +60,6 @@ The fillet tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.vector3 import Vector3
@@ -75,7 +73,6 @@ from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import math
 import sys
 
-
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __date__ = '$Date: 2008/21/04 $'
 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
index c462de7bbcf8e1f369d063845ecd63e88fc047e5..82a7f1dfd0217f6c170f10bc4737a8c89611f56e 100644 (file)
@@ -27,8 +27,6 @@ The flow tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
index 56016be708ac09dcdee4f2bf1363e69df15bf895..16fb7611c1fbd8399e4e559c81c0e2ce3f031ead 100644 (file)
@@ -30,8 +30,6 @@ The home tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.vector3 import Vector3
@@ -42,8 +40,6 @@ from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
-import os
 import sys
 
 
index 9b4ac36c31c7cb13a2ebf8eee19dfdfa6016c537..411a72f040f69bb15ca83a414ea7c303596b12a9 100644 (file)
@@ -43,12 +43,9 @@ The hop tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
index 3a5115aefadd920f203eda1b518a25ebdaa74211..7d1ec9740fda709aee31ee924a67fe726f45dad6 100644 (file)
@@ -59,13 +59,6 @@ The inset tool has created the file:
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
@@ -79,8 +72,6 @@ from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import cmath
-import math
-import os
 import sys
 
 
index aef5bcad681276c5f7667be19dec4db5f4e3b836..0b3acd3e5ecc5e9e019b5da202518c79460e7cf2 100644 (file)
@@ -33,14 +33,11 @@ The jitter tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
index 80574aa8a8004466daaa36bbe47e1e1efa41c1dc..8a8f1c1c69b2ea457c61bb3f4acc872035ca507f 100644 (file)
@@ -18,22 +18,14 @@ Defines which layer of the print the joris process starts from.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
-from fabmetheus_utilities.geometry.solids import triangle_mesh
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import sys
-
 
 __author__ = 'Daid (daid303@gmail.com'
 __date__ = '$Date: 2012/24/01 $'
index 9843d43d7b4bac44857ab58317205181aa235b39..dd5e5a13f37d6b612cae29a751b05f1c4beb1b41 100644 (file)
@@ -40,8 +40,6 @@ The lash tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
@@ -52,7 +50,6 @@ from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import sys
 
-
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __date__ = '$Date: 2008/21/04 $'
 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
index 7e19329bbb2fb3ddfe8856fc411165e624244e37..7c5ffb615f8d140c0b3d304db96079e50c7e3873 100644 (file)
@@ -32,8 +32,6 @@ The lift tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
@@ -44,7 +42,6 @@ from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import sys
 
-
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
 __date__ = '$Date: 2008/02/05 $'
 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
index 48786e6ad26f853c6652e1451494c8f53f1b0ba1..66a521233fb1298f3aa5a10dbc5848930ab7ad47 100644 (file)
@@ -31,23 +31,15 @@ The limit tool has created the file:
 .. Screw Holder Bottom_limit.gcode
 
 """
+from __future__ import absolute_import
 
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
-
-from datetime import date
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
-import os
 import sys
 
 
index 867e3a99a1250932566d3193655a08458b06de6c..5b8a018fc019bacc3231c072fc650b3dc38a372e 100644 (file)
@@ -54,8 +54,6 @@ Screw Holder Bottom_mill.gcode
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
@@ -68,8 +66,6 @@ from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
-import os
 import sys
 
 
index 3ae9461ae69e48c95cf41e5af31fe6ec1389012b..ca2d52ec3b8629c497dcd2f3de601f34510e7c60 100644 (file)
@@ -59,20 +59,16 @@ The multiply tool has created the file:
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
 
index 234b85f8c98026e3e0243b74792f9976febc0677..fd75a37fe1d3629e6dc015b58a42e1db6227997a 100644 (file)
@@ -67,12 +67,9 @@ The oozebane tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
index 6bc752925731cfc80cf19c3f70725f693e575aaf..de181a5cb3e0d990d2ded1929ccd79a9921b85a4 100644 (file)
@@ -21,13 +21,6 @@ The outset tool has created the file:
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
index f39a2609fc3f253997422b39c2bc6664e15072b5..aa42745fe2c2619cbf79e14a245276c88b2b3099 100644 (file)
@@ -54,23 +54,17 @@ The preface tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from datetime import date, datetime
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.svg_reader import SVGReader
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
-from fabmetheus_utilities import svg_writer
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 from time import strftime
-import os
 import sys
 
 
index c364cf910b24e3dcb3b26b17bee3ea2cd485a5f8..615bc7e707f2b86dd38811dc6677ee02a4495780 100644 (file)
@@ -195,8 +195,6 @@ Screw Holder Bottom_raft.gcode
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
index d644079d8bd2a9d72021cd1061e2b75f79e91d16..12a636eb0b52552c12b656679181310114141bf5 100644 (file)
@@ -44,25 +44,18 @@ The scale tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
-from datetime import date
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.svg_reader import SVGReader
 from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
 from fabmetheus_utilities import svg_writer
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import cStringIO
-import os
 import sys
-import time
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index d3ea4ea96d5896e3a6596036db183a4aad11eadc..a447f6e321726c9c107fba30d061e9eb96485675 100644 (file)
@@ -60,8 +60,6 @@ The skin tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
index 9dae41830def1ec6902e9884d4eff1f49acb91de..5b8e09599c06710e919def3cf1d2c6a692b15c28 100644 (file)
@@ -57,12 +57,9 @@ The skirt tool has created the file:
 
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.solids import triangle_mesh
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
@@ -71,7 +68,6 @@ from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
 
index 0a386e363878eb09aa25ba4a7306752f86f27ef9..0838098d7edbe7f0d10178777349c51d7abc08dd 100644 (file)
@@ -39,8 +39,6 @@ The smooth tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
index 0653f57ff1d3c0ede708f7111a674afbd1a4082e..e42a7b61b281bb1723277c0b962779b30bd887fa 100644 (file)
@@ -117,19 +117,15 @@ The speed tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
 
index 7404029cfb2f762c9c61e6c965d510264e405982..d1babb18ed19c54e467795b91a51d46a43459027 100644 (file)
@@ -57,12 +57,9 @@ The splodge tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
index cb82ed331d99974596e5a02224a00cce9d593685..0cb1430c465856d410dc0ee662a7812d2c25ed5b 100644 (file)
@@ -67,15 +67,11 @@ The stretch tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
-from fabmetheus_utilities.vector3 import Vector3
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
index 0a1a8b900f33359af135c189a46fc9406eba1ad0..0775100b0cda271b430ac08c01d068c243ece8a2 100644 (file)
@@ -75,19 +75,14 @@ The temperature tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
 
index 500ad860a248c5392aecd9ec3e6763c9e71b0088..4efe8ad3f2d6d1a9e2d2405297b19ecfa38b5418 100644 (file)
@@ -40,8 +40,6 @@ The tower tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.vector3 import Vector3
index 1827bd478ee7cfbf4d39520b80fbfebd7d2c5349..c46ff90d61c6fc12d39597d2705fc51ca3506042 100644 (file)
@@ -36,19 +36,14 @@ The unpause tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import euclidean
 from fabmetheus_utilities import gcodec
-from fabmetheus_utilities import intercircle
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
 
index 38130dc8a382905f57cabbaca3345e871d0d7847..147e40853433e1d32625ccdb769d76d1ba897189 100644 (file)
@@ -27,8 +27,6 @@ The whittle tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
index cc6123768a67aa8b332271f50298981ae473b6d0..f6866278edebb111a0f6e61529a3039284379fe3 100644 (file)
@@ -29,13 +29,6 @@ The widen tool has created the file:
 """
 
 from __future__ import absolute_import
-try:
-       import psyco
-       psyco.full()
-except:
-       pass
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.geometry.geometry_utilities import boolean_solid
@@ -48,7 +41,6 @@ from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import os
 import sys
 
 
index ac662ec07166251c3d71f43112973aa903b9c023..04de7e47396d5470db35612f09c0b6d417e40742 100644 (file)
@@ -80,8 +80,6 @@ The wipe tool has created the file:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities.vector3 import Vector3
@@ -92,7 +90,6 @@ from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_craft
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import math
 import sys
 
 
index 87253289cdb7cc7c28619d1f06922eec29280238..c4861e311d47f0c3f7653f6b4471095006e1ce1f 100644 (file)
@@ -40,8 +40,6 @@ The help menu has an item for each button on the help page.  Also, at the very t
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_help
index 8b9ec49e50efdbfb1bc2e1100ad5e372dc9c81fb..1b256c7a2417e4be16d84a23ff1a4792fa48ab87 100644 (file)
@@ -5,8 +5,6 @@ Meta is a script to access the plugins which handle meta information.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import settings
index 8ce2a725f16871fdaf30eb5731c6e51fc16978f0..d823413c55b3579e2bae419a2a858456f642760b 100644 (file)
@@ -17,8 +17,6 @@ This brings up the description dialog.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
index 6d377b7e3d8909c7e9e903a015741076c6de8109..1e0299c8da4dadc1b9480f9ebcf130c80b53df62 100644 (file)
@@ -21,8 +21,6 @@ This brings up the polyfile dialog.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 
index 808d482dfc90c800b8cca102404f88120b164591..d1b448163899700f3f34b384125a6e75cc3ca36a 100644 (file)
@@ -12,8 +12,6 @@ To change the profile setting, in a shell in the profile folder type:
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import euclidean
index 0cc3c51fe988a31c7334a1b76ae9526108a46ab5..e4637128f93ccb61df1360797cfa6c2325af47a5 100644 (file)
@@ -15,7 +15,7 @@ To change the cutting profile, in a shell in the profile_plugins folder type:
 
 
 from __future__ import absolute_import
-import __init__
+
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import sys
index e8f9a9a929767d1c9e91d52d495dbacbcf36790a..1168cc3a343e4f70db16bbd58d4535c7a8bef536 100644 (file)
@@ -15,7 +15,7 @@ To change the extrusion profile, in a shell in the profile_plugins folder type:
 
 
 from __future__ import absolute_import
-import __init__
+
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import sys
index fd682b7104e2ee87b872e1b3ed00570ec696ab2b..443eddc864d63a071616d86b5fdc5f1797b20fb6 100644 (file)
@@ -15,7 +15,7 @@ To change the milling profile, in a shell in the profile_plugins folder type:
 
 
 from __future__ import absolute_import
-import __init__
+
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import sys
index 4cbd165e54ac39354015e9fbf7428a2de018bb13..39c0b3a8d55bbc489b66e9710fe66d927967c6df 100644 (file)
@@ -15,7 +15,7 @@ To change the winding profile, in a shell in the profile_plugins folder type:
 
 
 from __future__ import absolute_import
-import __init__
+
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
 import sys
index 26e30ae11c273cc4b3d23d2bdc8b5dcfd2af170e..5dbb98b1d164c0af4b5819371bf9659584dc3f1e 100644 (file)
@@ -4,15 +4,11 @@ Analyze is a script to access the plugins which analyze a gcode file.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_polyfile
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import os
 import sys
 import traceback
 
index bbd30242a2fa839bf30f03627fa7540cd4dc1f82..4f6db47688ce3c22871acd14bf6f30812b900598 100644 (file)
@@ -6,8 +6,6 @@ The plugin buttons which are commonly used are bolded and the ones which are rar
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities.fabmetheus_tools import fabmetheus_interpret
 from fabmetheus_utilities import archive
index 6dad5c751e96eb9b2c14c76760fdcc676ab4ef49..7f41ef6cbcc34a5e2e6b4927a975532dd87faad8 100644 (file)
@@ -4,8 +4,6 @@ Help has buttons and menu items to open help, blog and forum pages in your prima
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import settings
index b03b9f1bb1a029f820f7aac08bae511ce2e2cec8..e0c6f68b8c66d547f199084076813b6cbfbd0fd7 100644 (file)
@@ -4,14 +4,10 @@ Meta is a script to access the plugins which handle meta information.
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
-from fabmetheus_utilities import gcodec
 from fabmetheus_utilities import settings
 from skeinforge_application.skeinforge_utilities import skeinforge_profile
-import os
 
 
 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
index 03f4c418d1baa1e479dbedcd7a66c92c5b97c4b6..2343cb62b5374de4547b2bdf5b89dc87dc08bd44 100644 (file)
@@ -4,8 +4,6 @@ Polyfile is a script to choose whether the skeinforge toolchain will operate on
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive
 from fabmetheus_utilities import settings
index 38f8c9c2293f09462a3a30bf2ccde3219c76ca95..967b09801d91bba8341204b0baa20506927b599c 100644 (file)
@@ -6,8 +6,6 @@ Profile presents the user with a choice of the craft types in the profile_plugin
 """
 
 from __future__ import absolute_import
-#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
-import __init__
 
 from fabmetheus_utilities import archive