Skip to content

SWIG: add downcasting #284

Open
Open
@KrisThielemans

Description

@KrisThielemans

A difficulty is that some members return a base class ptr, which cannot be downcasted in python. Example

input=recon.get_input_data()

Then input is of type ExamData and there's no way to get at members of a ProjData (or whatever it is).

This might be possible as mentioned for instance at tpaviot/pythonocc-generator#28

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions