Skip to content

TDocStd.py | TypeError: in method 'new_TDocStd_Document', argument 1 of type 'TCollection_ExtendedString const &' #71

@im44pos

Description

@im44pos

Want to export a shape or solid to a .glb file.
Example code from pythonocc-demos/examples/core_export_gltf_single_shape.py results in TypeError on "create document" line 37
'''doc = TDocStd_Document("pythonocc-doc")'''
'''TypeError: in method 'new_TDocStd_Document', argument 1 of type 'TCollection_ExtendedString const &''''
..\lib\site-packages\OCC\Core\TDocStd.py:1120

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions