williedawg
Mechanical
- Jan 19, 2009
- 152
Years ago, I used QBasic to create dxf files (actually I started with GW-Basic, then went to Basic.....which gives you an idea of what is meant by "Years ago,")
Later, I had good results using QBasic.
The problem (now) is that QBasic doesn't seem too happy in WinXP environment and you're pretty much stuck with a smallish window in which to work.
Also, QBasic's print command only works with LPT1. Beings almost everything is USB connected anymore, that presents a problem too. To save a printable copy of the code, I've tried copying and pasting the code into Word, but that doesn't work either.
For a while I had Borland C++ on my computer and was able to use it for this type of code to generate dxf; but for some reason, (which I've forgotten) the C++ compiler was not performing as it once had, so I dumped it.
So, with those strikes against QBasic and still occasionally have a need to make dxf files, what program would do the somewhat basic math with loops, subs, etc to do this?
The kinds of dxf files would be, for instance, involute gear profile (POLYLINE), point-to-point X,Y coordinates for transition polylines between straights and common radii (also POLYLINES), and other line segments.
I downloaded MS's free Visual Basic and went through some tutorials, but it seems overkill and much too complicated.
Did some online reading about Borlands free C++ and seems one site (Embarcadero) had user's comments about trouble with registering and activating the software.
Another site (Sofotex) didn't have the same kind of feedback, so that might be the place to go.
Opinions anyone?
Thanks
Later, I had good results using QBasic.
The problem (now) is that QBasic doesn't seem too happy in WinXP environment and you're pretty much stuck with a smallish window in which to work.
Also, QBasic's print command only works with LPT1. Beings almost everything is USB connected anymore, that presents a problem too. To save a printable copy of the code, I've tried copying and pasting the code into Word, but that doesn't work either.
For a while I had Borland C++ on my computer and was able to use it for this type of code to generate dxf; but for some reason, (which I've forgotten) the C++ compiler was not performing as it once had, so I dumped it.
So, with those strikes against QBasic and still occasionally have a need to make dxf files, what program would do the somewhat basic math with loops, subs, etc to do this?
The kinds of dxf files would be, for instance, involute gear profile (POLYLINE), point-to-point X,Y coordinates for transition polylines between straights and common radii (also POLYLINES), and other line segments.
I downloaded MS's free Visual Basic and went through some tutorials, but it seems overkill and much too complicated.
Did some online reading about Borlands free C++ and seems one site (Embarcadero) had user's comments about trouble with registering and activating the software.
Another site (Sofotex) didn't have the same kind of feedback, so that might be the place to go.
Opinions anyone?
Thanks