[Pythonocc-users] pythonocc october cleanup - Part 1: the mailing list

2014-10-28 Thread Thomas Paviot
Hi, The current mailing list is a legacy of the forge that hosted first pythonocc developments. It's time to move to some more modern usergroup management system. The new place to discuss about pythonocc is now: http://groups.google.com/group/pythonocc/about. Posts will be sent to the following e

Re: [Pythonocc-users] Ccad Windows installation

2014-09-26 Thread Thomas Paviot
I do. I started reviewing the code. So far the graphical part/unittest does not work, I will push some fixes to the repository in the coming days. Regards, Thomas 2014-09-26 14:55 GMT+02:00 Charles Sharman : > With considerable help from Doug, ccad now works on Windows. The master > branch now

Re: [Pythonocc-users] Compatibility OCE & PythonOCC

2014-04-17 Thread Thomas Paviot
2014-04-17 15:18 GMT+02:00 Steven Zalek : > Hi, Mark: > > I like your approach. I'd like to better understand its capabilities. I > think it would work well for development, where a developer is trying to > slowly port from one newly-improved library: e.g. OCE-0.1x to OCE-0.1y, etc. > > Would this

Re: [Pythonocc-users] Compatibility OCE & PythonOCC

2014-04-11 Thread Thomas Paviot
gt; Is it possible to switch between version, or do you simply have 2 sources > of OCE compiled, which you re-install before hacking ( on 0.14 in this > case )? > > I'm curious if you have some tips... > > -jelle > > > > On Fri, Apr 11, 2014 at 3:07 PM, Thomas Pavi

Re: [Pythonocc-users] Compatibility OCE & PythonOCC

2014-04-11 Thread Thomas Paviot
Hi, Current pythonocc master compiles with oce-0.12. tp/oc-0.14 is an attempt to port pythonocc to oce-0.14 Thomas 2014-04-11 12:17 GMT+02:00 Pierre Benjamin : > Hello, > > With the last version of pythonOCC, what is the right version of OCE? > With the last version of OCE, I can't compile due

Re: [Pythonocc-users] Status of PythonOCC and OCE version 0.15

2014-03-10 Thread Thomas Paviot
2014-03-11 5:30 GMT+01:00 Cory Cohen : > Hello Thomas and others, > > I recently tried to update my version of OCE to the latest tip at GitHub, > and while OCE built fine, it appears that the latest version of PythonOCC > is not compatible with OCE versions more recent than 0.12. > > I was a bit s

Re: [Pythonocc-users] Becoming proficient in PythonOCC

2014-01-28 Thread Thomas Paviot
Dear Michaël, So far, there's not any pythonocc specific training material available. The only way for you to get familiar with it is to learn from the examples. I agree it's not the best way, but I had no time to produce any material (such an effort is a huge task), and I never planned any traini

Re: [Pythonocc-users] New Kubos backend - "An advanced version of pythonOCC's SimpleGui"

2014-01-10 Thread Thomas Paviot
2014/1/10 Marko > 2014/1/10, Thomas Paviot : > > 2014/1/10 Marko > > > >> 2014/1/10, Thomas Paviot : > >> > 2013/12/30 Marko > >> > > >> >> As you probably know, I'm developing a simple CAD application (Kubos) > >>

Re: [Pythonocc-users] New Kubos backend - "An advanced version of pythonOCC's SimpleGui"

2014-01-10 Thread Thomas Paviot
2014/1/10 Marko > 2014/1/10, Thomas Paviot : > > 2013/12/30 Marko > > > >> As you probably know, I'm developing a simple CAD application (Kubos) > >> based on pythonOCC. > >> > >> My application was originally based on the "SimpleGu

Re: [Pythonocc-users] New Kubos backend - "An advanced version of pythonOCC's SimpleGui"

2014-01-10 Thread Thomas Paviot
2014/1/9 Charles Sharman > Hi Marko, > > Thanks for all your work on Kubos, the scripting, and the viewer. I > couldn't > view the youtube viewer video, and I haven't spent the time to try it. > However, I could view the Kubos video, and it's a good start. Thanks for > your work. > > I too have

Re: [Pythonocc-users] New Kubos backend - "An advanced version of pythonOCC's SimpleGui"

2014-01-10 Thread Thomas Paviot
2013/12/30 Marko > As you probably know, I'm developing a simple CAD application (Kubos) > based on pythonOCC. > > My application was originally based on the "SimpleGui" module which > comes with pythonOCC. In the past I have essentially developed a more > sophisticated version of SimpleGui which

Re: [Pythonocc-users] installing pyOCC on OS X (10.9)

2013-12-20 Thread Thomas Paviot
2013/12/20 Doug Blanding > I have been happily using pyOCC on my Windows7 desktop and had no idea how > difficult it was going to be to install it on the MacBook Pro. Holy smokes! > I’ve been working on this for days and still haven’t got it. I am using > python 2.7.5. I have been able to install

Re: [Pythonocc-users] Compilinig PythonOCC on CentOS

2013-12-19 Thread Thomas Paviot
There's actually some ongoing refactoring work, the 'Stretch' issue is a regression. The fix is in a branch that is not merged yet. Thomas 2013/12/19 jelle feringa > It looks like your executing the tests in a strange location: your math > module is not found for instance. > Try running the t

