(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
Import/Export ASCII?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: Import/Export ASCII?
Hello J Hertzberg - welcome to the forum.
QCAD has no ASCII import/export functionality. What are you trying to accomplish?
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..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
-
- Newbie Member
- Posts: 3
- Joined: Tue Aug 29, 2017 6:22 pm
Re: Import/Export ASCII?
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?
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?
Re: Import/Export ASCII?
Yes, you could accomplish both export and import relatively easily with script tools.jbhertzberg wrote:For import, could I write a script using my x/y pairs and import this script into QCad?
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
Re: Import/Export ASCII?
QCAD is open to accept customized scripting .... but that isn't my wheelhousejbhertzberg wrote:For import, could I write a script using my x/y pairs and import this script into QCad?
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 ....
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..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
-
- Newbie Member
- Posts: 3
- Joined: Tue Aug 29, 2017 6:22 pm
Re: Import/Export ASCII?
Andrew, thanks for the link. I will take a look.