Hi all,
I'm dev'ing a control app, that has as a part of it a window showing
CAD-drawings.
So I'd like to display drawings coming from DXF files. In the first place
I'd start displaying rectangles and circles, i.e. simple shapes.
Nevertheless, the goal is to scan DXF files for the shapes to be displayed.
PythonCAD comes to my mind. But, alas, yet I did not succeed in installing
it on my Win2k box - the underlying graphics toolkit is missing DLLs.
But anyway, as I do not want to develop a full blown CAD program (I "simply"
want to display, zoom an rotate them), there's probably somthing simpler out
there for my purposes.
My app uses Python 2.3.x and wxPython (2nd latest release, upgrade any time
soon). I dev it on Win2k which will be the first target platform. But I see
Linux as a target already on the horizon.
So the lib should run on Win2k, but not prevent me from running on Linux.
The lib should integrate somehow with wxPython.
OTH, there are graphic libs 'n' packs out there similar to wxPython (was it
FOX?). So, if there are many more pros than cons, I'd consider changing from
wxPython.
Any hint is welcome.
Best regards
Franz GEIGER 1 1765
"F. GEIGER" <fg*****@datec.at> wrote in message news:<c6**********@newshispeed.ch>... Hi all,
I'm dev'ing a control app, that has as a part of it a window showing CAD-drawings.
So I'd like to display drawings coming from DXF files. In the first place I'd start displaying rectangles and circles, i.e. simple shapes. Nevertheless, the goal is to scan DXF files for the shapes to be displayed.
PythonCAD comes to my mind. But, alas, yet I did not succeed in installing it on my Win2k box - the underlying graphics toolkit is missing DLLs.
But anyway, as I do not want to develop a full blown CAD program (I "simply" want to display, zoom an rotate them), there's probably somthing simpler out there for my purposes.
My app uses Python 2.3.x and wxPython (2nd latest release, upgrade any time soon). I dev it on Win2k which will be the first target platform. But I see Linux as a target already on the horizon.
So the lib should run on Win2k, but not prevent me from running on Linux. The lib should integrate somehow with wxPython.
OTH, there are graphic libs 'n' packs out there similar to wxPython (was it FOX?). So, if there are many more pros than cons, I'd consider changing from wxPython.
Any hint is welcome.
Best regards Franz GEIGER
I was going to suggest looking into embedding a drawing viewer such as
Volo View as an ActiveX component, until I realized that you want a
cross platform solution. You may want to look at QCad which is GPLed
and cross platform (I think through GTK), but I have no idea what it
would take to embed it into your app. I wonder if looking at the code
and/or talking with the developer you could come up with a simple DXF
reader. (Of course you could study the DXF format on your own as
well, but I think that is what you are trying to avoid. :)
-Ruben This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Catalin |
last post by:
How can I make executables with python?
I found some utilities that claim they can do something like that like
Installer and py2exe but they actualy pack the code in a huge arhive!
This solves the...
|
by: John Ladasky |
last post by:
Hi, folks,
At the beginning of 2003, I was a frustrated computer user, and lapsed
programmer, with problems to solve that screamed for programming.
Thanks to the Python language and community, I...
|
by: Mark S Pryor |
last post by:
dear c.l.p,
I'm posting a Py script to change the wordfile
from inside the UE editor. Define this into
the adv. tool menu.
I found 100 posts in groups.google discussing
Python and UltraEdit....
|
by: ajikoe |
last post by:
Hi,
I tried to follow the example in swig homepage.
I found error which I don't understand.
I use bcc32, I already include directory where my python.h exist in
bcc32.cfg.
/* File : example.c...
|
by: Michael Galvin |
last post by:
I am trying to use Python to send to the printer a calender filled
with a mix of text and simple graphics. I want to draw on the printed
page something like a table with 6 rows and 7 columns to...
|
by: |
last post by:
Greetings.
In an effort to get python2.4 on my Centos 3.7, I installed the python
bootstrap rpm. This installed 2.4 alongside 2.2 and updated yum to 2.4.0.
Oddly, it didn't create a symlink...
|
by: Xah Lee |
last post by:
Of Interest:
Introduction to 3D Graphics Programing
http://xahlee.org/3d/index.html
Currently, this introduction introduces you to the graphics format of
Mathematica, and two Java Applet...
|
by: gsal |
last post by:
What would be the easiest way to go about offering 3D graphics for the
purpose of rendering geometry?
Suppose engineers (my co-workes) have to design some enclosure,
nozzle, bracket, or whatever...
|
by: igor.tatarinov |
last post by:
Hi, I am pretty new to Python and trying to use it for a relatively
simple problem of loading a 5 million line text file and converting it
into a few binary files. The text file has a fixed format...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| | |