Skip to content

kernel-mcp: read face area and normal from the kernel - #41

Merged
jbacus merged 1 commit into
mainfrom
claude/project-thread-mi4w9f
Dec 4, 2026
Merged

jbacus merged 1 commit into
mainfrom
claude/project-thread-mi4w9f

Conversation

@jbacus

@jbacus jbacus commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Requested by John

What changes

The face-read fix (#40) corrected kernelQuery(mesh).face(id) for flat faces with curved sides (discs, round sweep end caps). The MCP server's list_faces worked around those reads by computing area and normal from each face's triangles. It now reads them from the kernel.

Observable change

None for an agent: the areas and normals it gets are the same. The server now trusts the kernel's face record.

Tests

  • New: a cylinder's caps read πr² with a vertical normal, and its side reads 2πrh.
  • vitest run src/kernel-mcp: 18 passed. Type check, lint and public-text check clean.

The fold default of progress: 1 stays: the face-read fix (#40) confirmed that followMarks alone is refused by design.


Generated by Claude Code

Copilot AI balanced review requested due to automatic review settings December 4, 2026 14:18
@jbacus jbacus self-assigned this Dec 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

…ds curved-sided faces (#40)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jbacus
jbacus force-pushed the claude/project-thread-mi4w9f branch from 5e9e1b7 to 0edd207 Compare December 4, 2026 14:19
@jbacus
jbacus merged commit 673953d into main Dec 4, 2026
13 of 14 checks passed
@jbacus
jbacus deleted the claude/project-thread-mi4w9f branch December 4, 2026 14:45
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