@faicad/faijs-fasteners 0.29.3

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.
Files changed (104) hide show
  1. package/LICENSE +202 -0
  2. package/README.i18n.yaml +6 -0
  3. package/README.md +16 -0
  4. package/README.zh.md +16 -0
  5. package/dist/bearing.d.ts +81 -0
  6. package/dist/bearing.d.ts.map +1 -0
  7. package/dist/bearing.js +462 -0
  8. package/dist/bearing.js.map +1 -0
  9. package/dist/chain.d.ts +96 -0
  10. package/dist/chain.d.ts.map +1 -0
  11. package/dist/chain.js +322 -0
  12. package/dist/chain.js.map +1 -0
  13. package/dist/contract.d.ts +9 -0
  14. package/dist/contract.d.ts.map +1 -0
  15. package/dist/contract.js +10 -0
  16. package/dist/contract.js.map +1 -0
  17. package/dist/data/brad_tee_nut_parameters.json +29 -0
  18. package/dist/data/button_head_parameters.json +82 -0
  19. package/dist/data/button_head_with_collar_parameters.json +98 -0
  20. package/dist/data/chamfered_washer_parameters.json +262 -0
  21. package/dist/data/cheese_head_parameters.json +182 -0
  22. package/dist/data/cheese_head_washer_parameters.json +112 -0
  23. package/dist/data/clearance_hole_sizes.json +427 -0
  24. package/dist/data/countersunk_head_parameters.json +1752 -0
  25. package/dist/data/domed_cap_nut_parameters.json +62 -0
  26. package/dist/data/drill_sizes.json +320 -0
  27. package/dist/data/heatset_nut_parameters.json +354 -0
  28. package/dist/data/hex_head_parameters.json +408 -0
  29. package/dist/data/hex_head_with_flange_parameters.json +114 -0
  30. package/dist/data/hex_nut_parameters.json +250 -0
  31. package/dist/data/hex_nut_with_flange_parameters.json +92 -0
  32. package/dist/data/imperial_set_screw_parameters.json +150 -0
  33. package/dist/data/iso10664def.json +82 -0
  34. package/dist/data/metric_set_screw_parameters.json +50 -0
  35. package/dist/data/nominal_screw_lengths.json +106 -0
  36. package/dist/data/pan_head_parameters.json +322 -0
  37. package/dist/data/pan_head_with_collar_parameters.json +56 -0
  38. package/dist/data/plain_washer_parameters.json +464 -0
  39. package/dist/data/raised_cheese_head_parameters.json +82 -0
  40. package/dist/data/raised_countersunk_oval_head_parameters.json +314 -0
  41. package/dist/data/setscrew_parameters.json +110 -0
  42. package/dist/data/single_row_angular_contact_ball_bearing_parameters.json +209 -0
  43. package/dist/data/single_row_capped_deep_groove_ball_bearing_parameters.json +527 -0
  44. package/dist/data/single_row_cylindrical_roller_bearing_parameters.json +227 -0
  45. package/dist/data/single_row_deep_groove_ball_bearing_parameters.json +653 -0
  46. package/dist/data/single_row_tapered_roller_bearing_parameters.json +756 -0
  47. package/dist/data/socket_head_cap_parameters.json +856 -0
  48. package/dist/data/square_nut_parameters.json +26 -0
  49. package/dist/data/tap_hole_sizes.json +398 -0
  50. package/dist/data/tapered-fillet-drop.json +109 -0
  51. package/dist/data/unchamfered_hex_nut_parameters.json +42 -0
  52. package/dist/holes.d.ts +186 -0
  53. package/dist/holes.d.ts.map +1 -0
  54. package/dist/holes.js +197 -0
  55. package/dist/holes.js.map +1 -0
  56. package/dist/index.d.ts +27 -0
  57. package/dist/index.d.ts.map +1 -0
  58. package/dist/index.js +36 -0
  59. package/dist/index.js.map +1 -0
  60. package/dist/kernel.d.ts +122 -0
  61. package/dist/kernel.d.ts.map +1 -0
  62. package/dist/kernel.js +25 -0
  63. package/dist/kernel.js.map +1 -0
  64. package/dist/measure.d.ts +53 -0
  65. package/dist/measure.d.ts.map +1 -0
  66. package/dist/measure.js +160 -0
  67. package/dist/measure.js.map +1 -0
  68. package/dist/nut.d.ts +315 -0
  69. package/dist/nut.d.ts.map +1 -0
  70. package/dist/nut.js +700 -0
  71. package/dist/nut.js.map +1 -0
  72. package/dist/params.d.ts +178 -0
  73. package/dist/params.d.ts.map +1 -0
  74. package/dist/params.js +330 -0
  75. package/dist/params.js.map +1 -0
  76. package/dist/primitives.d.ts +440 -0
  77. package/dist/primitives.d.ts.map +1 -0
  78. package/dist/primitives.js +597 -0
  79. package/dist/primitives.js.map +1 -0
  80. package/dist/recess.d.ts +129 -0
  81. package/dist/recess.d.ts.map +1 -0
  82. package/dist/recess.js +323 -0
  83. package/dist/recess.js.map +1 -0
  84. package/dist/screw.d.ts +101 -0
  85. package/dist/screw.d.ts.map +1 -0
  86. package/dist/screw.js +945 -0
  87. package/dist/screw.js.map +1 -0
  88. package/dist/sprocket.d.ts +135 -0
  89. package/dist/sprocket.d.ts.map +1 -0
  90. package/dist/sprocket.js +261 -0
  91. package/dist/sprocket.js.map +1 -0
  92. package/dist/test-setup.d.ts +11 -0
  93. package/dist/test-setup.d.ts.map +1 -0
  94. package/dist/test-setup.js +30 -0
  95. package/dist/test-setup.js.map +1 -0
  96. package/dist/thread.d.ts +189 -0
  97. package/dist/thread.d.ts.map +1 -0
  98. package/dist/thread.js +501 -0
  99. package/dist/thread.js.map +1 -0
  100. package/dist/washer.d.ts +126 -0
  101. package/dist/washer.d.ts.map +1 -0
  102. package/dist/washer.js +204 -0
  103. package/dist/washer.js.map +1 -0
  104. package/package.json +58 -0
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,6 @@
1
+ # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
+ # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
+ # after editing either side, bring the other along and re-record with:
4
+ # pnpm run verify-translation-pairing --write packages/faijs-fasteners/README.md
5
+ README.md: 1062e0adea4ebb4a3618fd1b83bd767c140aea43
6
+ README.zh.md: d8350f22a8577befbb0f7a1520826dd688ee0660
package/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # @faicad/faijs-fasteners
2
+
3
+ English | [中文](README.zh.md)
4
+
5
+ Standard fasteners and hardware for faijs: threads, nuts, screws, washers, bearings, sprockets, chains, and fastener holes.
6
+
7
+ ## Origin
8
+
9
+ This package is a TypeScript port of [cq_warehouse](https://github.com/gadgetguy/cq-warehouse) (v0.8.0), the CadQuery standard-parts library by Maurice Lambert. Geometry semantics, parameter tables (ISO/DIN spec data), and class behavior follow the upstream Python source; the port was verified part-by-part against upstream-generated STEP references (see `fixtures/reference/`).
10
+
11
+ - Upstream source used for reference: `C:/git/CADQ/cq_warehouse/src`
12
+ - License: Apache-2.0 (matching upstream)
13
+
14
+ ## Renaming history
15
+
16
+ Originally named `@faicad/fai-cq-warehouse` (after the upstream brand); renamed to `@faicad/faijs-fasteners` on 2026-10-02 to match the faijs product-line naming convention and to describe the actual content. The `cq_warehouse` name is retained here as the origin attribution.
package/README.zh.md ADDED
@@ -0,0 +1,16 @@
1
+ # @faicad/faijs-fasteners
2
+
3
+ [English](README.md) | 中文
4
+
5
+ faijs 的标准紧固件与五金件库:螺纹、螺母、螺钉、垫圈、轴承、链轮、链条与紧固孔。
6
+
7
+ ## 来源
8
+
9
+ 本包是 [cq_warehouse](https://github.com/gadgetguy/cq-warehouse)(v0.8.0,Maurice Lambert 的 CadQuery 标准件库)的 TypeScript 移植。几何语义、参数表(ISO/DIN 规格数据)与类行为均遵循上游 Python 源码;移植结果逐件对照上游生成的 STEP 参考做了验证(见 `fixtures/reference/`)。
10
+
11
+ - 参考用上游源码:`C:/git/CADQ/cq_warehouse/src`
12
+ - 许可证:Apache-2.0(与上游一致)
13
+
14
+ ## 改名历史
15
+
16
+ 最初名为 `@faicad/fai-cq-warehouse`(沿用上游品牌);2026-10-02 改名为 `@faicad/faijs-fasteners`,以对齐 faijs 产品线命名约定并如实描述包内容。`cq_warehouse` 名称在此保留作为来源归属。
@@ -0,0 +1,81 @@
1
+ /**
2
+ * bearing.ts — 轴承 5 类(W6)—— 上游 `cq_warehouse.bearing.Bearing` 基类 +
3
+ * 5 个子类的逐位复刻。
4
+ *
5
+ * 装配流(`bearing.py:223 make_bearing`):
6
+ * ```
7
+ * outer_race = revolve(outer_race_section) # XZ 平面轮廓绕 Z 旋 360°
8
+ * inner_race = revolve(inner_race_section)
9
+ * bearing = outer.fuse(inner)
10
+ * if capped: bearing = bearing.fuse(cap).fuse(cap.mirror("XY").translate((0,0,B)))
11
+ * else: for each roller in polarArray(race_center_radius, N):
12
+ * bearing = bearing.fuse(roller.located(Location((0,0,B/2))))
13
+ * if cage: bearing = bearing.fuse(cage)
14
+ * ```
15
+ * 滚子(roller):深沟球/角接触 = 球;圆柱滚子 = 圆柱;圆锥滚子 = 圆锥(绕 X 倾
16
+ * `roller_axis_angle`)。
17
+ *
18
+ * 几何坐标:轮廓画在 XZ 平面(局部 x → 世界 X=半径、局部 y → 世界 +Z),
19
+ * `revolveProfile` 绕 Z 轴 360°。滚子阵列在 XY 平面内半径 `race_center_radius`
20
+ * 处,整体抬升到 `z = B/2`(与上游 `polarArray` + `Location((0,0,B/2))` 完全同构)。
21
+ *
22
+ * ⚠️ **两条本阶段首次确认、并由 `scripts/kernel-bearing-probe.py` 实测锁定的复刻事实**:
23
+ * 1. `Sketch.trapezoid(w,h,a1,a2,angle)`(`sketch.py:284`)经 `.push((cx,cy))` 平移 +
24
+ * `.faces()[0].rotate(Y, −90)` 映射成 (半径=|Y|, z=X) 的凸四边形,其中 `angle`
25
+ * 是绕 Z 的**整体旋转**(不是 a2)。`cup` 用 `angle=90°`、`cone` 用 `angle=−90°`,
26
+ * 两者 a2 恒为 90°,故 v4 的 `h/tan(a2)` 项恒为 0。四角 line-line 圆角(r34/r12)
27
+ * 用本文件的 `lineLineFillet` 精确解,与上游 `vertices().fillet()` 在凸四边形上等价。
28
+ * 2. **圆锥滚子的 `roller_diameter` 是几何测量值**:上游 `roller.faces(">Z").edges()
29
+ * .val().radius()*2.5`,即锥顶(z=B/2 处)那一圈半径 ×2.5;本包直接算
30
+ * `2.5·cone_radii[0]`(cone_radii[0] 是 `makeCone` 顶端半径),无需真建锥再量。
31
+ * 3. **上游 `cone_length` 的著名 quirk**:`(Db/2)/asin(radians(a))`(用了 `asin`
32
+ * 而非 `sin`),`cone_angle` 与 `race_center_radius` 都依赖于此——必须逐字复刻,
33
+ * 否则圆锥几何整体偏移。已写入本文件并在探针中数字比对一致。
34
+ */
35
+ import type { BrepHandle } from '@faicad/faijs';
36
+ import { type BearingClassName } from './params.js';
37
+ /**
38
+ * 圆锥轴承内圈(cone)截面的角点(radius=x, height=y)由 `buildBearing` 的 tapered
39
+ * 分支内联构造——因为 cx = T − B/2 依赖 T,闭式由 `scripts/kernel-bearing-probe.py`
40
+ * 对照 cadquery 实测锁定(CONE match=True):
41
+ * V1=(|cy+w/2|, cx−B/2), V2=(|cy−w/2|, cx−B/2),
42
+ * V4=(|cy−w/2|, cx+B/2), V3=(|cy+w/2−B·tan(90+coneAngle), cx+B/2),
43
+ * cy = d/2 + (da−d)/2, cx = T − B/2。
44
+ */
45
+ /**
46
+ * 球滚子(半圆盘 revolve → 实体球)。
47
+ * @param radius - 球半径。
48
+ * @returns 球体 BREP 句柄。
49
+ */
50
+ export declare function sphere(radius: number): BrepHandle;
51
+ /** 轴承构造入参(args 逐字取自 manifest)。 */
52
+ export interface BearingParams {
53
+ size: string;
54
+ bearingType: string;
55
+ }
56
+ /** 轴承构造结果(含上游派生量,供测试锁定)。 */
57
+ export interface BearingResult {
58
+ handle: BrepHandle;
59
+ /** 内径 d。 */
60
+ boreDiameter: number;
61
+ /** 外径 D。 */
62
+ outerDiameter: number;
63
+ /** 宽度(tapered = T,其余 = B)。 */
64
+ thickness: number;
65
+ /** 滚子直径。 */
66
+ rollerDiameter: number;
67
+ /** 滚道中心半径。 */
68
+ raceCenterRadius: number;
69
+ /** 滚子数量。 */
70
+ rollerCount: number;
71
+ }
72
+ /** 5 类轴承的 W6 验收清单(方案 §8-W6)。 */
73
+ export declare const BEARING_CLASSES: readonly BearingClassName[];
74
+ /**
75
+ * 构造一个轴承(5 类统一入口)。
76
+ * @param className - 轴承类名。
77
+ * @param p - 构造入参(size / bearing_type)。
78
+ * @returns 轴承实体与上游派生量。
79
+ */
80
+ export declare function buildBearing(className: BearingClassName, p: BearingParams): BearingResult;
81
+ //# sourceMappingURL=bearing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bearing.d.ts","sourceRoot":"","sources":["../src/bearing.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAY,MAAM,eAAe,CAAA;AAgBzD,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,UAAU,CAAA;AA0PjB;;;;;;;GAOG;AAEH;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,CAMjD;AAiCD,kCAAkC;AAClC,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,4BAA4B;AAC5B,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,UAAU,CAAA;IAClB,YAAY;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY;IACZ,aAAa,EAAE,MAAM,CAAA;IACrB,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc;IACd,gBAAgB,EAAE,MAAM,CAAA;IACxB,YAAY;IACZ,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,gCAAgC;AAChC,eAAO,MAAM,eAAe,EAAE,SAAS,gBAAgB,EAMtD,CAAA;AAWD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,gBAAgB,EAAE,CAAC,EAAE,aAAa,GAAG,aAAa,CAuJzF"}