Skip to content

[WIP] Experimental renderpacket spike - #13615

Draft
andrewvarga wants to merge 58 commits into
mainfrom
andrewvarga/adhoc/kurt-renderpacket-spike
Draft

[WIP] Experimental renderpacket spike#13615
andrewvarga wants to merge 58 commits into
mainfrom
andrewvarga/adhoc/kurt-renderpacket-spike

Conversation

@andrewvarga

@andrewvarga andrewvarga commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Not to be merged!

WIP, experimental branch to preview local rendering.

Related:
https://github.com/KittyCAD/engine/pull/4760
KittyCAD/modeling-api#1361

Irev-Dev and others added 30 commits April 24, 2026 16:26
Extend the render-packet pipeline to export implicit sketch regions from the
engine and consume them in the local WebGPU scene.

Engine-side:
- add sketch-region loop/query accessors to the C++/Rust bridge
- export sketch regions in render packets with plane basis, loops, holes,
  region IDs, parent IDs, and query points

Modeling-app side:
- add frontend render-packet bindings for regions and enriched sketch segments
- render regions as invisible planar meshes that highlight on hover/selection
- resolve region selection through the local proxy and answer
  region_get_query_point locally
- update region selection mapping so command flows like extrude treat local
  region picks the same way as streamed engine selection

This continues the render-packet path beyond faces, edges, and sketch segments
so sketch-region interactions work in local WebGPU mode.
# Conflicts:
#	package-lock.json
#	package.json
#	rust/Cargo.lock
#	rust/Cargo.toml
#	rust/kcl-lib/src/frontend/api.rs
#	rust/kcl-wasm-lib/src/context.rs
#	src/components/ConnectionStream.tsx
#	src/lib/rustContext.ts
#	src/lib/selections.ts
#	src/network/connectionManager.ts
# Conflicts:
#	package-lock.json
#	package.json
#	rust/Cargo.lock
#	rust/Cargo.toml
#	rust/kcl-lib/src/execution/memory/legacy.rs
#	src/components/ConnectionStream.tsx
@andrewvarga
andrewvarga requested review from a team as code owners September 3, 2026 14:13
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modeling-app Ready Ready Preview Sep 3, 2026 2:13pm UTC

Request Review

@andrewvarga
andrewvarga marked this pull request as draft September 3, 2026 14:13
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