Hi,
I'm wondering whether someone has experience / code / pointers on
how to write FEM meshes to Abacus ( Simulia, whatever ). We're making
good progress at the pythonOCC(.org) project in coupling CAD & FEM
and a next step would be to plug the generates meshes into a major
FEM solver such as abaq
> Aaron explained it better than I did. Basically the C/C++ module uses
> C/C++ version of Facet class directly without consulting python
> interpreter, this is what I meant by static linking.
Thanks so much for the explanation Lie, I understood it fully now.
Thanks again,
-jelle
--
http:
> > CGAL.Facet = OtherFacet
> > CGAL.Polyhedron.Facet = OtherFacet
> > p = CGAL.Polyhedron_3()
> You're not creating Facet object here, not even Polyhedron.Facet.
Right, which is not the point; I'm trying to override the Facet, a topological
entity of which a Polyhedron is composed of .
( vertex
Hi Aaron,
Thanks so much for your feedback.
> Regardless of CGAL's dictionary, it instantiates a Facet.
True, when I add attributes to it, they are disregarded when looping
through the facets later on.
> Depending on the details, you may need only to cut-and-paste your own
> 'make_triangle' fu
Hi,
I'm working with a C++ module ( CGAL, comp.geom. with exact arithmic )
and am having troubles finding a way to override how the modules returns
objects. What I'm trying to do is to extend the Facet class, but when I try
to use my version of the class, the parent class is still being returned
Hi Josh,
> http://www.pythonocc.org/ However, I'm
> not entirely clear on the license for this so that might be an issue.
We're using a French license for the moment, but will move to something more
standard soon. PythonOCC ( the current SVN version ) wraps 85% of the
OpenCASCADE kernel. Consi
Thanks for your in-depth explanation Tim.
Which is impossible to disagree with!
On 10/31/07, Tim Chase <[EMAIL PROTECTED]> wrote:
>
> > Well, I this is another idiom in itself, right?
> > Your checking if something is part of an iterable.
> > I'm checking truth before entering a conditional expre
> The statement that you want to test the truth of is s.find(q) >= 0. In
> other words, you want to see that the substring was found at a valid
> (non-negative) location. As someone else pointed out, it would make more
> sense to use None instead of -1.
I agree, that would be nice.
You still
Hi Tim,
Well, I this is another idiom in itself, right?
Your checking if something is part of an iterable.
I'm checking truth before entering a conditional expression.
The latter is considered to be pythonic, right?
-jelle
On 10/31/07, Tim Chase <[EMAIL PROTECTED]> wrote:
>
> > if I check a st
There is a subtle point though.
If the substring is not found '_'.find(' '), will return -1
Semanticly, I was expecting the that if the substring was not found, the
conditional statement would not be found.
However, python evaluates -1 to True, so that is what I do find confusing.
So, I was arguing
>
> What's your point? :/
that of making sure before you post and cause public emberassement?
--
http://mail.python.org/mailman/listinfo/python-list
You might be interested in the ndimage module of scipy:
http://www.scipy.org/SciPyPackages/Ndimage
If you need a very serious image processing framework, ITK is might be very
interesting:
http://www.itk.org/
If so, have a look at the more Pythonic interface developed for it:
www.insight-journal.or
##I'm sorry to stir up such a well discussed topic yet again, but namespaces
are a point of confusion to me...
I took the effort of organizing my Python code (scripting a cad program
calles Rhino) in well defined classes, which would be a terrific thing if I
didn't got stuck in namespace issues.
Could anyone recommend me a genetic algorithm package? So far I have found a
few, such as GAS, pyGP, Genetic, and of course scipy.ga
My problem is that most of the development of these packages seems to be
stalled, or that in scipy.ga's case, the module seems huge and somewhat
overly complicated.
Have been trying to build python extensions from the C libs ming
& mathlink.
I have been able to produce a .pyd
object after studying Mike Fletchers excellent:
http://www.vrplumber.com/programming/mstoolkit/
which is a
terrific tutorial for anyone trying to compile .pyd
on win32!
Is anyone aware of a module allowing you to read / write .iges data?
Currently I’m trying to figure a way of writing out my
nurbs data generated in python, but if such a package
exists, that would be great, haven’t been able to find anything so far…
Cheers,
Jelle.
--
http://
H. Not familiar with erlang at all...
> Subject: Re: OCAMl a more natural extension language for python?
>
> Hi !
>
> OCAML is very complementary at Python :
>
> unreadable vs readable
That's depending on how you compare; I find OCAML quite readable
compared to C / Fortran
>
After reading about extending python with C/Fortran in the excellent Python
Scripting for Computational Science book by Hans Langtangen, I'm wondering
whether there's not a more pythonic way of extending python. And frankly I
think there is: OCAML
Fortunately there is already a project up and runn
Yikes, how painful, I meant stdOUT > trouble instead of stdin...
Awefully sorry
Cheers,
Jelle
##thanks for pointing that out Denis!
--
http://mail.python.org/mailman/listinfo/python-list
##I know I should be using 2.4 and os.Popen,
I know, I know…
##However, since most modules I need, I’m using 2.3
for this script
I’m having troubles executing a shell script.
The thing is that I’m produing
material and geometry files that need to be compiled to a binary description
> Have you looked at Blender (http://www.blender3d.com)??
Blender seems very promising, its python support is exactly what I'm
looking for, but it lacks the cad/parametric capabilities I'm looking for.
--
http://mail.python.org/mailman/listinfo/python-list
> Hint to get a useful answer: Define your needs. Display in 3D (want to
> use them to define and display geometry)? Numeric analysis (writing
> some sort of CAD or automation system)? Modeling system (want some way
> to interactively define them)?
I wish I could give you a well defined answer
Is anyone aware of a python nurbs module?
So far I found Runar Tenfjord's effort, which is quite interesting:
http://runten.tripod.com/NURBS/
But in the end doesn't really meet my needs.
Any suggestions?
Cheers,
Jelle.
--
http://mail.python.org/mailman/listinfo/python-list
I wonder whether anyone on this list has been able to
compile the ming .swf output library successfully on win32/python2.3?
I have quite some trouble trying to compile these kind of libraries, maybe you could point me to a good
starters tutorial on this?
Cheers,
Jelle.
--
ht
24 matches
Mail list logo