On Thu, Jun 24, 2010 at 8:40 AM, Thiago Franco Moraes wrote:
> use to plan a surgery. Our software is developed using VTK [2]. Now
> our objective is to convert that STLs to STEP to use in CAD softwares.
So are you just wanting to export the triangles in the STL file to
triangles in a STEP file? B
On Thu, May 27, 2010 at 10:56 AM, John Griessen wrote:
> Are STEP and IGES text files? What is a good reference for them from
> the viewpoint of translating?
You can probably write a translator, if you want, by following all of
the faces, and then using an OBJ library and converting faces from on
On Wed, May 26, 2010 at 2:47 PM, John Griessen wrote:
> What does
> __repr__(self)
> repr(x)
>
> do?
That's a basic python construct, it's a special method of a class that
python checks whenever it tries to represent an object as a string.
> Googling Representation operator give hits for MDP a p
On Wed, May 19, 2010 at 12:09 PM, John Griessen wrote:
> Can I refer to python2.5 in my scripts and what ipython calls execute
> even though ipython was compiled with python2.6? I used python2.6 to satisfy
> the latest leo editor's python dependency.
You can start a script off like this if you wa
On Tue, May 4, 2010 at 12:20 PM, jelle feringa wrote:
> Thomas just pointed out to me that Bryan Bishop will present PythonOCC at the
> upcoming scipy 2010 conference.
> A duly impressive program, so we're very excited to be able to participate.
> Many thanks in advance Bryan!
T
On Thu, Apr 8, 2010 at 8:02 AM, Guillaume Bouchard
wrote:
> BIG (HUGE) file. To set the StlAPI to Binary mode, the C documentation says
> [1] that
> StlAPI_Writer.ASCIIMode must be used, like that:
>
> w.ASCIIMode() # Get the value
> w.ASCIIMode() = false # Set the value.
I already explained thi
On Fri, Apr 2, 2010 at 5:27 AM, Dave Cowden wrote:
> thanks for the review. I didnt even think about subclassing, that's a
> great idea. From the code below, it appears you may already have the
> wrapper classes I have written somewhere else. Should I polish mine and
> contribute, or are there
On Thu, Feb 25, 2010 at 3:53 PM, Henrik Rudstrom wrote:
> Perhaps we should consider another platform for discussion as well?
No thanks. Let's stick with email. Also, if you have troubles with
your mail client, there are tons of open source solutions out there
that you can try for free.
- Bryan
h
On Sun, Feb 21, 2010 at 1:59 PM, Thomas Paviot wrote:
> Hi Bryan,
Hey Thomas. Thanks for the quick reply.
> *Very* intersting thread, thank you for opening it.
had to be done
> The topic you're talking about is still an open issue in CAD and
> contributions from the open source community would
On Sun, Feb 21, 2010 at 1:49 PM, Jelle Feringa wrote:
> On Feb 21, 2010, at 8:28 PM, Bryan Bishop wrote:
>> Hey Thomas,
>>
>> A while ago, you and Jelle were talking about creating an API for
>> pythonOCC that would simplify and hide the ugly guts of OCC. I haven'
Hey Thomas,
A while ago, you and Jelle were talking about creating an API for
pythonOCC that would simplify and hide the ugly guts of OCC. I haven't
seen too much on this front in a while, but a few days ago I was
talking with Christian Siefkes, Ben Lipkowitz, and a few others about
a potential lo
On Sun, Feb 21, 2010 at 12:12 PM, Thomas Paviot wrote:
> A few years ago, I developed a software aimed at providing rigid body
> simulation features to Catia V5 or SolidWorks. This project, known as
> "Decade dynamics", is not active anymore although many users are frequently
> asking for new featu
On Tue, Feb 16, 2010 at 11:16 AM, Willy Hertz wrote:
> i am pythonocc newbie, and my question may seem stupid.
Willy, is this what you want to do?
http://www.youtube.com/watch?v=ZUCv7COgzU0
- Bryan
http://heybryan.org/
1 512 203 0507
___
Pythonocc-use
On Wed, Feb 10, 2010 at 1:42 PM, Thomas Paviot wrote:
> It's completely possible to implement your idea. Actually, if you already
> have good skills in Django, it's something you can achieve within only a few
> hours. For someone with good Django/pythonOCC skills, it's not more than two
> hours to
On Thu, Jan 21, 2010 at 10:47 AM, Charles McCreary
wrote:
> Now I want to extract some information from the imported geometry. The
> geometry consists of 3 b-spline curves with knots. I've perused the doxygen
> generated documents but I'm still rather lost on how to begin. I'm unclear
> on how to
On Sun, Dec 27, 2009 at 3:42 PM, M. Nawijn wrote:
> I have not been a hardcore user of any of these software tools. But the way
> they
> handle rotating and moving camera/viewport is different for everyone of them.
I am actually somewhat okay with that. But what really gets to me is
when there i
Hey all,
I was wondering if anyone has a good example of easy user interaction
with OCC. In HeeksCAD, rotating and moving the camera/viewport,
rotating the object, etc. is made difficult by cryptic two-click mouse
button maneuvers, and rotating the camera versus rotating a particular
object isn't
On Tue, Dec 8, 2009 at 5:12 PM, Simon Loic wrote:
> One other question remains, how to automatically create screenshots for all
> the samples? Shall we add a new function in every sample (eg
> CreateScreenShots) ?
Does anyone know how to do this *without* requiring X to be installed
and running? R
On Sat, Oct 31, 2009 at 3:52 PM, Jelle Feringa wrote:
> Thanks for the reference Bryan, the Transformation part looks interesting,
> perhaps I'll take a byte out of that ;')
Hey Jelle, if you need assistance with the skdb source, you're more
than welcome to show up in #hplusroadmap on irc.freenod
On Sat, Oct 31, 2009 at 12:26 PM, Jelle Feringa wrote:
> I'd like to ask kindly to consider involving yourself in helping us
> out in constructing the high-level API.
The skdb code base is GPL'd, so feel free to help yourself to the
wrappers and classes we've been making.
web view: http://adl.ser
On Fri, Oct 16, 2009 at 11:49 AM, Simon Loic wrote:
> Bryan,
> Deeply sorry about your first name spelling. I hope you're not mad ;-)
> Loïc
I am furious! Well, not really. :-) Thanks for the pointer on
ltmain.sh. In my case, the following packages carry that file:
gettext-doc: /usr/share/doc/ge
On Fri, Oct 16, 2009 at 11:41 AM, Sébastien Ramage
wrote:
> I'm trying to install pythonOCC on my ubuntu but I cannot install
> OpenCascade 6.30
> I have look at the wiki
> http://www.pythonocc.org/wiki/index.php/Installing_OpenCASCADE_on_Linux
> but it failed on updating libtool because I have no
On Fri, Oct 16, 2009 at 11:29 AM, Sébastien Ramage wrote:
> what you have to do is :
> - load your IGES/STEP into OCC shape
> - Create a scene in occray and add your shape
> - just render it to file
That sounds great. How does yafaray get the data to render?
- Bryan
http://heybryan.org/
1 512 203
On Wed, Oct 14, 2009 at 7:58 AM, Sébastien Ramage
wrote:
> I am pleased to announce the first release of occray project.
> occray is a python library that allow creating raytraced image from
> pythonOCC using the great yafaray engine.
Hi Sébastien. I was wondering if you could answer a few questi
On Wed, Oct 14, 2009 at 10:46 AM, Bryan Bishop wrote:
> stl2pov.py
> http://adl.serveftp.org/skdb/import_tools/stl2pov.py
Now with images. Here's what the output looks like for me:
http://adl.serveftp.org/~bryan/pythonocc-tools/bearing.png
The rest of this email is just describing h
Hey all,
Here are some tools that allow you to convert from IGES to a PNG
image. They are not robust, and there's a few dependencies like
optfunc and stl2pov (a thirdparty program). They also leave a lot of
files around.
stl2pov.py
http://adl.serveftp.org/skdb/import_tools/stl2pov.py
pov2png.py
Hey all,
First, this code is only partially working. It doesn't grab
everything, like TopoDS_Shape and TopoDS_Face were oddly missing when
I tested that. However for a large variety of other OpenCASCADE
classes, it's able to figure out a path from "here to there" so you
can figure out what your co
Hey all,
I am still getting a lot of textpuke from STEPImporter in pythonOCC
(samples/Level2/DataExchange/import_step_single.py). This is kind of
annoying. I wouldn't mind being able to specify a flag or something to
get this sort of output, but honestly most of the time it's just in
the way. Anyo
On Fri, Aug 21, 2009 at 12:07 PM, Thomas Paviot wrote:
> Can you please insert the screenshot in your email? I don't manage to
> open/display the png file..
Attached.
- Bryan
http://heybryan.org/
1 512 203 0507
<>___
Pythonocc-users mailing list
Pythono
On Fri, Aug 21, 2009 at 10:59 AM, Jelle Feringa wrote:
>> I would expect the following code to display three coordinate arrows
>> along the coordinate axis. But that's not what happens. Am I doing
>> something wrong?
>
> ? it is parallel to your triedron, so looks like it worked out, right ?
I hav
I would expect the following code to display three coordinate arrows
along the coordinate axis. But that's not what happens. Am I doing
something wrong?
def make_coordinate_arrows(event=None):
#typical origin symbol
display.DisplayShape(make_vertex(gp_Pnt(0,0,0)))
x = gp_Trsf(); x.SetT
Has anyone here checked out HeeksPython yet?
http://code.google.com/p/heekspython/
It's a python interpreter included into the HeeksCAD project.
- Bryan
http://heybryan.org/
1 512 203 0507
___
Pythonocc-users mailing list
Pythonocc-users@gna.org
https
On Fri, Jun 5, 2009 at 8:52 AM, Thomas Paviot wrote:
> 2009/6/5 Bryan Bishop
>> I was wondering whether or not there is a way to express mating
>> constraints in OpenCASCADE and pythonOCC.
>
> OpenCASCADE does not come with any mating constraints system.
What about assem
Hey all,
I was wondering whether or not there is a way to express mating
constraints in OpenCASCADE and pythonOCC. I was previously working on
this in my own data structure to mate faces together in different
ways, just by using a simple list data structure. However, a colleague
of mine is using a
On Fri, Apr 17, 2009 at 5:58 AM, Jelle Feringa wrote:
>> I didn't notice this bug on Windows or Ubtuntu 8.04. This may come from
>> your video driver or may be related to OpenCascade/OpenGL.
>>
>> Anyone else encoutered this bug?
>
> Setting a nice shading in pythonOCC can be tricky.
> Could you p
On Thu, Apr 16, 2009 at 9:01 AM, Jelle Feringa wrote:
> Oh, btw; I noticed your interest in BrepFeat.
> A neat little trick is to use ShapeFix before performing a BrepFeat.
> That way you're wires are ordered in the correct sense, so you don't have to
> handle it yourself ( I dont get much joy out
On Thu, Apr 16, 2009 at 9:06 AM, Bryan Bishop wrote:
> On Thu, Apr 16, 2009 at 9:01 AM, Jelle Feringa wrote:
>> Hi Bryan,
>>
>> You know I really fancy your involvement in pythonOCC, but I ask you kindly
>> to be very precise in replying.
>> Thing is that no
On Thu, Apr 16, 2009 at 1:04 AM, ganesh thangaraj p
wrote:
> dear users,
> as some of you know,iam developing a feature recognition
> system and i am new to the concept of both PythonOCC and OCC. Therefore it
> will be helpful if someone could suggest some tutorials to pythonOC
Hey all,
I svn up'd again and now have a new revision, which gives me access to
fancy things like display.DisplayColoredShape. Interestingly, when I
set the color of a shape and display it, the color changes as I rotate
if I'm in the shading mode. Under wireframe mode, the color stays. To
my untra
On Wed, Apr 15, 2009 at 4:22 PM, Peter Grolsch wrote:
> get for example this cylinder "cyl1 =
> OCC.BRepPrimAPI.BRepPrimAPI_MakeCylinder(50,200)" into
> the viewer without saving it to a file.
display.DisplayShape(cyl1.Shape());
- Bryan
http://heybryan.org/
1 512 203 0507
_
On Mon, Apr 13, 2009 at 6:30 PM, ganesh thangaraj p
wrote:
> Dear users,
> I am a student who has developed a Feature Recognition
> Algorithm which needs to be validated. I intend to use python occ for this
> purpose. Any example codes or guidance in the following areas is much
> a
On Mon, Apr 13, 2009 at 2:27 AM, jelle feringa wrote:
> from OCC.TopAbs import *
Didn't work. Anyway, here's what I did to fix the situation:
cp SWIG_src_modular_win32/TopOpeBRep* SWIG_src_modular_linux_darwin/
cp SWIG_src_modular_win32/LocOpe* SWIG_src_modular_linux_darwin/
cp SWIG_src_modular_
Hey all,
I have been trying out Jelle's BRepFeat_example.py script, and even
with a fully updated version of pythonOCC from the repository, I am
unable to get Topo(something.Shape()).faces() to return any of the
faces. Now, if you investigate Topo(something.Shape()), you will see
that it has a Get
On Wed, Apr 8, 2009 at 12:01 AM, Thomas Paviot wrote:
> Bryan Bishop a écrit :
>> On Tue, Apr 7, 2009 at 6:36 AM, Bryan Cole wrote:
>>> I've been working with pythonOCC for a week or two now. Can anyone give
>>> me some pointers on how to construct assemblies in O
On Tue, Apr 7, 2009 at 7:47 AM, Jelle Feringa wrote:
>> I'm not aware of any "asssemblies" stuff done with OCC, so I've been
>> implementing my own part mating stuff.
>
> That's the hottest CAD terminology I've heard in a long time.
Heh, don't get randy. And here's some more hot ways of saying th
On Tue, Apr 7, 2009 at 6:36 AM, Bryan Cole wrote:
> I've been working with pythonOCC for a week or two now. Can anyone give
> me some pointers on how to construct assemblies in OpenCascade. I
> suspect I need the OCAF framework for this, but I'm not too sure. Will
> Compound Shapes achieve this?
Hey all,
I've been reading up on the old National Design Repository project
from Regli et al.; actually, I found out about them many months ago,
downloaded their repository, and earlier today found out that they
were using OpenCASCADE in their backend, and in fact were writing some
methods for "pa
On Wed, Apr 1, 2009 at 8:49 AM, Arthur Magill wrote:
> I've started trying to write some Linux instructions on the wiki:
>
> http://www.pythonocc.org/wiki/index.php/Install_Linux
Fantastic. I'll try to find some time to test/confirm/edit. In the
mean time, here's my previous experience with pyt
On Wed, Mar 18, 2009 at 12:59 AM, Thomas Paviot wrote:
> At last, if Bryan wants to use Heeks' material (icons for instance), the
> best is first to ask for his agreement, and to clearly explain that the
> objective is *not* to clone his work. And please Bryan, dont't name your app
> 'BishopCAD' :
On Mon, Mar 16, 2009 at 12:57 AM, Thomas Paviot wrote:
> Nice screenshot! Seems to be a really interesting work.
Thank you. :-)
> According to me, the InteractiveViewer is a kind of pythonOCC RAD
> environment. If you add features like create a sphere, a line etc., I think
> it's not in the init
On Mon, Mar 16, 2009 at 12:14 AM, Bryan Bishop wrote:
> Hello world,
Nevermind. The fix was that I wasn't configuring the position of the
panes, so it was technically only visible when I expanded the size of
the window past my screen resolution. Anyway, here's a screenshot-
http:/
Hello world,
I've been playing around with the interface in an attempt to match
HeeksCAD. But one of the problems that I've been running into is that
I can't entirely predict hwo many toolpanes are allowed at any one
time to be visible. I've defined up to six, but then overall a few are
dropped ea
On Sat, Mar 14, 2009 at 6:51 AM, Jelle Feringa wrote:
>> Anyway, to help others facilitate the consumption of the overly-hairy
>> API, here's my collected bookmarks on OCC:
>> http://heybryan.org/books/Manufacturing/pythonocc/opencascade.html
>
> Though, to be useful generally speaking, it would r
Hey all,
I don't have any prior experience with the OpenCASCADE API, so it's a
bit foreign to me, and a bit odd at times, so in order to accliminate
myself to OCC, I've been reading over the forums and looking at the
example sources and demos, both provided in the pythonOCC svn
repository and by O
On Thu, Mar 12, 2009 at 11:58 AM, jelle feringa wrote:
>> Yeah, I'm working on it.
>
> you know we appreciate it buddy ;')
Here are some rather unstructured, hairy notes, in more or less rough
order what I had to do to get pythonOCC installed on a copy of debian
on a lab computer. The process was
Hey all,
I got tired of waiting for swig to re-generate all of the files each
time I had to go fix a few bugs in the build process. So, here's the
fix to not call swig when swig has already done its job. Note however
that you need to be careful about this if you are not sure whether or
not the *_w
On Thu, Mar 12, 2009 at 9:26 AM, Arthur Magill wrote:
> Yes, I've used tips from Dan Heeks (and several others on the
> OpenCASCADE list). In case it is helpful to anyone else here on the
> list, I'm using Fedora 10, and the following worked for me:
Thanks for the environmental variable notes. I
On Thu, Mar 12, 2009 at 9:28 AM, jelle feringa wrote:
> doing something similar for the linuxes would be great.
Yeah, I'm working on it.
> i noticed you mention comtypes on the wiki? i know its useful, but not
> related to
> pythonocc, so i guess its better left
> out.
When I was installing it
On Thu, Mar 12, 2009 at 3:37 AM, jelle feringa wrote:
> Would you be willing to sum up getting pythonOCC up & running on the
> pythonocc.org wiki? There are many paths that lead to Rome it seems so its
> pretty
> confusing at some point. It would be great if you could consider it,
Way ahead of y
On Wed, Mar 11, 2009 at 12:26 PM, Teemu Ikonen wrote:
> On Wed, Mar 11, 2009 at 5:08 PM, Bryan Bishop wrote:
>> I also recall some recent revised interest in OpenCASCADE from d-s.
>> I'll cc the debian-science team and ask what's been up. :-) Maybe
>> th
On Wed, Mar 11, 2009 at 10:15 AM, Arthur Magill wrote:
> will be - try installing VTK by hand), so seeing it in standard
> repositories will be a big help. The Debian guys are making big leaps in
> this direction.
Recently the debian-science team began to take an interest in BRLCAD:
http://group
On Wed, Mar 11, 2009 at 10:08 AM, Jelle Feringa wrote:
> These are the env. vars. relevant to pythonOCC / OCC
> export DISPLAY=:0.0
> export CASROOT=/usr/local/lib/OCC
export CASROOT=/home/bryan/manufacturing/opencascade/OpenCASCADE6.3.0/ros/
export CSF_GraphicShr=/usr/local/lib/libTKOpenGl.so
p
On Wed, Mar 11, 2009 at 4:36 AM, Thomas Paviot wrote:
> Bryan Bishop a écrit :
>> It seems I'm missing the OCC.NIS module. When I comment it out in the
>> OCCViewer.py file, InteractiveViewer.py successfully runs-- but the
>> wxWidget interface is not responsive and
On Wed, Mar 11, 2009 at 3:52 AM, Николай wrote:
> 2009/3/10 BRUNIER COULIN Daniel (OPEN CASCADE)
> :
>> I'm glad to see this activity on such project because I've tried 6 years
>> ago to convince OPEN CASCADE (the company) to develop such component,
>> without any success.
>>
>> For my information
On Wed, Mar 11, 2009 at 3:52 AM, Николай wrote:
> 2009/3/10 BRUNIER COULIN Daniel (OPEN CASCADE)
> :
>> I'm glad to see this activity on such project because I've tried 6 years
>> ago to convince OPEN CASCADE (the company) to develop such component,
>> without any success.
>>
>> For my information
Hey all,
I have some tricks that I've been using. I've got most everything
nearly working. I have notes available:
http://heybryan.org/books/Manufacturing/pythonocc/scons_notes.txt
http://heybryan.org/books/Manufacturing/pythonocc/python-setup.py-install.notes.txt
List of all *_headers.i files t
66 matches
Mail list logo