Re: [Pythonocc-users] Compilinig PythonOCC on CentOS

2013-12-18 Thread Thomas Paviot
2013/12/18 Michael Klitgaard > Hi, > > I'm trying to getting PythonOCC to compile on CentOS 6.3. > > I have installed smesh and OCE through packagas in rpmfusion.org, I also > took freecad, as it might take in some dependencies. > > freecad-0.13-4.el6 > freecad-doc-0.13-4.el6 > smesh-5.1.2.2-8.sv

Re: [Pythonocc-users] BRepAlgoAPI_Fuse() doesn't seem to be working

2013-12-07 Thread Thomas Paviot
roblem I am having is: BRepAlgoAPI_Fuse() doesn't seem to work. (See > code appended below.) > > As I searched for an answer, I came across an old solution written by > Thomas Paviot at: > > > http://pythonocc.googlecode.com/svn-history/r72/trunk/tests/test_makebottle.pybut > t

Re: [Pythonocc-users] Task on elance.com

2013-12-06 Thread Thomas Paviot
2013/12/2 Michael Klitgaard > Hi everyone, > > I don't know if it is bad to post here, but my employer have put a task on > elance.com about converting a CAD model to a voxel. > I would preferable have this done in PythonOCC if I am to support it later. > > > https://www.elance.com/j/voxelize-cad

Re: [Pythonocc-users] perspective in PythonOCC 0.5

2013-09-18 Thread Thomas Paviot
2013/9/13 Mark Blome > Hi Tomas, > > to me it looks like support for this would need to be implemented in > pythonocc/src/wrapper/Visualization/Display3d.cpp > something along the lines of replacing > myV3dView = myV3dViewer->CreateView(); > with > myV3dViewer->DefaultPerspectiveView () ; > myV

Re: [Pythonocc-users] compiling issue - missing file

2013-09-18 Thread Thomas Paviot
2013/9/18 Tomáš Létal > Hi, > > I tried to compile PythonOCC on Ubuntu, and encoutered this error: > > In file included from > /home/tomas/PythonOCC/pythonocc-master/src/contrib/geom-6.3.1.8/src/NMTDS/NMTDS_ShapesDataStructure.ixx:22:0, > from > /home/tomas/PythonOCC/pythonocc-ma

Re: [Pythonocc-users] Segmentation fault in init_display()

2013-05-15 Thread Thomas Paviot
2013/5/15 Uwe Schlifkowitz > Hello all, > > I installed oce-0.12 and pythonocc from the pythonocc-master zip archive. > Now i have a segmentation fault when trying to display something. The > output is attached below. > > Has anyone experienced similar? > I wonder if this is the result of simply

Re: [Pythonocc-users] How to replace Fillet/Chamfer with sharp edge

2013-05-10 Thread Thomas Paviot
2013/5/10 Zhi Li > Dear all, > > Thank you in advance for any advice. > > Given a.stp, how to replace fillet/chamfer with sharp edge, then output > b.stp? > > If pythonocc support this,a minimal demo would be appreciated. > Any other advice is also helpful. > > Automated removal of fillets/chamfe

Re: [Pythonocc-users] pythonocc-0.6-beta tagged

2013-05-09 Thread Thomas Paviot
Hi Vin, It's an issue related to oce-0.12 that was fixed in the latest OCCT release. With the current oce master (oce-0.13-dev), the result is the one expected. Regards, Thomas 2013/5/7 Thomas Paviot > Hi Vin, > > I can reproduce the 2 issues your report. > > I have no e

Re: [Pythonocc-users] pythonocc-0.6-beta tagged

2013-05-07 Thread Thomas Paviot
Hi Vin, I can reproduce the 2 issues your report. I have no explanation about the GeomAPI_IntSS issue. It may come from some changes to OCE between releases 0.11 and 0.12. Your test case may have to be reduced to some atomic code, ported to C++ and integrated into the OCE test suite. The unittes

[Pythonocc-users] pythonocc-0.6-beta tagged

2013-05-06 Thread Thomas Paviot
Hi, After a lot of Jelle's recent work was merged, I tagged pythonocc-0.6-beta. Here is a summary of recent changes: CHANGES FROM 0.6-alpha2 to 0.6-beta - massive examples clean-up and fixes - improvements to the KBE subpackage - fixes and improvements to the viewer - updated trait support to 4.3

Re: [Pythonocc-users] Problems with TColgp after new compilation of PythonOCC on Ubuntu 10.04

2013-05-03 Thread Thomas Paviot
2013/5/3 Thore Oltersdorf > Dear Python-OCC Community. > > We have compiled a new version of PythonOCC (pythonocc-0.6-alpha2) on > Ubuntu 10.04. > All dependencies were updated by still available deb-packages and - if not > available - by manual compilation/installation. > Flags were set properly

Re: [Pythonocc-users] add smesh to pythonOCC-0.6-alpha2-win32-py27.exe

2013-05-02 Thread Thomas Paviot
2013/5/2 Zhi Li > hi mailing list, > > I downloaded pythonOCC-0.6-alpha2-win32-py27.exe from > http://code.google.com/p/pythonocc/downloads/list and want to use smesh > feature, but my old project prompted "_mod = imp.load_module('_SMESH', fp, > pathname, description) > ImportError: DLL load fail

