Installed the fcgeo.py file in the draftlibs folder and FreeCAD throws the following exception:
Code: Select all
Exception (Thu Dec 10 09:58:23 2009): PolyLine instance has no attribute 'polyface'
Stack Trace: Traceback (most recent call last):
File "<string>", line 4, in <module>
File "C:\Program Files\FreeCAD0.8\Mod\Draft\importDXF.py", line 469, in export
dxf.saveas(filename)
File "C:\Program Files\FreeCAD0.8\Mod\Draft\draftlibs\dxfLibrary.py", line 655, in saveas
self.save()
File "C:\Program Files\FreeCAD0.8\Mod\Draft\draftlibs\dxfLibrary.py", line 659, in save
test.write(str(self))
File "C:\Program Files\FreeCAD0.8\Mod\Draft\draftlibs\dxfLibrary.py", line 648, in __str__
entities=self._section('entities',[str(x) for x in self.entities])
File "C:\Program Files\FreeCAD0.8\Mod\Draft\draftlibs\dxfLibrary.py", line 327, in __str__
if self.polyface:
By the way, don't worry about this piece, I already finish it... but would be nice to have a tool like freeCAD to make this calculation instead by hand
Also, I'm sure this will help to have a more complete FreeCAD...
Regards