472,958 Members | 2,288 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

Looking for Delaunay triangulation module...

Can anybody point me to a Delaunay triangulation module (for
Win32)? I'm currently using http://flub.stuffwillmade.org/delny/ under Linux, but I have
been unable to find a build for Windows. I don't have the tools
(or skills) to build libqhull and Pythion extensions on Win32).

I've also found the delaunay module in scipy's "sandbox". I
could never get that module to work under Linux, and I can't
build it for Windows anyway.

So for lack of a delaunay module, I'm stuck trying to port my
application to Win32.

I've spent some time Googling and found various references to
pur Python delaunay modules that were abandoned because they
were slow (though I haven't been able to find any of the actual
modules). Slow is better than none. ;)

--
Grant Edwards grante Yow! An air of FRENCH FRIES
at permeates my nostrils!!
visi.com
Aug 31 '07 #1
8 5578
On 2007-08-31, Grant Edwards <gr****@visi.comwrote:
So for lack of a delaunay module, I'm stuck trying to port my
application to Win32.
I've found that VTK contains a Delaunay triangulation module,
and Entought Python includes VTK, so that's next on my list of
things to try as soon as VTK finishes building on my Linux box
(where I do all of my actual development).

--
Grant Edwards grante Yow! hubub, hubub, HUBUB,
at hubub, hubub, hubub, HUBUB,
visi.com hubub, hubub, hubub.
Aug 31 '07 #2
In message <13*************@corp.supernews.com>, Grant Edwards wrote:
So for lack of a delaunay module, I'm stuck trying to port my
application to Win32.
Why not run it under Cygwin? :)
Sep 1 '07 #3
On 2007-09-01, Lawrence D'Oliveiro <ld*@geek-central.gen.new_zealandwrote:
In message <13*************@corp.supernews.com>, Grant Edwards wrote:
>So for lack of a delaunay module, I'm stuck trying to port my
application to Win32.

Why not run it under Cygwin? :)
:)

I'm hoping there is an easier way than trying to build a
half-dozen large Python extensions (and their supporting
libraries) under Cygwin.

It looks like VTK might do the trick. I can do the
triangulation, I just can't figure out how to get the data out
of the object containing the results. VTK isn't very
Python-friendly at all.

--
Grant Edwards grante Yow! LOOK!!! I'm WALKING
at in my SLEEP again!!
visi.com
Sep 1 '07 #4
On Sep 1, 12:24 am, Grant Edwards <gra...@visi.comwrote:
On 2007-09-01, Lawrence D'Oliveiro <l...@geek-central.gen.new_zealandwrote:
In message <13dge9m2339k...@corp.supernews.com>, Grant Edwards wrote:
So for lack of a delaunay module, I'm stuck trying to port my
application to Win32.
Why not run it under Cygwin? :)
I'm hoping there is an easier way than trying to build a
half-dozen large Python extensions (and their supporting
libraries) under Cygwin.
Well, that's what Cygwin is for -- to make it easy to do that.
What's not working?

I'm also not clear what your problem is with Delny with qhull under
Windows.
What errors have you gotten?
All the tests pass for me.
Sep 1 '07 #5
On 2007-09-01, dr******@gmail.com <dr******@gmail.comwrote:
>>>So for lack of a delaunay module, I'm stuck trying to port my
application to Win32.
>>Why not run it under Cygwin? :)

I'm hoping there is an easier way than trying to build a
half-dozen large Python extensions (and their supporting
libraries) under Cygwin.

Well, that's what Cygwin is for -- to make it easy to do that.
I know that's its intent. In my experience it doesn't succeed
very well. I've spent years supporting a set of development
tools under both Cygwin and Linux. The Cygwin versions are a
continuous pain for everybody involved.
What's not working?
I have never tried to run my application under Cygwin.

AFAICT, many of the Python packages I use aren't available as
packages for Cygwin, and I don't really want to spend the time
trying to build and maintain them.

My experiences building things from source in Cygwin haven't
been good in the past, and I have zero experience bundling up
Cygwin-hosted applications for delivery.

I have used an application suite under Windows that comprised
Cygwin apps and a bundled Cygwin installation, and it was a
total distaster. Perhaps that was just a singularly bad
example, but it sure made it seem like using Cygwin as a
platform for delivering Windows applications was a bad idea.
I'm also not clear what your problem is with Delny with qhull
under Windows.
I wasn't able to find a copy of Delny and qhull library for
Windows. I did find postings asking where one could be found.
Those postings went unanswered.
What errors have you gotten?

All the tests pass for me.
--
Grant Edwards grante Yow! Alright,
at you!! Imitate a WOUNDED
visi.com SEAL pleading for a PARKING
SPACE!!
Sep 2 '07 #6
Grant Edwards wrote:
Can anybody point me to a Delaunay triangulation module (for
Win32)? I'm currently using http://flub.stuffwillmade.org/delny/ under Linux, but I have
been unable to find a build for Windows. I don't have the tools
(or skills) to build libqhull and Pythion extensions on Win32).

I've also found the delaunay module in scipy's "sandbox". I
could never get that module to work under Linux, and I can't
build it for Windows anyway.
I'm working on it today. I'm going to break it out into a separate package. If
you can remember what problems you had, I'd like to fix them. I'm clearing up a
number of (really dumb) memory leaks.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Sep 2 '07 #7
On 2007-09-02, Robert Kern <ro*********@gmail.comwrote:
>Can anybody point me to a Delaunay triangulation module (for
Win32)? I'm currently using http://flub.stuffwillmade.org/delny/
under Linux, but I have been unable to find a build for
Windows. I don't have the tools (or skills) to build libqhull
and Pythion extensions on Win32).

I've also found the delaunay module in scipy's "sandbox". I
could never get that module to work under Linux, and I can't
build it for Windows anyway.

I'm working on it today. I'm going to break it out into a
separate package. If you can remember what problems you had,
I'd like to fix them. I'm clearing up a number of (really
dumb) memory leaks.
I'm sorry I don't remember what the problems were. It was some
time ago (probably 14-16 months) when I was trying to use the
module. After spending a day or two on it, I switched to the
Delny module (which I had used in the past).

I do have Dlaunay triangulation working using VTK (which is
included in Enthought Python), but I haven't been able to
figure out how to extract the triangle list from the object
containing the resulting triangulation. The object method that
people on the VTK mailing list tell me to call isn't available
in the Python binding.

--
Grant Edwards grante Yow! .. does your DRESSING
at ROOM have enough ASPARAGUS?
visi.com
Sep 3 '07 #8
On 2007-09-03, Grant Edwards <gr****@visi.comwrote:
On 2007-09-02, Robert Kern <ro*********@gmail.comwrote:
>>Can anybody point me to a Delaunay triangulation module (for
Win32)? I'm currently using
http://flub.stuffwillmade.org/delny/ under Linux, but I have
been unable to find a build for Windows. I don't have the
tools (or skills) to build libqhull and Python extensions on
Win32).

I've also found the delaunay module in scipy's "sandbox". I
could never get that module to work under Linux, and I can't
build it for Windows anyway.
I do have Dlaunay triangulation working using VTK (which is
included in Enthought Python),
Well, of course that doesn't work under Windows either. Doing
an "import vtk" crashes the python interpreter.

How people get any work at all done using Winodows is beyond me...

--
Grant Edwards grante Yow! Everybody gets free
at BORSCHT!
visi.com
Sep 4 '07 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Maarten van Reeuwijk | last post by:
Hi group, I need to parse various text files in python. I was wondering if there was a general purpose tokenizer available. I know about split(), but this (otherwise very handy method does not...
2
by: John Doe | last post by:
Hi, does anyone have a website that covers gtk.glade? Thanks in advance. Dan
1
by: Shi Mu | last post by:
is there any sample code to triangulation? many thanks!
3
by: Jack Klein | last post by:
I'm looking for opinions on a C technique I, and others, have used successfully in the past. While some people swear by, apparently others swear at it. Assume a part of a program too large to...
13
by: Grant Edwards | last post by:
I need to interpolate an irregularly spaced set of sampled points: Given a set of x,y,z points, I need to interpolate z values for a much finer x,y grid. I tried using the scipy sandbox delaunay...
8
by: Eric_Dexter | last post by:
I was looking for a simple way to load a simple python program from another python program. I tried os.system(cabel) The file name is cabel.py a csound instrument editor.. The error I am...
3
by: McGruber | last post by:
Hi, guys. Currently I am researching the optimised algorithms of building triangulations of 3D surfaces. And I faces the problem with visualization of the 3D triangulation. I tried to do it with...
3
by: sniipe | last post by:
Hi, I am looking fo svn library(module) which is used in the svn- mailer(http://opensource.perlig.de/svnmailer/) project. Does anybody know where can I find it(download url)? This is information...
2
by: Dudeja, Rajat | last post by:
Hi, I'm new to Python. I only have read "Byte of Python" by Swaroop C H just to be familiar with sytax of python. I've installed Python 2.5 from Active State and using its PythonWin Editor /...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
2
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.