Re: [Pythonocc-users] GC_MakeArcOfCircle

2013-04-12 Thread Thomas Paviot
Le 13 avr. 2013 03:18, "Marko" a écrit : > > 2013/4/12, Vin Yovanovich : > > For the case from opencasade > > GC_MakeArcOfCircle (const gp_Circ &Circ, const gp_Pnt &P1, const gp_Pnt &P2, > > const Standard_Boolean Sense) > > > > > > I cannot figure out what to use for the last argument. > > > > In

Re: [Pythonocc-users] GC_MakeArcOfCircle

2013-04-12 Thread Thomas Paviot
2013/4/12 Vin Yovanovich > For the case from opencasade > > GC_MakeArcOfCircle (const gp_Circ &Circ, const gp_Pnt &P1, const gp_Pnt &P2, > const Standard_Boolean Sense) > > > I cannot figure out what to use for the last argument. > > In pythonOCC: GC_MakeArcOfCircle(circ3d,pnt2,pnt3, ?) > > >

[Pythonocc-users] pythonocc-0.6-alpha2

2013-04-12 Thread Thomas Paviot
Dear all, pythonocc-0.6-alpha2 was just tagged. Changes from 0.6-alpha : * fixed GEOM wrapper * added InnoSetup script for Win packaging * fixes in the CMake builder * added Airfoil example * added native OSX cocoa-support (succesfully tested with PyQt and wxPython on OSX 10.6.8/Cocoa) * fixed loc

Re: [Pythonocc-users] export images

2013-04-11 Thread Thomas Paviot
2013/4/11 Vin Yovanovich > I have a list of shapes and I can dump a few views of them (bellow). > However, is it possible to obtain images without actually displaying the > views so that my application can work in a non-graphical mode? > No it's not. Thomas

Re: [Pythonocc-users] SMESH algorithms

2013-04-09 Thread Thomas Paviot
Hi, For your information, I tried hard to get Mark's contribution working fine but I failed because of the many dependencies on which this smesh version relies. I didn't manage to cut off the dependency upon VTK, and I gave up: I don't want the small smesh addition to pythonocc require 2 or 3 addi

Re: [Pythonocc-users] pythonOCC on Windows 7 issues

2013-04-08 Thread Thomas Paviot
Hi Vin, You can easily download oce sources without looking into commits. oce releases are tagged, see https://github.com/tpaviot/oce/tags to download either a tar.gz or zip file archive. Note that, if you run Windows, precompiled binaries are available at https://github.com/tpaviot/oce/tags(inclu

Re: [Pythonocc-users] pythonOCC on Windows 7 issues

2013-04-07 Thread Thomas Paviot
2013/4/3 Vin Yovanovich > Hi Thomas, > > I meant one issue with linking Sketcher.i (I did geom project). There > were some warnings with swig not being able to treat overloading. > > My cmake fix is not really a proper fix but rather a simple way to make it > work. The problem was with > > INST

Re: [Pythonocc-users] New post - Using external airfoil data to create a solid wing

2013-04-05 Thread Thomas Paviot
2013/4/4 Thomas Paviot > 2013/4/4 Thomas Paviot > >> 2013/4/2 Guillaume Florent >> >>> Thomas Paviot writes: >>> >>> > >>> > >>> > Hi Guillaume, >>> > Can we add this script to the list of examples ? >&g

Re: [Pythonocc-users] New post - Using external airfoil data to create a solid wing

2013-04-04 Thread Thomas Paviot
2013/4/4 Thomas Paviot > 2013/4/2 Guillaume Florent > >> Thomas Paviot writes: >> >> > >> > >> > Hi Guillaume, >> > Can we add this script to the list of examples ? >> > >> > Regards, >> > >> > Thomas &

Re: [Pythonocc-users] New post - Using external airfoil data to create a solid wing

2013-04-04 Thread Thomas Paviot
2013/4/2 Guillaume Florent > Thomas Paviot writes: > > > > > > > Hi Guillaume, > > Can we add this script to the list of examples ? > > > > Regards, > > > > Thomas > > > > > > > > 2013/4/1 Guil

Re: [Pythonocc-users] write Element ID to STEP file

2013-04-03 Thread Thomas Paviot
2013/4/3 Uwe Schlifkowitz > Dear pythonOCC users, > > i want to convert a Nastran BDF file to STEP file format. This is what i > did so far: > > 1. Read BDF file and store as dictionary > 2. Find all 3-node and 4-node elements, convert to wires > 3. Save as STEP file. > > This works as expected.

Re: [Pythonocc-users] pythonOCC on Windows 7 issues

2013-04-01 Thread Thomas Paviot
2013/4/2 Vin Yovanovich > I installed pythonOCC from master (3/28/2013) using a OCE 0.12 which I > compiled from sources. > Hi Vin, Thank you for this report. > There were some issues with linking at one project so I had to comment in > Sketcher.i code > With "some issues", do you mean many

Re: [Pythonocc-users] New post - Using external airfoil data to create a solid wing

