2011/11/21 Engelbert Tijskens <engelbert.tijsk...@biw.kuleuven.be>

> 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 where to start? I took a look at
>  pythonOCC\0.5\examples\Level1\SMESH but I find not enough explanation to
> become productive…****
>
> ** **
>
> Dr Bert Tijskens****
>
> Industrial research manager****
>
> DEM Research Group****
>
> Dept Biosystems, Div. MeBioS, K.U.Leuven****
>
>
>
Hi Bert,

What is exactly your need?  I'm not sure I clearly understand what you
described. What do you call a "surface mesh"? If your need it to import a
STEP file, convert it to a TopoDS_Shape and then mesh this shape in order
to get vertices/vertex index/faces, it is possible with blending the
SETPImport samples and the src/examples/Level1/Mesh/simple_mesh.py example.
You should have a look at the latter.

Please feel free to post here a sample STEP file as well as the python
source code.

Regards,

Thomas
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to