Refine BIM section controls and styling
This commit is contained in:
+11
-3
@@ -81,6 +81,14 @@
|
||||
set("--measure-label", s.measureLabel);
|
||||
set("--measure-label-text", s.measureLabelText);
|
||||
set("--measure-dot", s.measureDot);
|
||||
set("--section-axis-x", s.sectionAxisX);
|
||||
set("--section-axis-y", s.sectionAxisY);
|
||||
set("--section-axis-z", s.sectionAxisZ);
|
||||
set("--section-gizmo-diameter", s.sectionGizmoDiameter);
|
||||
set("--section-plane-fill", s.sectionPlaneFill);
|
||||
set("--section-plane-alpha", s.sectionPlaneAlpha);
|
||||
set("--section-plane-edge", s.sectionPlaneEdge);
|
||||
set("--section-plane-edge-alpha", s.sectionPlaneEdgeAlpha);
|
||||
} catch (e) {
|
||||
// ignore corrupted settings
|
||||
}
|
||||
@@ -89,7 +97,7 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="./dcViewer.css?v=18">
|
||||
<link rel="stylesheet" href="./dcViewer.css?v=19">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
@@ -107,7 +115,6 @@
|
||||
<section class="viewer-wrapper">
|
||||
<canvas id="viewerCanvas"></canvas>
|
||||
<canvas id="navCube"></canvas>
|
||||
<canvas id="sectionPlanesOverview" class="section-overview" width="150" height="150"></canvas>
|
||||
<div class="drop-hint" id="dropZone">
|
||||
<div class="drop-center">
|
||||
<div class="drop-plus">+</div>
|
||||
@@ -318,6 +325,7 @@
|
||||
</div>
|
||||
|
||||
<div id="sectionToolbar" class="section-toolbar hidden" aria-label="Управление разрезом">
|
||||
<canvas id="sectionPlanesOverview" class="section-overview" width="80" height="80"></canvas>
|
||||
<button class="section-tool-btn" data-section-action="camera" type="button" title="По камере" aria-label="По камере">
|
||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||
<path d="M4.5 12s2.75-5 7.5-5 7.5 5 7.5 5-2.75 5-7.5 5-7.5-5-7.5-5Z"></path>
|
||||
@@ -349,6 +357,6 @@
|
||||
<input id="fileInput" class="hidden" type="file"
|
||||
accept=".xkt,.glb,.gltf,.bim,.las,.laz,.obj,.stl">
|
||||
|
||||
<script type="module" src="./dcViewer.js?v=23"></script>
|
||||
<script type="module" src="./dcViewer.js?v=24"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user