fix: replace placeholder STL with real procedural mesh generator#3945
fix: replace placeholder STL with real procedural mesh generator#3945Kokila-chandrakar wants to merge 4 commits into
Conversation
|
@Kokila-chandrakar is attempting to deploy a commit to the jhasourav07's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
👋 Hey @Kokila-chandrakar, it looks like you didn't use our PR template! The section Please update your PR description to include all required sections so we can review this properly:
You can find the full template in CONTRIBUTING.md. Just edit your PR description and the |
|
🚨 Hey @Kokila-chandrakar, the CI Pipeline is failing on this PR and it has been marked as Please fix the issues before this can be reviewed. Here's how: 1. Run checks locally before pushing: npm run format:check # Check Prettier formatting
npm run lint # Run ESLint
npm run typecheck # TypeScript type check
npm run test # Run unit tests (Vitest)
npm run build # Verify production build passes2. Auto-fix common issues: npm run format # Auto-fix formatting with Prettier
npm run lint -- --fix # Auto-fix lint errors where possible3. Check the full failure log here: Once you push a fix and the CI passes, the |
8633511 to
6ef3d81
Compare
Description
Replace the fake placeholder STL download with a real procedural 3D mesh generator.
Previously, the "Download Printable 3D STL Monolith" button simulated a 1.2s
loading delay and downloaded a hardcoded single-triangle STL file, which was
not a valid or printable 3D model.
This PR implements Option A from the issue:
activityToTowers()inlib/export3d.tsto convertActivityData[]into a
TowerData[]grid, mapping contribution counts to mm heightshandleDownloadSTLinShareSheet.tsxto call the realgenerateMonolithSTL()instead of the placeholderactivityToTowersinexport3d.test.tsFixes #3676
Pillar
Bug Fix
Checklist