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

Pythonic refactor #3

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nmz787-intel
Copy link

using functions instead of a flat structure, paving the way to using alternate triangle generation methods

adding support to load layerstack from JSON format file, which uses 'thickness' instead of zmax (though the JSON loader creates the 'zmax' key and value), since I feel it's a little more intuitive to use the thickness (and closer to something like a process spec).

… from a JSON file (which has a slightly different format than the hard-coded layerstack, in that it specifies a thickness rather than a zmax)
@nmz787-intel
Copy link
Author

to reduce confusion about the indentation into the new do_main function, use the "hide whitespace" feature in the github diff tool:
image

@mbalestrini
Copy link
Owner

mbalestrini commented Jun 6, 2024

Great.
I'm testing it right now.
I found a missing comma here:
https://github.com/nmz787-intel/GDS2glTF/blob/7fec03f46528a5e824e22d5514d5ba958bb6379a/gds2gltf.py#L53

Are you on the TT discord? What's your handle?

@nmz787-intel
Copy link
Author

I don't think I'm on tinytapeout discord... my handle on discord is nmz787

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