OpenShapeFactory OCC for Beginners

To Anyone Interested,

OPenShapeFactory: http://code.google.com/p/openshapefactory/

I have opened up a repository of a software i have been working on for testing ideas of Parametric Design as part of my PHD Thesis @ the Spatial information Architecture Laboratory in RMIT University, I am calling it the OpenShapeFactory in lue of the the Catia HybridShapeFactory, Using the visual basic Api's you get programmatic access to the catia kernel up-to a certain limit and then you need to use the CAA tools in c++. If i was to invest time in learning c++ to gain a greater access to the underlying geometrical kernel then might as well do it in a open framework such as OCC. This is mostly for executing small scripts for solving geometrical problems, i.e:. paneling a surface with a fix number of panels as an example, similar to the concept of Processing.org. or the Rhino plugin Grasshopper.

This project started on top of the QT Opencascade project developed by Peter Dolby, and its a adaptation of many snippets of code found around the web, on this forum and from other projects as well as my own contribution, mainly the HSF library and the Visual Cortex of the Software allowing the insertion of draggable Widgets on a 2d diagramatic surface, the widgets can be made by hand in QtDesigner or through code.

My PhD is funded through an ARC Discovery Grant titled "Challenging the Inflexibility of the flexible Digital Models" with the goal of understanding the counter intuitive inflexibility in parametric models, as used in the architecture industry , and their inability in some cases to easily adapt to design semantic changes in the model without major restructuring of the Node Graph.

The Project is on an Infancy stage, and will be supported minimally, as i am currently working on the thesis, but every now and then, i will be committing and contributing to the repository as time becomes available, and hopefully it will become autonomous at some stage.

At the moment the project needs a little bit of work to make it work on any machine and any system, ill fix it so that it compiles on any windows machine using visual studio 2005-2008 at least, the rest ill leave it open for contributions.

Best,

AlexP

P Dolbey's picture

I was curious to see what changes you had made to QtOCC, but haven't been able to view the source yet in your codeplex site - is this available.

Good luck with this project,

Pete

p.s. Its Dolbey (with an 'e')

AP's picture

Hi Peter,

Sorry for the Name Typo, I Didn't change much of your original code, maybe you could do a diff on it, I did some minor changes to make it work originally, and added some members, and Daniel wrote a singleton pattern for the Main Window, I could have linked against it without edits , I decided to embed-it in the project just in case i needed to make changes in the future.

I was pruning the repository,it should be up in minute.
Thanks for the QtOCC by the way, it was my training wheels, still on them.

Best,

AlexP

P Dolbey's picture

Cheers Alex,

I may get back to developing some of the ideas I had for QtOCC in the near future, as I'm likely to be off work for a while for medical reasons. But first need to get OCE compiled up and working.

Pete

AP's picture

Here is a demo video showing the project in action:
http://www.youtube.com/watch?v=dgsu6xTAvMY&feature=player_embedded#!

Hope all is well with you Peter, great news you will return to the QtOCC project.

Best,

AlexP