By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,837 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,837 IT Pros & Developers. It's quick & easy.

Looking for Delaunay triangulation module...

P: n/a
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
Share this Question
Share on Google+
8 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.