Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Open STEP, IGES, STL, OBJ, and more CAD formats instantly in your browser. Orbit, measure edges, apply section planes, and export snapshots — no install required."
/>
<meta property="og:title" content="CAD Viewer — Browser-based 3D CAD" />
<meta
property="og:description"
content="Free, offline-capable 3D CAD viewer. Supports STEP, IGES, STL, OBJ, 3MF, BREP, GLB."
/>
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<title>CAD Viewer</title>
<style>
html, body, #root { height: 100%; }
Expand All @@ -11,13 +21,10 @@
#viewport { height: 100vh; width: 100vw; }
/* Ensure any canvas renders as a block and fills its parent */
canvas { display: block; }
/* Make grid/axes more visible on a dark background */
:root { color-scheme: dark; }
</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

16 changes: 13 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.30.3",
"three": "0.180.0"
"three": "0.180.0",
"three-mesh-bvh": "^0.9.10"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
Expand Down
5 changes: 5 additions & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading