nophead / Mendel90

A RepRap Mendel variant using sheets for the frame instead of rods
http://hydraraptor.blogspot.com/2011/12/mendel90.html
262 stars 247 forks source link

dibond openscad dxf error #25

Closed createthis closed 11 years ago

createthis commented 11 years ago

Hey,

I noticed the dibond directory today after doing a git pull, so I tried to build it.

Unfortunately, this command:

openscad -o dibond/sheets/frame_base.dxf dibond/sheets/frame_base_dxf.scad

yields this error:

Current top level object is not a 2D object.

OpenSCAD version 2012.05.12 on Ubuntu 12.04 LTS

Wish I knew more about openscad so I could fix. I guess openscad thinks it's a 3d model instead of 2d.

nophead commented 11 years ago

Is there anything in openscad.log? It probably fails for some reason, makes nothing and classes that as a 3D nothing.

I haven't tested any of this on Linux myself. Other people have though.

createthis commented 11 years ago

I ran the openscad command again and looked at the top of the output instead of the bottom. I saw this:

WARNING: Can't open input file dibond_config.scad'. WARNING: Can't open input filepositions.scad'.

createthis commented 11 years ago

I figured it out. You're on a case insensitive OS. Rename: scad/conf/DiBond_config.scad -> scad/conf/dibond_config.scad

and it works.

nophead commented 11 years ago

Thanks. I fixed the case.