Draw a line

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draw a line

Post by yorik »

Hi Bart,
You got those packages from debian sid repository, right?
Another person is having the same problem: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563523
This is due to the debian pivy package being quite old and wasn't recompiled since python upgraded. I spoke to the maintainer of the pivy package already, and this should be solved pretty easily.
Cheers
Yorik
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Draw a line

Post by wmayer »

Hi Yorik,

thanks for tracking down the problem. My first assumption was that different Coin versions may be used but that's not the case.
There is one thing with pivy what I do not understand: why doesn't appear the python lib in the dependency list of the _coin.so lib? On the Windows platform I can see it but not on Debian. Any ideas?

Cheers,
Werner
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draw a line

Post by yorik »

Yes, that's true, here neither... Funny? That ldd list is kind of automatic, right? There is no way to "disable" a package from showing... Really too bad the guy who created pivy is not available.
I guess this will give a bit of extra work to Teemu, the package will need to be recompiled everytime python upgrades. But I suppose that must be the case for other python packages too...
Bart Aimar

Re: Draw a line

Post by Bart Aimar »

Sorry expired...
I have re-paste at:
http://paste.debian.net/55754/
gabbiere
Posts: 8
Joined: Wed Dec 30, 2009 8:19 am

Re: Draw a line

Post by gabbiere »

Still sorry... I do not see the page 2 of the forum...
I am bungler... Can anyone to delite the previous message?

Hi yorikvanhavre and yes, the packages came from debian sid repository!
There is alternative solutions witout recompile pivvy?

(And finally in topic...)
I am an architect ad I have good hope in Freecad.
Obviously the 2d drafting is indispensable for basic architectural activity....
Thanks for your job.

Bart
----
http://aimar.mrjive.it/
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draw a line

Post by yorik »

Hi Bart,
Normally you'd have to wait for Teemu (who is the debian maintainer for both pivy and freecad packages) to upload a new version, but I also made one that you can grab here: http://yorik.uncreated.net/archive/pack ... _amd64.deb
I named the package with one release number above the current package in sid, so it doesn't conflict, but keep an eye on the official pivy package too because installing mine could make it not upgraded when the new one arrives.

About freecad & architecture, cool, I'm an architect too. I did the 2D module because I fear only us architects still use 2D, our buddies engineers are a couple of centuries ahead of us already... I agree with you that without 2D an architect cannot work. But I also think it's time to try to invent better workflows, and there are a couple of extremely interesting things in freecad that can be developed into fantastic tools for architecture (basically the 3D-to-SVG process and the whole parametric approach, a la revit). I wrote some stuff about that here already: http://sourceforge.net/apps/mediawiki/f ... ding_ideas . Basically now that the 2D module is more or less done, I still want to play a bit with import/export to/from other 3D software and renderers, then I'll attack that part.

Ah, outside freecad, I'm currently working on a couple of dxf tools for linux, so working with dxf files on linux will be quite cool ;)
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Draw a line

Post by wmayer »

Hi,

the problem is not pivy, it's still freecad. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563523

Werner
gabbiere
Posts: 8
Joined: Wed Dec 30, 2009 8:19 am

Re: Draw a line

Post by gabbiere »

yorikvanhavre wrote: ....zot.. I also made one that you can grab here: http://yorik.uncreated.net/archive/pack ... _amd64.deb
Tks... I have installe it... but the 2d draft stil not work...
the output said:
Running the Python command 'Draft_Line' failed:
Traceback (most recent call last):
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 774, in Activated
self.snap = snapTracker()
File "/usr/lib/freecad/Mod/Draft/Draft.py", line 300, in __init__
sg.addChild(self.switch)
File "/usr/lib/pymodules/python2.5/pivy/coin.py", line 41243, in addChild
return _coin.SoGroup_addChild(self, *args)
in method 'SoGroup_addChild', argument 1 of type 'SoGroup *'<type 'exceptions.AttributeError'>
<type 'exceptions.AttributeError'>

And do not seems the same problem mentioned from wmayer,
but - anyvay - wmayer be right ? :)
About freecad & architecture, cool, I'm an architect too.
I have read your web pages... :)
..zot.... But I also think it's time to try to invent better workflows, and there are a couple of extremely interesting things in freecad that can be developed into fantastic tools for architecture (basically the 3D-to-SVG process and the whole parametric approach, a la revit). I wrote some stuff about that here already: http://sourceforge.net/apps/mediawiki/f ... ding_ideas .
Yes Yorik, I agree
Basically now that the 2D module is more or less done,
The 2d module (for basic functions) must run perfectly.
Further (and horizontal) utility may be job for the users, like the lisp utilities developped by the useres around acad 12/14.
May be the same thing for freecad?
Ah, outside freecad, I'm currently working on a couple of dxf tools for linux, so working with dxf files on linux will be quite cool ;)
I am very interested about this tools,
can you talk me about?

tks

Bart
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draw a line

Post by yorik »

gabbiere wrote:And do not seems the same problem mentioned from wmayer,
but - anyvay - wmayer be right ? :)
Yes, it looks I was mistaken...
gabbiere wrote:The 2d module (for basic functions) must run perfectly.
Yes, of course...
gabbiere wrote:I am very interested about this tools, can you talk me about?
Well it's basically a dxf thumbnailer and a dwg2dxf converter based on the EveryDwg converter. The thumbnailer works fine already, and a little bit more work and the converter will work too. The idea is that you could convert your whole blocks library to dxf and use them in freecad.
gabbiere
Posts: 8
Joined: Wed Dec 30, 2009 8:19 am

Re: Draw a line

Post by gabbiere »

yorikvanhavre wrote: Well it's basically a dxf thumbnailer and a dwg2dxf converter based on the EveryDwg converter.
The thumbnailer works fine already, and a little bit more work and the converter will work too. The idea is that you could convert your whole blocks library to dxf and use them in freecad.
It is a very god idea... but I'm little confused...
First need a good converter dwg > dxf
second a thunbnailer to iconify (for to see in freecad)
Either must be free licence.. and possibly to work in linux (or in wine)
I have search in google... but no lucky about softwares that match the up specs.

Do you have a link?

tks

Bart

PS
Sorry for my bad english... very "emergency level"!
Post Reply