cinemascience / pycinema

cinema engine toolkit
Other
1 stars 4 forks source link

Multi Input and Issue Sprint #91

Closed JonasLukasczyk closed 9 months ago

JonasLukasczyk commented 9 months ago

Hi David, this PR makes it possible to feed multiple input ports into one output port. In theater this can be done by keeping the shift-key pressed while connecting ports. In python this can be done by passing a list of ports:

FilterC.inputs.portB.set(
  [
    FilterA.outputs.portA0,
    FilterA.outputs.portA1,
    FilterB.outputs.portB
  ]
)

This PR also fixes issues #88, #85, #83, #66.