File size: 4,504 Bytes
5d147ae
cfea9b4
 
 
 
 
f11e120
cfea9b4
 
 
96ebbc7
f11e120
 
 
 
 
 
00ea3d0
 
f11e120
cfea9b4
 
 
b5d4820
 
cfea9b4
 
 
 
 
 
 
 
 
 
 
00ea3d0
 
f11e120
cfea9b4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1eea7eb
cfea9b4
 
 
f5c939d
cfea9b4
5d147ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
  <title>projectsim SimReady Library</title>
  <meta name="description" content="Browse projectsim's sim-ready objects for NVIDIA Isaac Sim: categories, physics and moving parts, with an interactive 3D preview.">
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap">
  <link rel="stylesheet" href="style.css?v=32">
  <script type="importmap">
    { "imports": {
        "three": "https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.module.js",
        "three/addons/": "https://cdn.jsdelivr.net/npm/three@0.160.0/examples/jsm/" } }
  </script>
  <script>
    // Apply the saved thumbnail background before first paint (grey studio unless "dark" was picked).
    try { if (localStorage.getItem("thumbs") === "dark") document.documentElement.dataset.thumbs = "dark"; } catch (e) {}
  </script>
</head>
<body>
  <header class="top">
    <a id="brand" class="brand" href="https://huggingface.co/projectsim" target="_top" aria-label="projectsim on Hugging Face">
      <img class="brand-logo" src="logo.webp" alt="" width="28" height="28">
      <span class="brand-name">projectsim</span>
      <span class="brand-product">SimReady Library</span>
    </a>
    <label class="search">
      <span class="sr-only">Search assets</span>
      <svg aria-hidden="true" viewBox="0 0 20 20"><path d="M8.5 3a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Zm0-1.5a7 7 0 1 0 4.2 12.6l3.85 3.85 1.06-1.06-3.85-3.85A7 7 0 0 0 8.5 1.5Z"/></svg>
      <input id="q" type="search" placeholder="Search by name, class or part, e.g. hinge" autocomplete="off">
    </label>
    <nav class="top-links">
      <a id="link-dataset" href="https://huggingface.co/datasets/projectsim/simready-assets" target="_blank" rel="noopener">Dataset</a>
      <a class="cta" href="https://docs.projectsim.ai/getting-started/quickstart?utm_source=hf_space&utm_medium=header&utm_content=simready-library" target="_blank" rel="noopener">Generate your own</a>
      <button id="thumbs-toggle" class="icon-button thumbs-toggle" type="button" aria-label="Thumbnail background: grey. Switch to dark" title="Thumbnail background">
        <svg viewBox="0 0 24 24" aria-hidden="true"><path class="swatch swatch-grey" d="M12 4a8 8 0 0 0 0 16Z"/><path class="swatch swatch-dark" d="M12 4a8 8 0 0 1 0 16Z"/><circle class="ring" cx="12" cy="12" r="8"/></svg>
      </button>
    </nav>
    <button id="filters-toggle" class="filters-toggle" type="button" aria-controls="side" aria-expanded="false">Filters</button>
  </header>

  <div class="layout">
    <aside id="side" class="side" aria-label="Library and filters">
      <section class="side-block">
        <h2 class="side-title">Library</h2>
        <ul id="library" class="library"></ul>
      </section>
      <section class="side-block">
        <div class="side-head">
          <h2 class="side-title">Refine by</h2>
          <button id="reset" class="link-button" type="button" hidden>Reset</button>
        </div>
        <div id="facets"></div>
      </section>
      <p id="built" class="side-foot"></p>
    </aside>

    <main class="results" aria-label="Assets">
      <div class="results-bar">
        <p id="count" class="count" role="status" aria-live="polite">Loading assets…</p>
        <div id="chips" class="chips"></div>
        <label class="sort">
          <span>Sort</span>
          <select id="sort">
            <option value="name">Name</option>
            <option value="newest">Newest</option>
            <option value="mass-desc">Heaviest</option>
            <option value="mass-asc">Lightest</option>
            <option value="size-desc">Largest</option>
            <option value="parts-desc">Most moving parts</option>
          </select>
        </label>
      </div>
      <ul id="grid" class="grid"></ul>
      <p id="empty" class="empty" hidden>No assets match. Try fewer filters or another word.</p>
    </main>

    <aside id="detail" class="detail" aria-label="Asset details" hidden>
      <div class="detail-scroll" id="detail-body"></div>
      <div class="detail-foot" id="detail-foot"></div>
    </aside>
  </div>

  <script src="app.js?v=36"></script>
</body>
</html>