Skip to content

Conversation

jeromeetienne
Copy link
Contributor

@jeromeetienne jeromeetienne commented Sep 11, 2025

here is an early PR trying to generate valid command file from ./examples.

It starts with fixing #14

it includes an early attempt from @rougier on signals here

It includes a test file to verify it works here.

  • it generate a command file
  • then reread it and run the command queue
  • then it display the result.

if the issue is fixed, it should display a GSP scene (aka, in this particular case, 200 random points on the viewport)

@jeromeetienne jeromeetienne changed the title Trying to fix ndarray_to_buffer Trying to fix ndarray_to_buffer - DO NOT MERGE Sep 12, 2025
@rougier
Copy link
Contributor

rougier commented Sep 18, 2025

I think the right way to fix the bug is in the gsp_matpltolib/core/buffer.py. When the array method is called and the buffer is created from memory, we need to add something like self._array = self._array.reshape(self._count, -1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants