Hi there,
I am absolutely new to pythonocc. I just want to ask if it might suit
the task I am trying to solve, before digging too much into it...
So here we go:
There is an existing application, falling into the category of
"product configurators", that needs to be extended to suppport a 3D
view of the configurated product (it's just 2D untill now). One
component of that task is generating the 3D geometry dynamically.
That's where I thought pythonocc might come into play.
So the component should preferably be used as a command line programm,
accepting the product configuration as input and outputting a file
with the corresponding 3d geometry, preferably in Collada Format.
The needed 3d operations are:
- Adding geometry from existing files (no big deal)
- Transforming that geometry (translation, rotation, scaling) (no big
deal either I assume)
- creating new geometry by sweeping a surface, in this case by
rotating around the y axis (lathe tool)
- performing boolean operations (cut)
The output should be a relatively low poligon count mesh, suitable for
fast display with OpenGL on standard PC hardware (no fancy graphics
hardware), with different identifiable surface materials (the actual
shading can be definied later, as soon as the tool has done the job of
outputting the collada file. However the different parts of geometry
with different material types, e.g. metal, glass etc., must be
separatable). The file should be as I said in collada format, which is
not available out of the box form pythonocc as I understand, so maybe
some conversion from vrml to collada is necessary?
The whole process should not take substantialy more than a second,
preferably less, so it can be integrated in an interactive application
without delaying the user experience.
So can this be done with pythonocc, hopefully in an efficient and easy
manner?
Thanks a lot for your advice!
Simon
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users