OCC.Core.Tesselator module

class ShapeTesselator(ShapeTesselator self, TopoDS_Shape aShape) → ShapeTesselator

Bases: object

Compute(ShapeTesselator self, bool compute_edges=False, float mesh_quality=1.0, bool parallel=False)
ExportShapeToThreejsJSONString(ShapeTesselator self, char * shape_function_name) → std::string
ExportShapeToX3D(ShapeTesselator self, char * filename, int diffR=1, int diffG=0, int diffB=0)
ExportShapeToX3DIndexedFaceSet(ShapeTesselator self) → std::string
GetEdgeVertex(ShapeTesselator self, int iEdge, int ivert)
GetNormal(ShapeTesselator self, int inorm)
GetNormalsAsTuple(ShapeTesselator self) → vector_float
GetTriangleIndex(ShapeTesselator self, int triangleIdx)
GetVertex(ShapeTesselator self, int ivert)
GetVerticesPositionAsTuple(ShapeTesselator self) → vector_float
ObjEdgeGetVertexCount(ShapeTesselator self, int iEdge) → int
ObjGetEdgeCount(ShapeTesselator self) → int
ObjGetInvalidTriangleCount(ShapeTesselator self) → int
ObjGetNormalCount(ShapeTesselator self) → int
ObjGetTriangleCount(ShapeTesselator self) → int
ObjGetVertexCount(ShapeTesselator self) → int
VerticesList(ShapeTesselator self) → float *
property thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
property thisown

The membership flag

value()
class vector_float(*args)

Bases: object

append()
assign()
back()
begin()
capacity()
clear()
empty()
end()
erase()
front()
get_allocator()
insert()
iterator()
pop()
pop_back()
push_back()
rbegin()
rend()
reserve()
resize()
size()
swap()
property thisown

The membership flag