Skip to content

Fallback options for object names + w coordinate fix#1

Merged
SwishSwushPow merged 3 commits into
gstrfrom
fallback_options_for_object_names
Jun 24, 2026
Merged

Fallback options for object names + w coordinate fix#1
SwishSwushPow merged 3 commits into
gstrfrom
fallback_options_for_object_names

Conversation

@SwishSwushPow

Copy link
Copy Markdown
Member

With this PR we now enumerate all "unnamed_objects" to be able to distinguish them when parsing. Additionally, the user is able to provide a fallback base name, which will also be enumerated.

We also fixed an issue where vertices with an additional w scale component where not parsed correctly. Now it accepts w or rgb floats after the initial coordinates.

Additionally adjust the CI job and fix some typos
@SwishSwushPow SwishSwushPow self-assigned this Jun 24, 2026

@weiznich weiznich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good to me, just some minor notes

Comment thread .github/workflows/rust.yml
Comment thread src/lib.rs Outdated
Comment thread src/lib.rs Outdated
Comment thread src/lib.rs Outdated
Comment thread src/lib.rs Outdated
Comment thread src/lib.rs
Also added two new tests for these cases
This fallback will be used instead of "unnamed_object" and additionally we also use a counter to distinguish between multiple unnamed objects
@SwishSwushPow
SwishSwushPow force-pushed the fallback_options_for_object_names branch from 75df903 to 17ae447 Compare June 24, 2026 10:29
@SwishSwushPow
SwishSwushPow merged commit c3433be into gstr Jun 24, 2026
10 checks passed
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.

3 participants