OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Flesh out your ideas for new or improved Inkscape features before submitting a request.
jesusdhuila
Posts: 5
Joined: Thu Jan 26, 2017 10:07 am

OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby jesusdhuila » Thu Jan 26, 2017 10:43 pm

OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.
I am a costume designer and I am using inkscape for the elaboration of CLOTHING PATTERNS, from version 0.46, to 0.91 which are the ones that open and export .PLT files without problems.
The program I use to create 3D clothing designs, allows me to export the design pattern created in 2D, but in .dxf-aama format, which I then convert with another program to .PLT file so that it can be edited with inkscape and proceed to Scaled in industrial scales, which I find somewhat complex by the conversion, which sometimes is not very good.
I would like to know if it is possible to implement in inkscape an extension that directly opens, edits and exports .dxf-aama files, to import those files into inkscape and proceed to its corresponding edition scaled to industrial scales.
I can not attach a sample file of my work, because the files are too large and the configuration of this forum does not allow me to upload them.
I appreciate any help.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby Moini » Fri Jan 27, 2017 4:49 am

I'm sure this would be possible, if you've got a definition of the file format at hand and are willing to learn programming, or find a programmer to do it for you, or find a library that is open source and can do all (or parts of) the file format conversions.

Or maybe Valentina will soon be able to do this: https://bitbucket.org/dismine/valentina and http://valentina-project.org/ - it sounds as if it's a software you should have at least tried out.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

jesusdhuila
Posts: 5
Joined: Thu Jan 26, 2017 10:07 am

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby jesusdhuila » Fri Jan 27, 2017 9:30 pm

Thanks for your reply, I already consulted in the valentina forum, but the answer was: "Valentina will never open the DXF-AAMA file. If you ask this you do not understand the nature of this project.
Also exporting to DXF-AAMA format has a low priority for me. "
With respect to learning programming, I am in that process, but I can not find the corresponding help.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby Moini » Sat Jan 28, 2017 8:39 am

Mh, yes, that answer sounds a bit frustrating...

Maybe you should ask around in other tailoring/sewing/clothes design forums, if anyone has a solution for this problem?
About the programming: there are lots of free online courses that can support you in this endeavor. It's how I learnt Python.

What you'd need to learn is:
- find out how that file format works
- make a plan how the contents of an SVG file can be converted to that file format
- use some kind of xml parser that will help you accessing the elements of the SVG image
- take a look at existing export extensions to find how export from Inkscape can work
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby brynn » Sun Jan 29, 2017 8:12 pm

There is an Inkscape extension for making clothing patterns. I've never used it (don't have a sewing machine anymore :( ) so I don't know how well it works. Also don't know if it provides that export format. But worth taking a look at it. https://github.com/kirchner/patterns Who knows, maybe the author of that extension would be interested to make what you're talking about?? Or maybe would know of any other solution?

jesusdhuila
Posts: 5
Joined: Thu Jan 26, 2017 10:07 am

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby jesusdhuila » Sun Jan 29, 2017 11:56 pm

Hello, brynn:
I have downloaded the recommended extension, I want to try it but name works after placing the files in the Inkscape Extensions folder; I do not know if any additional commands need to be made to work.
Among the files in the extension there is a readme file, with extension .md, which I do not know how to open.

My OS is 64bit windows 10, the inkscape version I am using is 0.91, I do not know if this will be a problem for its operation; It would be good to find the page or contact the developer to solve the concerns.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby brynn » Mon Jan 30, 2017 12:11 am

I've usually been successful opening any kind of readme file, with Notepad. I don't know if Windows still includes Wordpad, but that might work as well. Word might even work, but that's just a guess.

The best place to put a new extension is C:/Username/AppData/Roaming/Inkscape/share/extensions. If you put in C:/Program Files/Inkscape...., it will be lost with the next time you upgrade to a new version. If you put in the first place, it will always be available.

No additional commands are needed, but sometimes it's hard to find a new extension, because you can only guess which sub-menu it might be in. Look through the Extensions menu very closely.

Actually, even though I can't use it, maybe I'll install just to have a look. I've been curious about it. Then I can tell you where it is. I'll be right back :D

Edit
Oh, I forgot to say. After you downloaded the zip file, and you put it in the directory I mentioned, you have to unpack or extract the zip file (right-click > Extract).

Edit #2

Oops - sorry, wrong directory. It's C:/username/AppData/Roaming/Inkscape/extensions (no share folder here)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby brynn » Mon Jan 30, 2017 12:42 am

Ok, well the readme file only contains the name of the extension. So that's no help.

Oh ok, I found the problem. Apparently the extension is either not finished, or not all of it is included in the download. There's an INX file, but no PY file. And both are needed for an extension.

There should be a way to contact the author, somewhere on that github page. Maybe you can ask what his plans are or if he could make an extension for what you want.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby Moini » Mon Jan 30, 2017 4:11 am

It's probably finished, but it's written in Haskell, not in Python.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby brynn » Mon Jan 30, 2017 4:13 am

Does that mean there's some other reason why it doesn't show up in the menu, after you install it? Or does it need something else to be installed?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: OPENING, EDITING AND EXPORTING FILES .DXF-AAMA.

Postby Moini » Mon Jan 30, 2017 6:56 am

The latter, plus I think it might not be fully finished yet, the inx file is referring to a file that doesn't exist. And you need Haskell.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Inkscape Ideas”