Skip to content

Read from stream in DataExchange #1096

Open
@Fairyon

Description

@Fairyon

Hi everyone!
I get a filestream of STEP and IGES files from a REST API and want to analyse it. I saw, that STEPControl_Reader supports reading from stream, but the DataExchange class does not.

I have wrote my own extension read_step_stream(datastream, ...), where I replaced just the line of read_step_file(filename, ...)
status = step_reader.ReadFile(filename)
with this one:
status = step_reader.ReadStream(datastream)
and the same for iges

Would it be possible for you to add function read_step_stream(datastream, ...) in a further releases?

Thanks in advance.

Alex aka Fairyon

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions