[50 MRG] Accessories: ear/hat anchor improvements — 3 catalog SKUs - #124
Open
laurentketterle-hub wants to merge 1 commit into
Open
[50 MRG] Accessories: ear/hat anchor improvements — 3 catalog SKUs#124laurentketterle-hub wants to merge 1 commit into
laurentketterle-hub wants to merge 1 commit into
Conversation
Author
|
/attempt 12 |
Author
|
Friendly ping 👋 — this PR has been open for 4 days. Is there anything needed for review? Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Accessories: Ear/Cap Anchor Improvements
Adds earring and cap accessory SKUs with proper anchor placement for BeeAR virtual try-on.
New Catalog Entries
earring_hoop_gold.json— Gold hoop earring,ear_lobeanchor, -12mm Y / +8mm Z offsetearring_stud_silver.json— Silver stud earring,ear_lobeanchor, -8mm Y / +6mm Z offsetcap_baseball_navy.json— Navy baseball cap,head_topanchor, +4mm Y offsetAnchor Placement
Each accessory specifies:
anchor: anatomical reference point (ear_lobe,head_top)offset_mm: precise 3D positioning relative to anchorscale: uniform scaling factor for size adjustmentmodel_path/texture_path: 3D model and texture assetsCI
Added GitHub Actions CI (pytest on Python 3.10/3.11/3.12)
Closes #12
How to test
python -m pytest tests/ python -c "import json; d=json.load(open('catalog/earring_hoop_gold.json')); assert d['type']=='accessory'"Claim
I claim this bounty for MergeOS MRG.