2013-04-01 Thread Thomas Paviot
Hi Guillaume, Can we add this script to the list of examples ? Regards, Thomas 2013/4/1 Guillaume Florent > Dear PythonOCC Friends, > > I added a post (http://pythonocc.wordpress.** > com/2013/04/01/using-external-**airfoil-data-to-create-a-**solid-wing/

Re: [Pythonocc-users] Embed OCCViewer in a QTabWidget

2013-03-29 Thread Thomas Paviot
2013/3/29 Kene Meniru > Mark Blome wrote: > > > > > Hi Kene, > > > > I had a similar issue with OCC display initialization (I use tabs in my > > application, each of which contains a QtGui.QMainWindow). > > > > Hi Mark: > > Thanks for the reply and your solution. I was beginning to feel like I wa

Re: [Pythonocc-users] PAF problem on Ubuntu 12.04

2013-03-22 Thread Thomas Paviot
2013/3/20 Guillaume Florent > Hi, > Hi Guillaume, > > Has anybody ran into this problem for the PAF examples on Ubuntu: > > Traceback (most recent call last): > File "test_box_booleans_fillets.py", line 1, in > from OCC.PAF.Context import ParametricModelingContext > File "/usr/local/

Re: [Pythonocc-users] Kubos: a simple open source 3D modeller based on pythonOCC

2013-03-22 Thread Thomas Paviot
2013/3/22 Marko > Hi everyone! > > I'm currently writing a simple CAD application based on PythonOCC for > my university thesis. (I'm studying for becoming a teacher in maths > and geometry). The application itself is almost complete: You can > watch a demonstration video at [1]. However, I will

Re: [Pythonocc-users] What is the easiest way to install latest pythonOCC on Ubuntu 12.04 LTS?

2013-03-20 Thread Thomas Paviot
just follow this tutorial but replace oce-0.11 with oce-0.12. Thomas 2013/3/20 Dave Cowden > this is awesome ! thanks! > > > On Wed, Mar 20, 2013 at 4:02 PM, Thomas Paviot wrote: > >> 2013/3/20 Thomas Paviot >> >>> 2013/3/19 Dave Cowden >>> >

Re: [Pythonocc-users] What is the easiest way to install latest pythonOCC on Ubuntu 12.04 LTS?

2013-03-20 Thread Thomas Paviot
2013/3/20 Thomas Paviot > 2013/3/19 Dave Cowden > >> I'd of course love to try 0.6, but 0.5 would work also. >> >> Has anyone done this? >> >> > So far, the easiest way is to download/install oce-0.12 and git > clone/build/install python occ mas

Re: [Pythonocc-users] What is the easiest way to install latest pythonOCC on Ubuntu 12.04 LTS?

2013-03-20 Thread Thomas Paviot
2013/3/19 Dave Cowden > I'd of course love to try 0.6, but 0.5 would work also. > > Has anyone done this? > > So far, the easiest way is to download/install oce-0.12 and git clone/build/install python occ master. I used to work with Ubuntu 12.04 without any problem, Linux is the easiest platform

Re: [Pythonocc-users] Pythonocc build question

2013-03-19 Thread Thomas Paviot
2013/3/19 D. Barbier > On 2013/3/15 Cavendish McKay wrote: > > Hello, > > > > I'm starting out with pythonocc and have a basic question about > > installing. I'm assuming it's because I'm not very familiar with cmake. > > I'm building on OS X 10.8. Everything builds just fine, but in the > > i

[Pythonocc-users] Scientific paper citing pythonocc

2013-03-19 Thread Thomas Paviot
Dear all, Vincent Acary, from INRIA Rhones-Alpes, just published a paper that makes use of pythonocc for the experimental part: Acary, V. (2013) Projected event-capturing time-stepping schemes for nonsmooth mechanical systems with unilateral contact and Coulomb’s friction. Comput. Methods Appl. M

Re: [Pythonocc-users] Viewing Shapes from the python prompt -- potential pythonocc-0.6-alpha bug

2013-03-15 Thread Thomas Paviot
2013/3/14 Thomas Paviot > Hi Charles, > > 2013/3/14 Charles Sharman > >> I circumvented the problem by modifying OCCViewer.py. I removed the >> OCCViewer.Viewer3d inheritance of OCC.Visualization and directly called >> the >> OCC.Visualization equivale

Re: [Pythonocc-users] Viewing Shapes from the python prompt -- potential pythonocc-0.6-alpha bug

2013-03-14 Thread Thomas Paviot
Hi Charles, 2013/3/14 Charles Sharman > I circumvented the problem by modifying OCCViewer.py. I removed the > OCCViewer.Viewer3d inheritance of OCC.Visualization and directly called the > OCC.Visualization equivalents within OCCViewer.Viewer3d itself, being very > careful to call handles shortl

Re: [Pythonocc-users] [oce-dev] followup: master build breaks PythonOCC

2013-03-03 Thread Thomas Paviot
2013/3/3 > as alluded to in a previous post, I've tried changing the BOP.i swig > wrapper file in PythonOCC to include the new parameter, like so: > > orig [line 2057]>> Standard_Boolean SplitFace(const Standard_Integer > theFaceIndex, TopTools_DataMapOfShapeInteger & theMapOfEdgeIndex, > TopTool

[Pythonocc-users] pythonocc and 3D printers blog

