Welcome! Log In Create A New Profile

Advanced

AttributeError: LoopLayer instance has no attribute 'segmentTable'

Posted by pepijndevos 
AttributeError: LoopLayer instance has no attribute 'segmentTable'
April 21, 2012 08:28AM
I'm trying to do some 3D milling, but every piece of software I tried so far was a big failure. Unfortunately, this is true for skeinforge as well.

Once I figured out the… unintuitive GUI, I set the profile to milling and end mill. When I hit the skeinforge button, and select the attached file, it prints a stacktrace.

I think this is a bug in the milling code, because generating a extrusion gcode works just fine.

Any ideas how to resolve this(or other milling software to try)?

The stacktrace:

Export settings have been saved.
Skeinforge craft settings have been saved.
Skeinforge settings have been saved.
File /Users/pepijndevos/Desktop/disk.stl is being chain exported.
hop procedure took 0 seconds.
reface procedure took 0 seconds.
utset procedure took 0 seconds.
Mill layer count 1...
xception in Tkinter callback
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1410, in __call__
    return self.func(*args)
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/fabmetheus_utilities/settings.py", line 1173, in execute
    self.repository.execute()
  File "skeinforge.py", line 592, in execute
    skeinforge_craft.writeOutput(fileName)
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/skeinforge_application/skeinforge_utilities/skeinforge_craft.py", line 135, in writeOutput
    return pluginModule.writeOutput(fileName, shouldAnalyze)
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/skeinforge_application/skeinforge_plugins/craft_plugins/export.py", line 275, in writeOutput
    gcodeText = skeinforge_craft.getChainTextFromProcedures(fileName, procedures[: -1], gcodeText)
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/skeinforge_application/skeinforge_utilities/skeinforge_craft.py", line 44, in getChainTextFromProcedures
    text = craftModule.getCraftedText(fileName, text)
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/skeinforge_application/skeinforge_plugins/craft_plugins/mill.py", line 83, in getCraftedText
    return getCraftedTextFromText( archive.getTextIfEmpty(fileName, gcodeText), repository )
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/skeinforge_application/skeinforge_plugins/craft_plugins/mill.py", line 93, in getCraftedTextFromText
    return MillSkein().getCraftedGcode(gcodeText, repository)
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/skeinforge_application/skeinforge_plugins/craft_plugins/mill.py", line 250, in getCraftedGcode
    self.parseLine(line)
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/skeinforge_application/skeinforge_plugins/craft_plugins/mill.py", line 366, in parseLine
    self.addMillThreads()
  File "/Users/pepijndevos/Downloads/50_reprap_python_beanshell/skeinforge_application/skeinforge_plugins/craft_plugins/mill.py", line 200, in addMillThreads
    endpoints = euclidean.getEndpointsFromSegmentTable( boundaryLayer.segmentTable )
AttributeError: LoopLayer instance has no attribute 'segmentTable'
Attachments:
open | download - disk.stl (17.3 KB)
Re: AttributeError: LoopLayer instance has no attribute 'segmentTable'
April 27, 2012 01:48PM
I use Meshcam to generate gcode for my milling machine. It's not free but it does work well. Here's a blog about my experiment of adding a 4th axis to my Taig and cutting a 3D object:

Milling 3D objects
Sorry, only registered users may post in this forum.

Click here to login