LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 09-16-2010, 03:38 PM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
[SOLVED] whassup w/ this package...?


Hi Forum

There is an open ASCII format for 3d/2d drawings, it is called dxf, it was created by Autocad, but its specifications are open, ( unlike the DWG format ), Open Design Alliance has created some utility programs to convert between the binary format dwg to dxf... but this only runs in winblows ( wine ).

I get some files which contain sections of objects I have to work with, in pdf. And I have found this package, pdf2dxf, which is supposed to convert an image in the pdf file to a set of points, straight lines and splines in a dxf, http://kde-apps.org/content/show.php...?content=24227, but when I try to download the source, the link seems dead or it points to no tar package...

Does anyone know if the source of this exists... ?

Sourceforge reports nothing ...


BRGDS

Alex

EDIT

Nevermind... Solved this already
This is just a little bash script that uses Qcad, which I do not have... I am running Slackware 13, and there is no Slackbuild for it... and it is not an "easy" package to build...

Solved...

Last edited by Alexvader; 09-23-2010 at 06:32 AM. Reason: SOLVED
 
Old 09-23-2010, 04:26 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
The (tar) archive you pointed, pdf2dxf, is downloadable--at least it worked fine for me. However the tar package consists of one simple file: a desktop launcher. Therefore you don't actually need that; what you'd want from it is the actual command that it runs, which I quote below (contents of the pdf2xdf.desktop file). In order to use it you must have the program it runs, pstoedit, so you'll need to locate that first.

Quote:
Originally Posted by pdf2dxf.desktop
# Author: Claus Mueller ( claus at open-craft dot org)
# Licence: GPL
# version: 0.1
# see http://developer.kde.org/documentati...vicemenus.html for more details on howto create kde service menu and http://developer.kde.org/documentati...dialog/t1.html for howto use kdialog

[Desktop Entry]
ServiceTypes=application/pdf
Actions=pdf2dxf
X-KDE-Submenu[de]=PDF in DXF konvertieren
X-KDE-Submenu=convert PDF to DXF

[Desktop Action pdf2dxf]
Name=pdf2dxf (default)
Name[de]=pdf2dxf (Standard)
Icon=qcad
Exec= pstoedit -f dxf "%u" "`echo "%u" | sed -e 's/.pdf/.dxf/g'`"
Note the bold text--that's what this is all about.

Edit: apparently there's a Slackware package of pstoedit available (at least slacky.eu has one, or you can build one yourself), so that should solve it. Also, when you solve your question, please edit the title to say [SOLVED].

Last edited by b0uncer; 09-23-2010 at 04:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Pretending a Package is Installed by Creating an Empty Package with Checkinstal LXer Syndicated Linux News 0 05-03-2009 03:10 PM
LXer: GNOME Debian Package Finder: Rough and ready package search for the desktop LXer Syndicated Linux News 0 09-04-2008 01:00 AM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
installing an unstable package from debian's online package archive ganninu Debian 13 11-07-2003 03:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration