Hi Srecko, 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 have something running and a material ready to convince your boss.
I'm not sure you have to use the parametric framework. You can simply develop a python function that takes the 3 parameters and write the STEP file. You can also have this function in a python script that is launched from a pipe whenever needed. You can also split the solution on two different servers : the webserver and the 'cadserver', with a proper data exchange model/protocol (with RPC/XML for instance). Well, all that stuff depend on your needs, but everything is possible. To go further, I've been thinking for a while on a way to add a network layer to pythonOCC, over the OCC kernel. The XML/RPC sample was a first draft on how to exchange geometry, and I wish to go far beyond. We are about to launch a project untitled 'Network Enabled PythonOCC', and try to think about implementation of CAD Services/PLM Services/SOA/SaaS etc. It's a strategic necessity to enable pythonOCC being part of an heterogenous IT system (well, I confess interoperability issues in the PLM field are my guilty pleasure!). The implementation part of this work will be supported by a university. I will explain the details of this project (and 2 other ones) when it is about to start, in less than a couple of weeks if everything goes fine. Best Regards, Thomas 2010/2/10 Srecko <shreku...@gmail.com> > Pythonocc might be the thing I've been looking for for a long time. > > Let me give you a simple example of what I'm after. > Lets say my company sells simple metal rings with 3 parameters: OD (outside > dia), ID (inside dia) and thickness. If I have a web application (written in > Django) and a form with those three params, is it possible to use submitted > form, generate model on the server, make it a STEP file and email it to the > user. Visualization (GUI) is not required. Then user(customer) could take > that file and use it in their SolidWorks, Inventor etc. project as a part. > > Thanks > > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users