Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explicit Scene serialization to binary format #531

Open
dokempf opened this issue Feb 5, 2025 · 0 comments
Open

Add explicit Scene serialization to binary format #531

dokempf opened this issue Feb 5, 2025 · 0 comments
Labels
python-api Related to the new Helios++ Python API sustainable h++ Part of the sustainable HELIOS++ project

Comments

@dokempf
Copy link
Collaborator

dokempf commented Feb 5, 2025

So far, the parameters rebuildSceneand noSceneWritingimplicitly controlled, when a Sceneobject was (de)serialized to binary format. In the Python API, this could become a much more explicit operation like this:

class Scene:
	def to_binary(self, path: Path):
		# Write to a binary file

	@classmethod
	def from_binary(self, path: Path):
		return Scene...

Implementation would most likely be realized via dedicated C++ functions with respective bindings, like we did for the XML parsing.

@dokempf dokempf added python-api Related to the new Helios++ Python API sustainable h++ Part of the sustainable HELIOS++ project labels Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python-api Related to the new Helios++ Python API sustainable h++ Part of the sustainable HELIOS++ project
Projects
None yet
Development

No branches or pull requests

1 participant