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 1798
"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 problem of giving python programs to users who don't
have python but doesn't solve the problem of the source "secrecy"
(copyright).
And the programs also run much slower and become extremely big compared
to a normal C++ program for example. I...
|
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 am a programmer once
again.
My earlier solicitation to the computer world is here:
http://groups.google.com/groups?selm=c09b237b.0302060136.5683054e%40posting.google.com
|
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.
Since UltraEdit is only happy with 10 parts in
|
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 */
#include <time.h>
|
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 represent a
calendar. I want to place text precisely within those boxes on the
printed page. I am using Python 2.4 on Windows XP
I was in the past able to do this within Visual Basic using its
printer object. Visual Basic's printer object uses...
| |
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 'python' for either 2.2 or 2.4. I also
get a series of troubling dependency errors when I run yum update. Below is
the output of the bootstrap install, which includes both a failure early on
(possibly related to alternatives and/or the 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 utilities that allows you to view them
with live rotation in a web browser. Also, it includes a introductory
tutorial to POV-Ray.
|
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 physical part/component, I would like to
write a program where they can at least see the resulting geometry and
navigate it, i.e., zoon-in/out, rotate, pan. On the side, I could
have data entry fields with the input parameters and when something...
|
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 (like a
punchcard). The columns contain integer, real, and date values. The
output files are the same values in binary. I have to parse the values
and write the binary tuples out into the correct file based on a given
column. It's a little more...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| | |