Import/Export ASCII?

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
jbhertzberg
Newbie Member
Posts: 3
Joined: Tue Aug 29, 2017 6:22 pm

Import/Export ASCII?

Post by jbhertzberg » Tue Aug 29, 2017 6:46 pm

(OS: Windows)
(Version 3.10.0)

Hi. I am new to QCad.

Can I export the vertices of a pattern (say, a set of straight lines) to an ASCII file as (x,y) positions?

Can I import a set of (x,y) positions and draw lines from these?

thanks!!

J Hertzberg
Yorktown Heights NY

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4939
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Import/Export ASCII?

Post by Husky » Tue Aug 29, 2017 7:03 pm

Hello J Hertzberg - welcome to the forum.

QCAD has no ASCII import/export functionality. What are you trying to accomplish?
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

jbhertzberg
Newbie Member
Posts: 3
Joined: Tue Aug 29, 2017 6:22 pm

Re: Import/Export ASCII?

Post by jbhertzberg » Tue Aug 29, 2017 7:28 pm

Thanks for the reply! Sorry to hear this is not built-in.

I would like to do some analysis/design/processing in other software for which it is most convenient to define a pattern by a set of vertices.

For import, could I write a script using my x/y pairs and import this script into QCad?

User avatar
andrew
Site Admin
Posts: 9058
Joined: Fri Mar 30, 2007 6:07 am

Re: Import/Export ASCII?

Post by andrew » Tue Aug 29, 2017 7:44 pm

jbhertzberg wrote:For import, could I write a script using my x/y pairs and import this script into QCad?
Yes, you could accomplish both export and import relatively easily with script tools.

There is an example for importing points from an ASCII X,Y file at:
scripts/Misc/MiscIO/ImportPoints

The tool is available in QCAD under Misc > Import/Export > Import Points

User avatar
Husky
Moderator/Drawing Help/Testing
Posts: 4939
Joined: Wed May 11, 2011 9:25 am
Location: USA

Re: Import/Export ASCII?

Post by Husky » Tue Aug 29, 2017 7:45 pm

jbhertzberg wrote:For import, could I write a script using my x/y pairs and import this script into QCad?
QCAD is open to accept customized scripting .... but that isn't my wheelhouse :shock:
My naive answer would be: Yes - but maybe Andrew (QCAD developer) can tell you more about this.

Edit: He was one minute faster than me .... :D
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."

jbhertzberg
Newbie Member
Posts: 3
Joined: Tue Aug 29, 2017 6:22 pm

Re: Import/Export ASCII?

Post by jbhertzberg » Tue Aug 29, 2017 8:45 pm

Andrew, thanks for the link. I will take a look.

Post Reply

Return to “QCAD 'How Do I' Questions”