three-cad-viewer 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changes.md +148 -0
- package/dist/{assets/three-cad-viewer-5f9c86f1.css → three-cad-viewer.css} +6 -0
- package/dist/three-cad-viewer.esm.js +1699 -1291
- package/dist/three-cad-viewer.esm.min.js +1 -1
- package/dist/three-cad-viewer.js +1699 -1293
- package/dist/three-cad-viewer.min.js +1 -1
- package/package.json +10 -9
- package/src/_version.js +1 -1
- package/src/display.js +5 -5
- package/src/font.js +34 -0
- package/src/orientation.js +21 -23
- package/dist/assets/three-cad-viewer.esm-a7fcdc64.css +0 -660
- package/dist/assets/three-cad-viewer.esm.min-4cfce96e.css +0 -660
- package/dist/assets/three-cad-viewer.min-49d7e12d.css +0 -660
- package/src/fontloader/helvetiker_regular.typeface.json +0 -1
package/Changes.md
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
## v1.8.2
|
|
2
|
+
|
|
3
|
+
**Fixes:**
|
|
4
|
+
|
|
5
|
+
- Integrate helvetiker font into code
|
|
6
|
+
|
|
7
|
+
## v1.8.1
|
|
8
|
+
|
|
9
|
+
**Fixes:**
|
|
10
|
+
|
|
11
|
+
- Removal of environment maps and new defaults
|
|
12
|
+
|
|
13
|
+
## v1.8.0
|
|
14
|
+
|
|
15
|
+
**Features:**
|
|
16
|
+
|
|
17
|
+
- XYZ labels for orientation marker
|
|
18
|
+
- Support for metalness and roughness
|
|
19
|
+
- Material configurator tab
|
|
20
|
+
|
|
21
|
+
## v1.7.12
|
|
22
|
+
|
|
23
|
+
**Fixes**
|
|
24
|
+
|
|
25
|
+
- Ensure no exceptions are thrown when the view is cleared and resized
|
|
26
|
+
|
|
27
|
+
## v1.7.11
|
|
28
|
+
|
|
29
|
+
**Fixes**
|
|
30
|
+
|
|
31
|
+
- Check properly whether animation is active
|
|
32
|
+
|
|
33
|
+
## v1.7.10
|
|
34
|
+
|
|
35
|
+
**Features**
|
|
36
|
+
|
|
37
|
+
- Add expand root only for treeview
|
|
38
|
+
- Add recenterCamera method
|
|
39
|
+
|
|
40
|
+
**Fixes**
|
|
41
|
+
|
|
42
|
+
- Ensure center is shown for object far away from center
|
|
43
|
+
|
|
44
|
+
## v1.7.9
|
|
45
|
+
|
|
46
|
+
**Features**
|
|
47
|
+
|
|
48
|
+
- Add example for single edges and vertices
|
|
49
|
+
- Enable explode for edges and vertices
|
|
50
|
+
|
|
51
|
+
## v1.7.8
|
|
52
|
+
|
|
53
|
+
**Features**
|
|
54
|
+
|
|
55
|
+
- Add build123d examples
|
|
56
|
+
|
|
57
|
+
## v1.7.7
|
|
58
|
+
|
|
59
|
+
**Features**
|
|
60
|
+
|
|
61
|
+
- Add build123d assembly
|
|
62
|
+
|
|
63
|
+
**Fixes**
|
|
64
|
+
|
|
65
|
+
- Fix explode
|
|
66
|
+
|
|
67
|
+
## v1.7.6
|
|
68
|
+
|
|
69
|
+
**Fixes**
|
|
70
|
+
|
|
71
|
+
## v1.7.5
|
|
72
|
+
|
|
73
|
+
**Fixes**
|
|
74
|
+
|
|
75
|
+
## v1.7.4
|
|
76
|
+
|
|
77
|
+
**Fixes**
|
|
78
|
+
|
|
79
|
+
- Fixed resize cad view problem
|
|
80
|
+
|
|
81
|
+
## v1.7.3
|
|
82
|
+
|
|
83
|
+
**Fixes**
|
|
84
|
+
|
|
85
|
+
- Bump version of three and dev depenedencies
|
|
86
|
+
|
|
87
|
+
## v1.7.2
|
|
88
|
+
|
|
89
|
+
- Ensure one element trees are not collapsed
|
|
90
|
+
|
|
91
|
+
## v1.7.0
|
|
92
|
+
|
|
93
|
+
**Features**
|
|
94
|
+
|
|
95
|
+
- Change trihedron orientation in the orientation marker to CAD standard
|
|
96
|
+
|
|
97
|
+
## v1.6.4
|
|
98
|
+
|
|
99
|
+
**Features:**
|
|
100
|
+
|
|
101
|
+
- Add support for color alpha channel
|
|
102
|
+
|
|
103
|
+
## v1.6.3
|
|
104
|
+
|
|
105
|
+
**Features:**
|
|
106
|
+
|
|
107
|
+
- Introduce mode where Y is camera up
|
|
108
|
+
|
|
109
|
+
**Fixes:**
|
|
110
|
+
|
|
111
|
+
- Fixed grid menu selection issue
|
|
112
|
+
|
|
113
|
+
## v1.6.2
|
|
114
|
+
|
|
115
|
+
**Fixes:**
|
|
116
|
+
|
|
117
|
+
- Fixed bbox.max_dist_from_center
|
|
118
|
+
|
|
119
|
+
## v1.6.1
|
|
120
|
+
|
|
121
|
+
**Features:**
|
|
122
|
+
|
|
123
|
+
- Allow resizing after view is created
|
|
124
|
+
|
|
125
|
+
**Fixes:**
|
|
126
|
+
|
|
127
|
+
- Increase minimum width to 970
|
|
128
|
+
- Handle more button in glassMode function
|
|
129
|
+
- Check bbox exist before updating it
|
|
130
|
+
|
|
131
|
+
## v1.6.0
|
|
132
|
+
|
|
133
|
+
**Features:**
|
|
134
|
+
|
|
135
|
+
- Added treview highlighting
|
|
136
|
+
- A new bounding box (AABB) algorithm
|
|
137
|
+
|
|
138
|
+
**Fixes:**
|
|
139
|
+
|
|
140
|
+
- Ensure bbox update will be triggered when animation starts
|
|
141
|
+
- Fix remove bbox on second click in tree
|
|
142
|
+
- Disable jupyter cell select on shift mousedown in cad tree
|
|
143
|
+
- Flexible "More" menu handling
|
|
144
|
+
- No bounding box for isolate mode
|
|
145
|
+
- Center isolated objects around bbox center and look at bbox center
|
|
146
|
+
- Clearer help text around AABB
|
|
147
|
+
- Extend help for picking/hiding/isolating
|
|
148
|
+
- Improve center info output
|
|
@@ -370,6 +370,7 @@ input[type="button"] {
|
|
|
370
370
|
font-size: 14px;
|
|
371
371
|
margin-left: 4px;
|
|
372
372
|
margin-right: 4px;
|
|
373
|
+
padding-bottom: 4px;
|
|
373
374
|
vertical-align: middle;
|
|
374
375
|
user-select: none;
|
|
375
376
|
}
|
|
@@ -454,6 +455,7 @@ input[type="button"] {
|
|
|
454
455
|
|
|
455
456
|
.tcv_clip_slider {
|
|
456
457
|
-webkit-appearance: none;
|
|
458
|
+
appearance: none;
|
|
457
459
|
width: 60%;
|
|
458
460
|
height: 5px;
|
|
459
461
|
border-radius: 2px;
|
|
@@ -575,6 +577,10 @@ input[type="button"] {
|
|
|
575
577
|
opacity: 1;
|
|
576
578
|
}
|
|
577
579
|
|
|
580
|
+
|
|
581
|
+
.tcv_material_info {
|
|
582
|
+
font-size: 12px;
|
|
583
|
+
}
|
|
578
584
|
.tcv_node_entry_wrap {
|
|
579
585
|
white-space: pre;
|
|
580
586
|
}
|