cad icon indicating copy to clipboard operation
cad copied to clipboard

boxotron config file

Open getSurreal opened this issue 11 years ago • 4 comments

Can you add a sample config file? When I try to create a config file I get the following

Options using box.cfg no such config , populating default Traceback (most recent call last): File "./boxotron.py", line 423, in if name == 'main' : main() File "./boxotron.py", line 410, in main conffile(option,args[0]) File "./boxotron.py", line 376, in conffile c.add_section('default') File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ConfigParser.py", line 253, in add_section raise ValueError, 'Invalid section name: %s' % section ValueError: Invalid section name: default

getSurreal avatar Aug 23 '13 21:08 getSurreal

Hey, I looked at the code and couldn't understand it myself. This has come from the original (here: http://www.thingiverse.com/thing:404) - where there is a recent comment exactly like yours!

I've removed the bit that tries to create a default, and also the (bad) exception handling - so now you should at least see what the error is.

Hope it helps, Matt

ghost avatar Aug 23 '13 22:08 ghost

Yea, that was my comment on there as well :) I was just taking a shot that you would be able to help. I don't think the original owner is doing anything with it. I'll try again with your changes. Thanks!

getSurreal avatar Aug 24 '13 02:08 getSurreal

Have a look at this too: http://www.mattvenn.net/2013/02/17/using-openscad-for-2d-machining/ I've found it much easier making good enclosures with this technique. The boxotron stuff kind of works but it was always hard getting it just right, and then always needed modifications.

mattvenn avatar Aug 24 '13 21:08 mattvenn

Thanks for the link. I'll have to try that as well. I'm just getting into CNC and finding the software portion of it very challenging. I'm trying to keep it all open source. Can I ask what you've used to generate your gcode?

getSurreal avatar Aug 25 '13 00:08 getSurreal