2013-02-27 Thread Thomas Paviot
Dear all, Guillaume Florent just started a new blog dedicated to pythonocc basics : http://pythonocc.wordpress.com/. Glad to see that someone finally started something we should have done for a while. Guillaume needs some feedbacks or suggestions, feel free to contact him or comment his posts to s

[Pythonocc-users] pythonocc-0.6-alpha tagged

2013-01-17 Thread Thomas Paviot
Dear all, I'm pleased to announce that I just tagged the very first pre-0.6 release known as "0.6-alpha". The previous pythonocc stable release (0.5) is two years old. Did the pythonocc projet sleep for two years? Not really, here is what happened, and what is going to happen from now. 1. Depend

Re: [Pythonocc-users] Projection of a 3D shape on plane

2012-10-16 Thread Thomas Paviot
Hi Fabien, This video was generated from an old script that was removed from the set of examples. It was intended to test the plot driver, but it never worked. The plane projector is working though, you can still access the code at the URL: https://github.com/tpaviot/pythonocc/blob/0.4/src/sample

Re: [Pythonocc-users] Where is geom?

2012-10-02 Thread Thomas Paviot
2012/10/1 jelle feringa > > But, there is no such directory. Do I assume the INSTALL file is in error >> and >> proceed to the next step? >> > > This is awkard indeed. Is see that a newer version of GEOM > was committed than removed [1]. > Thomas, can you please comment on that? I think that the

Re: [Pythonocc-users] Updates on PythonOCC

2012-08-17 Thread Thomas Paviot
that must be identical. > In an older post, we already discussed licensing issues between PyQt (GPLed) and pythonOCC (LGPLed). A possible solution is to move to pyside (LGPLed) for the pythonocc/Qt support. Did you experiment pyside ? on OSX? Regards, Thomas > > > Am 16.08.2012 um 09:14 s

Re: [Pythonocc-users] Updates on PythonOCC

