Welcome! Log In Create A New Profile

Advanced

Mendel90 make_machine.py error

Posted by sphetz 
Mendel90 make_machine.py error
November 29, 2014 02:39PM
I am trying to build drill guides,bom,etc. from my customized mendel90 sturdy. I followed this Video.I made a copy of "sturdy_config.scad" in Mendel90-master\scad\conf and renamed it "sphetz_config.scad" then, I customized it the way I wanted it and when I try to run make_machine.py I get the error below and it just makes Mendel90-master\sphetz with with a bom folder containing a text file that only says
Vitamins:

Printed:
and sheets folder with a frame_base_dxf.scad file containing
use <../../scad/main.scad>
frame_base_dxf();
Here is my error:
C:\Users\USER\Desktop\Mendel90\Mendel90-master>python make_machine.py sphetz
openscad -D $bom=2 -o dummy.csg scad/bom.scad
Generating bom ...  done
openscad -o sphetz/sheets/frame_base.dxf sphetz/sheets/frame_base_dxf.scad
Traceback (most recent call last):
  File "make_machine.py", line 17, in 
    make_machine(sys.argv[1])
  File "make_machine.py", line 11, in make_machine
    sheets(machine)
  File "C:\Users\USER\Desktop\Mendel90\Mendel90-master\sheets.py", line 63, in s
heets
    dxf_to_svg(dxf_name)
  File "C:\Users\USER\Desktop\Mendel90\Mendel90-master\dxf.py", line 81, in dxf_
to_svg
    ptList, cirList = parse_dxf(fn)
  File "C:\Users\USER\Desktop\Mendel90\Mendel90-master\dxf.py", line 7, in parse
_dxf
    f = open(fn)
IOError: [Errno 2] No such file or directory: 'sphetz/sheets/frame_base.dxf'

Thanks, I hope I can get this figured out. I just bought a sheet of 1/2" mdf and I am eager to start building.

Edited 1 time(s). Last edit at 11/29/2014 02:40PM by sphetz.
Re: Mendel90 make_machine.py error
November 29, 2014 03:34PM
Also, if i want to use 1/2" mdf should I define a MDF12.7 or just use MDF12?
Re: Mendel90 make_machine.py error
November 29, 2014 04:59PM
Looks like it is working correctly now that i put Mendel90-master in C:/ thanks to SystemsGuy in the IRC. But I still don't know if i need to define a new sheet to use 1/2" mdf
Re: Mendel90 make_machine.py error
November 29, 2014 05:45PM
Not sure why it would need to be at C:\, that is not where I keep mine.

In scad\vitamins\sheets.scad define

MDF12p7 = [ "MD", "MDF sheet", 12.7, [0.4, 0.4, 0.2, 1 ], true]; // 1/2"

And then select that in your config file.


[www.hydraraptor.blogspot.com]
Sorry, only registered users may post in this forum.

Click here to login