OCC.Core.BinDrivers module

BinDrivers module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_bindrivers.html

class BinDrivers_DocumentRetrievalDriver(*args)

Bases: OCC.Core.BinLDrivers.BinLDrivers_DocumentRetrievalDriver

  • Constructor
    rtype

    None

CheckShapeSection()
Parameters

thePos

type thePos

Storage_Position

param theIS

type theIS

Standard_IStream

rtype

void

Clear()
  • Clears the NamedShape driver
    rtype

    void

static DownCast(t)
ReadShapeSection()
Parameters

theSection

type theSection

BinLDrivers_DocumentSection

param theIS

type theIS

Standard_IStream

param isMess

default value is Standard_False

type isMess

bool

rtype

void

property thisown

The membership flag

class BinDrivers_DocumentStorageDriver(*args)

Bases: OCC.Core.BinLDrivers.BinLDrivers_DocumentStorageDriver

  • Constructor
    rtype

    None

static DownCast(t)
IsWithTriangles()
  • Return true if shape should be stored with triangles.
    rtype

    bool

SetWithTriangles()
  • Set if triangulation should be stored or not.
    param theMessageDriver

    type theMessageDriver

    Message_Messenger

    param theWithTriangulation

    type theWithTriangulation

    bool

    rtype

    None

WriteShapeSection()
  • implements the procedure of writing a shape section to file
    param theDocSection

    type theDocSection

    BinLDrivers_DocumentSection

    param theOS

    type theOS

    Standard_OStream

    rtype

    void

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 bindrivers

Bases: object

static AttributeDrivers()
  • Creates the table of drivers of types supported
    param MsgDrv

    type MsgDrv

    Message_Messenger

    rtype

    opencascade::handle<BinMDF_ADriverTable>

static DefineFormat()
  • Defines format ‘BinOcaf’ and registers its read and write drivers in the specified application
    param theApp

    type theApp

    TDocStd_Application

    rtype

    void

static Factory()
Parameters

theGUID

type theGUID

Standard_GUID

rtype

opencascade::handle<Standard_Transient>

static StorageVersion()
  • returns ‘1’
    rtype

    TCollection_AsciiString

property thisown

The membership flag