This website requires JavaScript.
Explore
Help
Sign In
1b-agent
/
OneCAD
Watch
1
Star
0
Fork
0
forked from
1b-agent/solidcraft-upstream
Code
Pull Requests
Activity
Files
839966c108e70fafff6dbb5753d3987b7a549e77
OneCAD
/
apps
/
solvecraft-web
/
src
T
History
CypherNaugh_0x
b5fd55cce6
Section Analysis cut faces hide the inside of the body: the cap was drawn on the far walls' back faces at their own depth, so every edge between the cut and the far wall (hole and boss edges, corner seams) showed through it like a pane of glass. While a section is shown the solids mark in the stencil where the cap is the visible surface, then draw the cap again there at the depth where the view ray meets the section plane (orthographic and perspective), so holes stay open and the inside is hidden. The native app asks for an 8-bit stencil; without one (eframe's web painter has none) the cap draws as before. Not covered by an automated test (no GPU in the test suite); checked in the app with before/after screenshots
2026-10-10 13:51:00 -04:00
..
files.rs
Web files: designs live in the browser (OPFS), files come in by picker or drop and go out as downloads
2026-10-08 21:15:18 +00:00
main.rs
Section Analysis cut faces hide the inside of the body: the cap was drawn on the far walls' back faces at their own depth, so every edge between the cut and the far wall (hole and boss edges, corner seams) showed through it like a pane of glass. While a section is shown the solids mark in the stencil where the cap is the visible surface, then draw the cap again there at the depth where the view ray meets the section plane (orthographic and perspective), so holes stay open and the inside is hidden. The native app asks for an 8-bit stencil; without one (eframe's web painter has none) the cap draws as before. Not covered by an automated test (no GPU in the test suite); checked in the app with before/after screenshots
2026-10-10 13:51:00 -04:00