2012-08-17 Thread Thomas Paviot
2012/8/17 jelle feringa > I think (but I'm not sure), that removing the __hash__ method introduces >> some regression. >> > > A solid test for __hash__ is critical. One needs to be able to compare > TopoDS_* instances for example, and I recall having some issues in the past > with the hashes. > A

Re: [Pythonocc-users] Updates on PythonOCC

2012-08-16 Thread Thomas Paviot
being absent in OCCT Standard_Transient and > Standard_Persistent classes > I'm on the latest version of PythonOCC: > > In [1]: from OCC.Standard import * > In [2]: print Standard_Transient.HashCode > > > 2) there's a boost version in our tree: > https://

Re: [Pythonocc-users] Problems with 2D Visualization

2012-08-13 Thread Thomas Paviot
2012/8/13 Charles Sharman > I discovered the issue. I wasn't copying the TCL calls closely enough. > > After this line in OCCViewer.py: > > shape_to_display = OCC.AIS2D.AIS2D_ProjShape(proj, 0, 0, 0) > > I added the following line: > > handle_shape_to_display = > OCC.AIS2D.Handle_AIS2D_ProjShape

Re: [Pythonocc-users] Question about installing pythonOCC

2012-07-05 Thread Thomas Paviot
Hi Lior, There should be some _*.pyd files in your C:\Lib\site-packages\OCC\ folder. OpenCascade dlls have either to be in your PATH env var or in the same folder than *.pyd libraries. Regards, Thomas 2012/7/5 Lior Margalit > The dll is just not there... > The same with the dlls used in other

Re: [Pythonocc-users] ANN: occmodel - simplified wrapper for OpenCASCADE

2012-06-29 Thread Thomas Paviot
2012/6/28 Runar Tenfjord > occmodel is a small selcontained library which gives a > high level access to the OpenCASCADE modelling kernel. > > For most users a direct use of the OpenCASCADE modelling > kernel can be quite a hurdle as it is a huge library. > > Most of the code have been adapted fr

Re: [Pythonocc-users] [oce-dev] New 0.10.1 release cycle

2012-06-11 Thread Thomas Paviot
2012/6/11 jelle feringa > As soon as OCE-0.10 was released, a new release cycle 0.10.1 was started. >> I suggest this new development stage to be focused on fixes only (bugfixes, >> compiler warning fixes, missing modules). >> > > Hi Thomas, > > In PythonOCC we cannot use the voxel module [ you h

Re: [Pythonocc-users] Decompose BSpline to arcs and lines?

2012-03-15 Thread Thomas Paviot
2012/3/14 Dave Cowden > Hi, all ( especially Jelle ): > > I'm trying to solve a problem i just know someone else has solved: > converting a bspline into arcs and lines. ( Actually in my case i have a > list of points, through which I am interpolating a bspline-- so i could > skip that step actua

[Pythonocc-users] RE : Re: Working with python and STEP

2012-03-08 Thread Thomas Paviot
ny file(s) known to git. $ git branch * master $ --**--**- Am I doing something wrong? Cheers, Steve On 01/11/2012 02:15 AM, Thomas Paviot wrote: > > > Hi, > > This message might be off-top

[Pythonocc-users] Working with python and STEP

2012-01-11 Thread Thomas Paviot
Hi, This message might be off-topic, but those of you using to work with python and STEP/EXPRESS product data will perhaps be interested in the python generator I contributed to the StepClassLibrary project [1][2]. This early release was announced [3] yesterday. A wiki entry [4] introduces the pro

Re: [Pythonocc-users] Python OCC and Win64 compilation

2012-01-11 Thread Thomas Paviot
2012/1/10 Kermit > Hi, > > i've try to compile Python OCC with VS2010, Win64 and Python 2.7 > > compilation and build of OCE-bundle OK > compilation and build of OCE ( fresh git ) OK > > but for compilation of pythonocc, i've this error : > fatal error C1083: Cannot open include file: 'Standard_S

Re: [Pythonocc-users] Opencascade and PyQt: Possible license incompatibilities, (Open CASCADE Technology Public License vs GPL)

2012-01-06 Thread Thomas Paviot
2012/1/6 jelle feringa > I do think that just writing: >> 'from PyQt4 import QtCore' >> is enough for your code to fall under PyQt license, that is to say the >> GPL license (but I'm not sure about that). >> > > I'm happy we moved to LGPL Thomas ;) > > >> Hence the Pyside / PyQt4 import abstracti

Re: [Pythonocc-users] Opencascade and PyQt: Possible license incompatibilities, (Open CASCADE Technology Public License vs GPL)

2012-01-06 Thread Thomas Paviot
2012/1/6 jelle feringa > The issue is then to *remove* any python code based upon PyQt from >> pythonocc. >> > > ? > Nope, I can write "from X import Y" whatever draconian licensing X uses. > That is code written by me, not X... > Of course you wrote the code, but you're not free to do whatever

Re: [Pythonocc-users] Opencascade and PyQt: Possible license incompatibilities, (Open CASCADE Technology Public License vs GPL)

2012-01-05 Thread Thomas Paviot
2012/1/5 jelle feringa > No. pythonocc has moved from GPL to LGPL after a long discussion and after >> balancing pros and cons. It won't move back to GPL again and will remain >> distributed under the LGPLv3. I don't want to change the license every year. >> > > +1 > GPL is much in demise anyways

Re: [Pythonocc-users] Opencascade and PyQt: Possible license incompatibilities, (Open CASCADE Technology Public License vs GPL)

2012-01-05 Thread Thomas Paviot
2012/1/5 Oliver Borm > > So in essence this problem was introduced with the license change of > pythonOCC from GPL to LGPL last year. We have already discussed this > change on this list, but it would theoretical be possible to change the > license of pythonOCC again to GPL in order to resolve th

Re: [Pythonocc-users] Opencascade and PyQt: Possible license incompatibilities (Open CASCADE Technology Public License vs GPL)

2012-01-05 Thread Thomas Paviot
2012/1/5 MilošKomarčević > Thomas Paviot writes: > > Of course it's the best and easier solution. pythonocc actually uses a > ridiculous number of Qt features (only creating a window, a simple menu, > catching events). I've been monitoring the PySide project since it w

Re: [Pythonocc-users] Opencascade and PyQt: Possible license incompatibilities (Open CASCADE Technology Public License vs GPL)

2012-01-05 Thread Thomas Paviot
2012/1/5 Marko Knöbl > Hi! I'm new to pythonOCC. So far learning and working with pythonOCC has > been > a really great experience, so I want to say thank you to everyone who has > contributed to this project! > Hi Marko, Thank you for your support! A short reply to your questions, I'm not rea

Re: [Pythonocc-users] Getting a Dump of TopoDS shapes

2011-12-27 Thread Thomas Paviot
2011/12/27 Charles Sharman > Cowdens writes: > > > > > Hi, Charles: > > > > The method you are using dumps a text representation of your shape onto a > > stream. It works, but I suspect it is not what you are looking for. > > > > Try looking at OCC's samples-- you want something like this: > > >

Re: [Pythonocc-users] Why pythonocc is so big ?

2011-12-15 Thread Thomas Paviot
2011/12/15 MilošKomarčević > Thomas Paviot writes: > > > > > > Hi Henning,From the current pythonocc master branch on github, you can > select, > from the cmake installer, the wrapper you want to compile. It's then > actually > possible to cutomize your own

Re: [Pythonocc-users] Why pythonocc is so big ?

2011-12-13 Thread Thomas Paviot
se it will be impossible to determine the "100 or so most used classes and methods" (by who? in which context?). Thomas 2011/12/13 Henning Meyer > BTW: would it make sense to create a pythonocc-light just covering the 100 > or so most used classes and methods? > Am 13.12.2

Re: [Pythonocc-users] Why pythonocc is so big ?

2011-12-12 Thread Thomas Paviot
2011/12/12 Sébastien Ramage > Hi ! > > I just compile OCE 0.8 and the last pythonocc 0.6dev and everything is > fine but I'm very surprised about the size of pythonocc. > OCE takes around 300Mo and pythonocc too... > PythonOCC is "just" a wrapper so why does it take so much space ? > > > Seb > >

[Pythonocc-users] RE : Re: Wireframe/solid generation

2011-12-08 Thread Thomas Paviot
Did you try to cast the compound to a TopoDS-Solid? Thomas - sent from my Android phone Le 8 déc. 2011, 10:07 AM, "Jayesh Salvi" a écrit : After more investigation of why NotDone is thrown, I have found some info. The Fuse operation has ErrorStatus() function on it. I found that it returns the

Re: [Pythonocc-users] Keyboards shortcuts

2011-12-06 Thread Thomas Paviot
Hi Vincent, Keyboard shortcuts are defined in the GUI backends (qtDisplay.py, wxDisplay.py etc), using the _SetupKeyMap method (see https://github.com/tpaviot/pythonocc/blob/master/src/addons/Display/qtDisplay.py#L115 ). You can for instance create a class that inherits from the backend (for inst

Re: [Pythonocc-users] Viewing a STEP file

2011-12-04 Thread Thomas Paviot
How did you get it working? I've never find any wxPython/X11 on OSX. Thomas 2011/12/5 Vincent Acary > Here are the info: > > wxPython on Apple MacOsX 10.6.8 Snow leopard. OpenCASCADE/6.3.0.pythonocc 0.5 > > Vincent > > Le 4 déc. 2011 à 21:35, Thomas Paviot a écrit

Re: [Pythonocc-users] Viewing a STEP file

2011-12-04 Thread Thomas Paviot
le to manpulate it with the mouse button > > > Vincent. > > Le 4 déc. 2011 à 00:55, Thomas Paviot a écrit : > > Ok. The correct code should be: > > for i in range(1,nbs+1) : > pAis=AIS_Shape( step_reader.Shape( i )).GetHandle() > display.Conte

Re: [Pythonocc-users] Viewing a STEP file

2011-12-03 Thread Thomas Paviot
( step_reader.Shape( i ),Quantity.Quantity_NOC_DARKVIOLET) Thomas 2011/12/3 Vincent Acary > Cher Thomas, > > It works perfectly well ! Something was wrong perhaps in my cast. > > Thank you very much > > Vincent > Le 3 déc. 2011 à 16:25, Thomas Paviot a écrit : >

Re: [Pythonocc-users] Viewing a STEP file

2011-12-03 Thread Thomas Paviot
2011/12/3 Vincent Acary > Dear pyhtonocc users, > > I use the following file script to try to us view a STEP file, byt nothing > appear ? > > Do you have an idea where is my (huge) mistake ? > > Is there an equivalent example in the repository ? > > Vincent > > from OCC.BRepPrimAPI import * > fro

Re: [Pythonocc-users] Wireframe/solid generation

2011-11-30 Thread Thomas Paviot
2011/11/30 Thomas Paviot > 2011/11/30 Jayesh Salvi > >> Thomas, >> >> Is there a way to do this other way around? i.e. if I have mesh >> information how do I convert it to Solid. >> > > I think we should have a look at the STL Importer implem

Re: [Pythonocc-users] Wireframe/solid generation

2011-11-30 Thread Thomas Paviot
2011/11/30 Jayesh Salvi > Thomas, > > Is there a way to do this other way around? i.e. if I have mesh > information how do I convert it to Solid. > I think we should have a look at the STL Importer implemented in OCC. They actually convert mesh information into solids. > I think that's what Ch

Re: [Pythonocc-users] Wireframe/solid generation

2011-11-30 Thread Thomas Paviot
2011/11/30 Chris Jones > Jayesh Salvi writes: > > > > > Thomas, > > Is there a way to do this other way around? i.e. if I have mesh > information > how do I convert it to Solid. I think that's what Chris was asking too. > I've > tried to do it (here), but the solids I create do not behave correc

Re: [Pythonocc-users] Wireframe/solid generation

2011-11-29 Thread Thomas Paviot
2011/11/29 Chris Jones > Hi, > > I must say that I think the work being done by you guys is fantastic ! > > I have a requirement to generate a solid from a set of XYZ points which > represent > an open pit mining shell. > > I need to generate a solid of one wireframe/solid subtracted from the > a

Re: [Pythonocc-users] creating a surface mesh of a TopoDS_Shape

2011-11-23 Thread Thomas Paviot
> > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Pythonocc-users digest..." > > > Today's Topics: > > 1. Re: creating a surface mesh of a TopoDS_Shape (Engelbert Tijskens) > 2. Re: creating a surface mesh of a TopoDS_

Re: [Pythonocc-users] creating a surface mesh of a TopoDS_Shape

2011-11-22 Thread Thomas Paviot
ch the person managing the list at >pythonocc-users-ow...@gna.org > > When replying, please edit your Subject line so it is more specific than > "Re: Contents of Pythonocc-users digest..." > > > Today's Topics: > > 1. creati

Re: [Pythonocc-users] creating a surface mesh of a TopoDS_Shape

2011-11-21 Thread Thomas Paviot
2011/11/21 Engelbert Tijskens > I need to make a surface mesh from TopoDS_Shape objects which I could > extract from step files using pythonocc with relatively little effort :-). > I was hoping to create surface meshes from those objects with a little more > effort. Can someone give some hints wh

Re: [Pythonocc-users] Problems with examples using the OCAF tree.

2011-11-15 Thread Thomas Paviot
2011/11/15 Delerue Jean-Francois > Dear all, > > ** ** > > I installed theAll-In-One precompiled binaries version of pythonOCC with > Python 2.6. All examples run perfectly but I still have problems with 2 > examples using the OCAF tree: > > ** ** > > I cannot get running Level1\OCAF\topologi

Re: [Pythonocc-users] python-occ ppa for Ubuntu

2011-11-09 Thread Thomas Paviot
2011/11/9 Henning Meyer > 2011/11/2 Thomas Paviot : > > of course, let's proceed step by step. OCE-0.7.0 first, then pythonocc. > is python-occ [HEAD] confirmed to work fine with OCE-0.7.0? > The master branch should compile fine and all uni

Re: [Pythonocc-users] unit management in pythonOCC: meaning of error messages?

2011-11-09 Thread Thomas Paviot
2011/11/9 Pierre JUILLARD > Hi, > > I do not succeed using some functions of UnitsAPI. > > For instance, the following code: > > from OCC.UnitsAPI import * > import os > > if __name__ == '__main__': > > os.environ['CSF_CurrentUnitsDefaults']='L:\\programs\\pythonOCC\\0.5\\examples\\data\\unitConf

Re: [Pythonocc-users] unit management in OCC & doxygen documentation?

2011-11-04 Thread Thomas Paviot
2011/11/4 Pierre JUILLARD > Hi all, > > Thanks for your feedback, but I still feel lost :). > > *Denis*: > > > Same here in C++ with OCE, 3 resource files are not installed under > UnitsAPI (CurrentUnits MDTVBaseUnits MDTVCurrentUnits, the former is needed > in your test). > > I am not sure to nd

Re: [Pythonocc-users] unit management in OCC & doxygen documentation?

2011-11-04 Thread Thomas Paviot
2011/11/4 D. Barbier > On 2011/11/4 D. Barbier wrote: > [...] > > Same here in C++ with OCE, 3 resource files are not installed under > > UnitsAPI (CurrentUnits MDTVBaseUnits MDTVCurrentUnits, the former is > > needed in your test). > > Pierre, you can download > https://raw.github.com/tpaviot/o

Re: [Pythonocc-users] unit management in OCC & doxygen documentation?

2011-11-04 Thread Thomas Paviot
2011/11/3 Pierre JUILLARD > Hi Thomas, > Hi Pierre, > > Thank you for your answers. > > Following your advices, I had a look to the 52 posts on the OCC forum that > are returned when searching with the keyword "unit", but none are > interesting. They are either irrelevant, or without answer. >

Re: [Pythonocc-users] python-occ ppa for Ubuntu

2011-11-02 Thread Thomas Paviot
of course, let's proceed step by step. OCE-0.7.0 first, then pythonocc. Thank you for your contribution to both these projects. Thomas 2011/11/2 Henning Meyer > unfortunately there are some issues after a version bump of liboce. > But as soon as these are resolved I try to build packages for l

Re: [Pythonocc-users] CMake build system - Linux/Windows tests needed

2011-11-01 Thread Thomas Paviot
2011/10/25 Thomas Paviot > Hi all, > > These last days, I worked on porting the pythonocc installation system > from distutils to cmake. So far, I was able to successfully > compile/install/test on MacOSX SL64/OCE0.6.0. Before dropping the distutils > based current builder, I n

Re: [Pythonocc-users] WebGl backend branch needs testing

2011-11-01 Thread Thomas Paviot
2011/11/1 Thomas Paviot > Dear all, > > A while ago, I started working on a set of pythonocc/webgl demos (they are > still available at http://webgl.pythonocc.org). > > From this experience, I implemented these last days a webgl backend for > pythonocc. It is based up

Re: [Pythonocc-users] python-occ ppa for Ubuntu

2011-11-01 Thread Thomas Paviot
Has anyone else tested Henning's package? 2011/11/1 Thore Oltersdorf > Dear Henning. > > Would it be possible for you to add lucid lynx debs to your ppa? > Thanks in advance for your help! > > Kind regards, > Thore > > On 10/13/2011 12:00 PM, > pythonocc-users-request@gna.**orgwrote: > >> Send

Re: [Pythonocc-users] unit management in OCC & doxygen documentation?

2011-10-28 Thread Thomas Paviot
2011/10/28 Thomas Paviot > 2011/10/28 Thomas Paviot > >> 2011/10/28 Pierre JUILLARD >> >>> Hi, >>> >>> I am having trouble understanding Units. >>> I am working in pydev module of Eclipse. >>> >>> I could run successfully

Re: [Pythonocc-users] unit management in OCC & doxygen documentation?

2011-10-28 Thread Thomas Paviot
2011/10/28 Thomas Paviot > 2011/10/28 Pierre JUILLARD > >> Hi, >> >> I am having trouble understanding Units. >> I am working in pydev module of Eclipse. >> >> I could run successfully the "surfacic_mesh.py" to validate pythonOCC 0.5

Re: [Pythonocc-users] unit management in OCC & doxygen documentation?

2011-10-28 Thread Thomas Paviot
2011/10/28 Pierre JUILLARD > Hi, > > I am having trouble understanding Units. > I am working in pydev module of Eclipse. > > I could run successfully the "surfacic_mesh.py" to validate pythonOCC 0.5 > installation (while qt viewer is still displaying "pythonOCC 0.4 viewer" - > see enclosed pictur

  1   2   3   4   5   6   7   >