@bitbybit-dev/base 1.5.0 → 1.6.0-rc.0
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/lib/api/GlobalCDNProvider.js +1 -1
- package/lib/api/bearings/ansi-bearings.constants.d.ts +2 -0
- package/lib/api/bearings/ansi-bearings.constants.js +26 -0
- package/lib/api/bearings/ansi-bearings.d.ts +4 -0
- package/lib/api/bearings/ansi-bearings.js +14 -0
- package/lib/api/bearings/bearing-types.d.ts +25 -0
- package/lib/api/bearings/bearing-types.js +1 -0
- package/lib/api/bearings/bearings.constants.d.ts +1 -0
- package/lib/api/bearings/bearings.constants.js +1 -0
- package/lib/api/bearings/iso-bearings.constants.d.ts +2 -0
- package/lib/api/bearings/iso-bearings.constants.js +30 -0
- package/lib/api/bearings/iso-bearings.d.ts +4 -0
- package/lib/api/bearings/iso-bearings.js +14 -0
- package/lib/api/color-space.d.ts +2 -0
- package/lib/api/color-space.js +5 -8
- package/lib/api/fasteners/ansi-fasteners.constants.d.ts +16 -0
- package/lib/api/fasteners/ansi-fasteners.constants.js +118 -0
- package/lib/api/fasteners/ansi-fasteners.d.ts +8 -0
- package/lib/api/fasteners/ansi-fasteners.js +64 -0
- package/lib/api/fasteners/fastener-types.d.ts +161 -0
- package/lib/api/fasteners/fastener-types.js +1 -0
- package/lib/api/fasteners/fasteners.constants.d.ts +5 -0
- package/lib/api/fasteners/fasteners.constants.js +5 -0
- package/lib/api/fasteners/fasteners.d.ts +2 -0
- package/lib/api/fasteners/fasteners.js +9 -0
- package/lib/api/fasteners/iso-fasteners.constants.d.ts +23 -0
- package/lib/api/fasteners/iso-fasteners.constants.js +110 -0
- package/lib/api/fasteners/iso-fasteners.d.ts +9 -0
- package/lib/api/fasteners/iso-fasteners.js +61 -0
- package/lib/api/gears/bevel-gears.d.ts +6 -0
- package/lib/api/gears/bevel-gears.js +69 -0
- package/lib/api/gears/gear-checks.d.ts +8 -0
- package/lib/api/gears/gear-checks.js +69 -0
- package/lib/api/gears/gear-pairs.d.ts +4 -0
- package/lib/api/gears/gear-pairs.js +140 -0
- package/lib/api/gears/gear-types.d.ts +425 -0
- package/lib/api/gears/gear-types.js +1 -0
- package/lib/api/gears/gears.constants.d.ts +19 -0
- package/lib/api/gears/gears.constants.js +19 -0
- package/lib/api/gears/gears.d.ts +10 -0
- package/lib/api/gears/gears.js +156 -0
- package/lib/api/gears/helical-gears.d.ts +5 -0
- package/lib/api/gears/helical-gears.js +33 -0
- package/lib/api/gears/involute-flank.d.ts +26 -0
- package/lib/api/gears/involute-flank.js +158 -0
- package/lib/api/gears/racks.d.ts +3 -0
- package/lib/api/gears/racks.js +64 -0
- package/lib/api/index.d.ts +10 -1
- package/lib/api/index.js +0 -1
- package/lib/api/inputs/base-inputs.d.ts +450 -3
- package/lib/api/inputs/base-inputs.js +12 -0
- package/lib/api/inputs/color-inputs.d.ts +14 -0
- package/lib/api/inputs/color-inputs.js +19 -0
- package/lib/api/inputs/engineering-inputs.d.ts +1539 -0
- package/lib/api/inputs/engineering-inputs.js +2181 -0
- package/lib/api/inputs/index.d.ts +2 -0
- package/lib/api/inputs/index.js +2 -0
- package/lib/api/inputs/io-inputs.d.ts +8 -1
- package/lib/api/inputs/io-inputs.js +4 -1
- package/lib/api/inputs/math-inputs.d.ts +61 -0
- package/lib/api/inputs/math-inputs.js +85 -0
- package/lib/api/inputs/mesh-inputs.d.ts +170 -0
- package/lib/api/inputs/mesh-inputs.js +206 -0
- package/lib/api/inputs/point-inputs.d.ts +4 -4
- package/lib/api/inputs/polyline-inputs.d.ts +144 -0
- package/lib/api/inputs/polyline-inputs.js +151 -0
- package/lib/api/inputs/recipes-inputs.d.ts +76 -0
- package/lib/api/inputs/recipes-inputs.js +74 -0
- package/lib/api/inputs/transforms-inputs.d.ts +34 -0
- package/lib/api/inputs/transforms-inputs.js +35 -0
- package/lib/api/keys/ansi-keys.constants.d.ts +3 -0
- package/lib/api/keys/ansi-keys.constants.js +16 -0
- package/lib/api/keys/ansi-keys.d.ts +3 -0
- package/lib/api/keys/ansi-keys.js +14 -0
- package/lib/api/keys/din-keys.constants.d.ts +3 -0
- package/lib/api/keys/din-keys.constants.js +14 -0
- package/lib/api/keys/din-keys.d.ts +3 -0
- package/lib/api/keys/din-keys.js +13 -0
- package/lib/api/keys/key-types.d.ts +17 -0
- package/lib/api/keys/key-types.js +1 -0
- package/lib/api/keys/keys.constants.d.ts +1 -0
- package/lib/api/keys/keys.constants.js +1 -0
- package/lib/api/knurls/ansi-knurls.constants.d.ts +4 -0
- package/lib/api/knurls/ansi-knurls.constants.js +8 -0
- package/lib/api/knurls/ansi-knurls.d.ts +3 -0
- package/lib/api/knurls/ansi-knurls.js +20 -0
- package/lib/api/knurls/din-knurls.constants.d.ts +2 -0
- package/lib/api/knurls/din-knurls.constants.js +2 -0
- package/lib/api/knurls/din-knurls.d.ts +3 -0
- package/lib/api/knurls/din-knurls.js +19 -0
- package/lib/api/knurls/knurl-types.d.ts +24 -0
- package/lib/api/knurls/knurl-types.js +1 -0
- package/lib/api/knurls/knurls.constants.d.ts +1 -0
- package/lib/api/knurls/knurls.constants.js +1 -0
- package/lib/api/knurls/knurls.d.ts +2 -0
- package/lib/api/knurls/knurls.js +9 -0
- package/lib/api/recipes/checks.d.ts +15 -0
- package/lib/api/recipes/checks.js +85 -0
- package/lib/api/recipes/limits.constants.d.ts +4 -0
- package/lib/api/recipes/limits.constants.js +4 -0
- package/lib/api/recipes/sources.d.ts +0 -13
- package/lib/api/recipes/sources.js +3 -15
- package/lib/api/recipes/surface-mesh.d.ts +0 -14
- package/lib/api/recipes/surface-mesh.js +8 -21
- package/lib/api/recipes/validate-brep.d.ts +2 -0
- package/lib/api/recipes/validate-brep.js +330 -0
- package/lib/api/recipes/validate.d.ts +0 -31
- package/lib/api/recipes/validate.js +7 -115
- package/lib/api/resolved-inputs/index.d.ts +80 -0
- package/lib/api/retaining-rings/ansi-retaining-rings.constants.d.ts +4 -0
- package/lib/api/retaining-rings/ansi-retaining-rings.constants.js +93 -0
- package/lib/api/retaining-rings/ansi-retaining-rings.d.ts +4 -0
- package/lib/api/retaining-rings/ansi-retaining-rings.js +20 -0
- package/lib/api/retaining-rings/din-retaining-rings.constants.d.ts +3 -0
- package/lib/api/retaining-rings/din-retaining-rings.constants.js +115 -0
- package/lib/api/retaining-rings/din-retaining-rings.d.ts +4 -0
- package/lib/api/retaining-rings/din-retaining-rings.js +20 -0
- package/lib/api/retaining-rings/retaining-ring-types.d.ts +30 -0
- package/lib/api/retaining-rings/retaining-ring-types.js +1 -0
- package/lib/api/retaining-rings/retaining-rings.constants.d.ts +1 -0
- package/lib/api/retaining-rings/retaining-rings.constants.js +1 -0
- package/lib/api/retaining-rings/retaining-rings.d.ts +2 -0
- package/lib/api/retaining-rings/retaining-rings.js +9 -0
- package/lib/api/services/base-bitbybit.d.ts +42 -0
- package/lib/api/services/base-bitbybit.js +43 -0
- package/lib/api/services/color.d.ts +35 -2
- package/lib/api/services/color.js +48 -12
- package/lib/api/services/engineering/engineering.d.ts +12 -0
- package/lib/api/services/engineering/engineering.js +13 -0
- package/lib/api/services/engineering/index.d.ts +2 -0
- package/lib/api/services/engineering/index.js +2 -0
- package/lib/api/services/engineering/mechanical/bearings-ansi.d.ts +40 -0
- package/lib/api/services/engineering/mechanical/bearings-ansi.js +47 -0
- package/lib/api/services/engineering/mechanical/bearings-iso.d.ts +39 -0
- package/lib/api/services/engineering/mechanical/bearings-iso.js +46 -0
- package/lib/api/services/engineering/mechanical/bearings.d.ts +14 -0
- package/lib/api/services/engineering/mechanical/bearings.js +15 -0
- package/lib/api/services/engineering/mechanical/fasteners-ansi.d.ts +109 -0
- package/lib/api/services/engineering/mechanical/fasteners-ansi.js +133 -0
- package/lib/api/services/engineering/mechanical/fasteners-iso.d.ts +123 -0
- package/lib/api/services/engineering/mechanical/fasteners-iso.js +151 -0
- package/lib/api/services/engineering/mechanical/fasteners.d.ts +13 -0
- package/lib/api/services/engineering/mechanical/fasteners.js +14 -0
- package/lib/api/services/engineering/mechanical/gears.d.ts +267 -0
- package/lib/api/services/engineering/mechanical/gears.js +318 -0
- package/lib/api/services/engineering/mechanical/index.d.ts +24 -0
- package/lib/api/services/engineering/mechanical/index.js +24 -0
- package/lib/api/services/engineering/mechanical/keys-ansi.d.ts +27 -0
- package/lib/api/services/engineering/mechanical/keys-ansi.js +32 -0
- package/lib/api/services/engineering/mechanical/keys-din.d.ts +26 -0
- package/lib/api/services/engineering/mechanical/keys-din.js +31 -0
- package/lib/api/services/engineering/mechanical/keys.d.ts +14 -0
- package/lib/api/services/engineering/mechanical/keys.js +15 -0
- package/lib/api/services/engineering/mechanical/knurls-ansi.d.ts +26 -0
- package/lib/api/services/engineering/mechanical/knurls-ansi.js +31 -0
- package/lib/api/services/engineering/mechanical/knurls-din.d.ts +26 -0
- package/lib/api/services/engineering/mechanical/knurls-din.js +31 -0
- package/lib/api/services/engineering/mechanical/knurls.d.ts +14 -0
- package/lib/api/services/engineering/mechanical/knurls.js +15 -0
- package/lib/api/services/engineering/mechanical/mechanical.d.ts +29 -0
- package/lib/api/services/engineering/mechanical/mechanical.js +30 -0
- package/lib/api/services/engineering/mechanical/retaining-rings-ansi.d.ts +43 -0
- package/lib/api/services/engineering/mechanical/retaining-rings-ansi.js +51 -0
- package/lib/api/services/engineering/mechanical/retaining-rings-din.d.ts +43 -0
- package/lib/api/services/engineering/mechanical/retaining-rings-din.js +51 -0
- package/lib/api/services/engineering/mechanical/retaining-rings.d.ts +13 -0
- package/lib/api/services/engineering/mechanical/retaining-rings.js +14 -0
- package/lib/api/services/engineering/mechanical/splines-ansi.d.ts +27 -0
- package/lib/api/services/engineering/mechanical/splines-ansi.js +32 -0
- package/lib/api/services/engineering/mechanical/splines-din.d.ts +26 -0
- package/lib/api/services/engineering/mechanical/splines-din.js +31 -0
- package/lib/api/services/engineering/mechanical/splines.d.ts +13 -0
- package/lib/api/services/engineering/mechanical/splines.js +14 -0
- package/lib/api/services/engineering/mechanical/springs.d.ts +27 -0
- package/lib/api/services/engineering/mechanical/springs.js +31 -0
- package/lib/api/services/engineering/mechanical/threads-ansi.d.ts +40 -0
- package/lib/api/services/engineering/mechanical/threads-ansi.js +48 -0
- package/lib/api/services/engineering/mechanical/threads-iso.d.ts +40 -0
- package/lib/api/services/engineering/mechanical/threads-iso.js +48 -0
- package/lib/api/services/engineering/mechanical/threads.d.ts +13 -0
- package/lib/api/services/engineering/mechanical/threads.js +14 -0
- package/lib/api/services/frame.js +3 -3
- package/lib/api/services/geometry-helper.js +8 -111
- package/lib/api/services/helpers/color/color-space.d.ts +2 -0
- package/lib/api/services/helpers/color/color-space.js +12 -0
- package/lib/api/services/helpers/{nurbs.d.ts → curves/nurbs.d.ts} +1 -1
- package/lib/api/services/helpers/{surface-triangulation.d.ts → curves/surface-triangulation.d.ts} +2 -2
- package/lib/api/services/helpers/{surface-triangulation.js → curves/surface-triangulation.js} +14 -8
- package/lib/api/services/helpers/{dxf → files/dxf}/dxf-generator.d.ts +2 -1
- package/lib/api/services/helpers/{dxf → files/dxf}/dxf-generator.js +19 -5
- package/lib/api/services/helpers/files/dxf/dxf.constants.d.ts +4 -0
- package/lib/api/services/helpers/files/dxf/dxf.constants.js +4 -0
- package/lib/api/services/helpers/{dxf → files/dxf}/dxf.d.ts +1 -1
- package/lib/api/services/helpers/{dxf → files/dxf}/dxf.js +2 -2
- package/lib/api/services/helpers/files/glb.constants.d.ts +11 -0
- package/lib/api/services/helpers/files/glb.constants.js +11 -0
- package/lib/api/services/helpers/files/glb.d.ts +1 -0
- package/lib/api/services/helpers/files/glb.js +69 -0
- package/lib/api/services/helpers/files/gzip.constants.d.ts +11 -0
- package/lib/api/services/helpers/files/gzip.constants.js +11 -0
- package/lib/api/services/helpers/files/gzip.d.ts +2 -0
- package/lib/api/services/helpers/files/gzip.js +52 -0
- package/lib/api/services/helpers/{inflate.constants.d.ts → files/inflate.constants.d.ts} +1 -0
- package/lib/api/services/helpers/{inflate.constants.js → files/inflate.constants.js} +1 -0
- package/lib/api/services/helpers/{inflate.d.ts → files/inflate.d.ts} +1 -1
- package/lib/api/services/helpers/{inflate.js → files/inflate.js} +5 -4
- package/lib/api/services/helpers/{zip.d.ts → files/zip.d.ts} +1 -1
- package/lib/api/services/helpers/geometry/arcs.d.ts +9 -0
- package/lib/api/services/helpers/{arcs.js → geometry/arcs.js} +7 -0
- package/lib/api/services/helpers/{frame-axes.d.ts → geometry/frame-axes.d.ts} +8 -5
- package/lib/api/services/helpers/{frame-axes.js → geometry/frame-axes.js} +21 -9
- package/lib/api/services/helpers/geometry/lengths.constants.d.ts +4 -0
- package/lib/api/services/helpers/geometry/lengths.constants.js +3 -0
- package/lib/api/services/helpers/geometry/lengths.d.ts +7 -0
- package/lib/api/services/helpers/geometry/lengths.js +20 -0
- package/lib/api/services/helpers/geometry/matrices.constants.d.ts +8 -0
- package/lib/api/services/helpers/geometry/matrices.constants.js +7 -0
- package/lib/api/services/helpers/geometry/matrices.d.ts +17 -0
- package/lib/api/services/helpers/{matrices.js → geometry/matrices.js} +28 -17
- package/lib/api/services/helpers/{paths.d.ts → geometry/paths.d.ts} +2 -1
- package/lib/api/services/helpers/{paths.js → geometry/paths.js} +36 -30
- package/lib/api/services/helpers/{polygons.d.ts → geometry/polygons.d.ts} +1 -1
- package/lib/api/services/helpers/geometry/polygons.js +111 -0
- package/lib/api/services/helpers/geometry/scalars.d.ts +9 -0
- package/lib/api/services/helpers/geometry/scalars.js +34 -0
- package/lib/api/services/helpers/{triangulation.js → geometry/triangulation.js} +11 -6
- package/lib/api/services/helpers/geometry/vector-grid.d.ts +12 -0
- package/lib/api/services/helpers/geometry/vector-grid.js +149 -0
- package/lib/api/services/helpers/{vectors.d.ts → geometry/vectors.d.ts} +8 -1
- package/lib/api/services/helpers/geometry/vectors.js +43 -0
- package/lib/api/services/helpers/helper-types.d.ts +57 -0
- package/lib/api/services/helpers/mesh/mesh-normals.d.ts +21 -0
- package/lib/api/services/helpers/{mesh-normals.js → mesh/mesh-normals.js} +54 -65
- package/lib/api/services/helpers/mesh/mesh-orientation.d.ts +24 -0
- package/lib/api/services/helpers/mesh/mesh-orientation.js +104 -0
- package/lib/api/services/helpers/{mesh-primitives.d.ts → mesh/mesh-primitives.d.ts} +1 -1
- package/lib/api/services/helpers/{mesh-primitives.js → mesh/mesh-primitives.js} +6 -5
- package/lib/api/services/helpers/mesh/mesh-proximity.constants.d.ts +7 -0
- package/lib/api/services/helpers/mesh/mesh-proximity.constants.js +11 -0
- package/lib/api/services/helpers/mesh/mesh-proximity.d.ts +11 -0
- package/lib/api/services/helpers/mesh/mesh-proximity.js +382 -0
- package/lib/api/services/index.d.ts +3 -0
- package/lib/api/services/index.js +3 -0
- package/lib/api/services/io.d.ts +1 -1
- package/lib/api/services/io.js +1 -1
- package/lib/api/services/line.js +2 -3
- package/lib/api/services/math.d.ts +47 -0
- package/lib/api/services/math.js +77 -10
- package/lib/api/services/mesh.d.ts +174 -2
- package/lib/api/services/mesh.js +305 -7
- package/lib/api/services/point.js +4 -10
- package/lib/api/services/polyline-types.d.ts +6 -0
- package/lib/api/services/polyline-types.js +1 -0
- package/lib/api/services/polyline.d.ts +163 -1
- package/lib/api/services/polyline.js +270 -13
- package/lib/api/services/recipes.d.ts +80 -0
- package/lib/api/services/recipes.js +107 -0
- package/lib/api/services/transforms.d.ts +74 -2
- package/lib/api/services/transforms.js +100 -3
- package/lib/api/services/vector.d.ts +4 -3
- package/lib/api/services/vector.js +14 -14
- package/lib/api/splines/ansi-splines.constants.d.ts +9 -0
- package/lib/api/splines/ansi-splines.constants.js +9 -0
- package/lib/api/splines/ansi-splines.d.ts +3 -0
- package/lib/api/splines/ansi-splines.js +28 -0
- package/lib/api/splines/din-splines.constants.d.ts +12 -0
- package/lib/api/splines/din-splines.constants.js +12 -0
- package/lib/api/splines/din-splines.d.ts +3 -0
- package/lib/api/splines/din-splines.js +38 -0
- package/lib/api/splines/spline-types.d.ts +32 -0
- package/lib/api/splines/spline-types.js +1 -0
- package/lib/api/splines/splines.constants.d.ts +1 -0
- package/lib/api/splines/splines.constants.js +1 -0
- package/lib/api/springs/spring-types.d.ts +26 -0
- package/lib/api/springs/spring-types.js +1 -0
- package/lib/api/springs/springs.constants.d.ts +9 -0
- package/lib/api/springs/springs.constants.js +9 -0
- package/lib/api/springs/springs.d.ts +2 -0
- package/lib/api/springs/springs.js +50 -0
- package/lib/api/threads/ansi-threads.constants.d.ts +6 -0
- package/lib/api/threads/ansi-threads.constants.js +27 -0
- package/lib/api/threads/ansi-threads.d.ts +4 -0
- package/lib/api/threads/ansi-threads.js +50 -0
- package/lib/api/threads/iso-threads.constants.d.ts +5 -0
- package/lib/api/threads/iso-threads.constants.js +20 -0
- package/lib/api/threads/iso-threads.d.ts +4 -0
- package/lib/api/threads/iso-threads.js +32 -0
- package/lib/api/threads/thread-profile.constants.d.ts +3 -0
- package/lib/api/threads/thread-profile.constants.js +3 -0
- package/lib/api/threads/thread-types.d.ts +66 -0
- package/lib/api/threads/thread-types.js +1 -0
- package/package.json +1 -1
- package/lib/api/recipes/index.d.ts +0 -4
- package/lib/api/recipes/index.js +0 -3
- package/lib/api/services/helpers/arcs.d.ts +0 -6
- package/lib/api/services/helpers/matrices.constants.d.ts +0 -2
- package/lib/api/services/helpers/matrices.constants.js +0 -2
- package/lib/api/services/helpers/matrices.d.ts +0 -25
- package/lib/api/services/helpers/mesh-normals.d.ts +0 -11
- package/lib/api/services/helpers/polygons.js +0 -59
- package/lib/api/services/helpers/vectors.js +0 -17
- /package/lib/api/services/helpers/{nurbs.js → curves/nurbs.js} +0 -0
- /package/lib/api/services/helpers/{crc32.d.ts → files/crc32.d.ts} +0 -0
- /package/lib/api/services/helpers/{crc32.js → files/crc32.js} +0 -0
- /package/lib/api/services/helpers/{zip.constants.d.ts → files/zip.constants.d.ts} +0 -0
- /package/lib/api/services/helpers/{zip.constants.js → files/zip.constants.js} +0 -0
- /package/lib/api/services/helpers/{zip.js → files/zip.js} +0 -0
- /package/lib/api/services/helpers/{triangulation.d.ts → geometry/triangulation.d.ts} +0 -0
- /package/lib/api/services/helpers/{mesh-measures.d.ts → mesh/mesh-measures.d.ts} +0 -0
- /package/lib/api/services/helpers/{mesh-measures.js → mesh/mesh-measures.js} +0 -0
- /package/lib/api/services/helpers/{mesh-primitives.constants.d.ts → mesh/mesh-primitives.constants.d.ts} +0 -0
- /package/lib/api/services/helpers/{mesh-primitives.constants.js → mesh/mesh-primitives.constants.js} +0 -0
|
@@ -0,0 +1,1539 @@
|
|
|
1
|
+
import { Base } from "./base-inputs";
|
|
2
|
+
/**
|
|
3
|
+
* Parameters for `engineering`: the teeth of gears, and the sizes of fasteners, threads, ball
|
|
4
|
+
* bearings, keys, retaining rings, splines, knurls and compression springs by the standard that
|
|
5
|
+
* sets them. Each standard's sizes come in the `unit` asked for; gears and springs in model units.
|
|
6
|
+
*/
|
|
7
|
+
export declare namespace Engineering {
|
|
8
|
+
/**
|
|
9
|
+
* An ISO metric thread size, from M1.6 to M24: the nominal diameter in millimetres after the M.
|
|
10
|
+
* @optionLabels value
|
|
11
|
+
*/
|
|
12
|
+
enum isoThreadSizeEnum {
|
|
13
|
+
m1_6 = "M1.6",
|
|
14
|
+
m2 = "M2",
|
|
15
|
+
m2_5 = "M2.5",
|
|
16
|
+
m3 = "M3",
|
|
17
|
+
m4 = "M4",
|
|
18
|
+
m5 = "M5",
|
|
19
|
+
m6 = "M6",
|
|
20
|
+
m8 = "M8",
|
|
21
|
+
m10 = "M10",
|
|
22
|
+
m12 = "M12",
|
|
23
|
+
m14 = "M14",
|
|
24
|
+
m16 = "M16",
|
|
25
|
+
m20 = "M20",
|
|
26
|
+
m24 = "M24"
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* How much room a clearance hole leaves around its screw: close (fine), normal (medium) or loose
|
|
30
|
+
* (coarse), as ISO 273 and ASME B18.2.8 grade it.
|
|
31
|
+
*/
|
|
32
|
+
enum clearanceFitEnum {
|
|
33
|
+
close = "close",
|
|
34
|
+
normal = "normal",
|
|
35
|
+
loose = "loose"
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The point of an ISO hexagon socket set screw: flat (ISO 4026), cone (ISO 4027), dog (ISO 4028)
|
|
39
|
+
* or cup (ISO 4029).
|
|
40
|
+
*/
|
|
41
|
+
enum isoSetScrewPointEnum {
|
|
42
|
+
flat = "flat",
|
|
43
|
+
cone = "cone",
|
|
44
|
+
dog = "dog",
|
|
45
|
+
cup = "cup"
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A Unified inch thread size, from #0 to 1 inch: a number for the small sizes, a fraction of an
|
|
49
|
+
* inch for the larger ones.
|
|
50
|
+
* @optionLabels value
|
|
51
|
+
*/
|
|
52
|
+
enum ansiThreadSizeEnum {
|
|
53
|
+
n0 = "#0",
|
|
54
|
+
n1 = "#1",
|
|
55
|
+
n2 = "#2",
|
|
56
|
+
n3 = "#3",
|
|
57
|
+
n4 = "#4",
|
|
58
|
+
n5 = "#5",
|
|
59
|
+
n6 = "#6",
|
|
60
|
+
n8 = "#8",
|
|
61
|
+
n10 = "#10",
|
|
62
|
+
n12 = "#12",
|
|
63
|
+
in1_4 = "1/4",
|
|
64
|
+
in5_16 = "5/16",
|
|
65
|
+
in3_8 = "3/8",
|
|
66
|
+
in7_16 = "7/16",
|
|
67
|
+
in1_2 = "1/2",
|
|
68
|
+
in9_16 = "9/16",
|
|
69
|
+
in5_8 = "5/8",
|
|
70
|
+
in3_4 = "3/4",
|
|
71
|
+
in7_8 = "7/8",
|
|
72
|
+
in1 = "1"
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* The series of a Unified inch thread: coarse (UNC) or fine (UNF).
|
|
76
|
+
* @optionLabels value
|
|
77
|
+
*/
|
|
78
|
+
enum ansiThreadSeriesEnum {
|
|
79
|
+
unc = "UNC",
|
|
80
|
+
unf = "UNF"
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The point of an ASME B18.3 hexagon socket set screw: cup, flat, cone, oval or half dog.
|
|
84
|
+
*/
|
|
85
|
+
enum ansiSetScrewPointEnum {
|
|
86
|
+
cup = "cup",
|
|
87
|
+
flat = "flat",
|
|
88
|
+
cone = "cone",
|
|
89
|
+
oval = "oval",
|
|
90
|
+
halfDog = "halfDog"
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The series of an ASME B18.22.1 type A plain washer: narrow, the former SAE sizes, or wide, the
|
|
94
|
+
* former standard plate sizes.
|
|
95
|
+
*/
|
|
96
|
+
enum ansiWasherSeriesEnum {
|
|
97
|
+
narrow = "narrow",
|
|
98
|
+
wide = "wide"
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* An inch deep groove ball bearing by its R-series designation: the miniature R1-4 to R1810, and
|
|
102
|
+
* R2 to R20, whose number is the bore in sixteenths of an inch.
|
|
103
|
+
* @optionLabels value
|
|
104
|
+
*/
|
|
105
|
+
enum ansiBallBearingEnum {
|
|
106
|
+
r1_4 = "R1-4",
|
|
107
|
+
r1_5 = "R1-5",
|
|
108
|
+
r133 = "R133",
|
|
109
|
+
r144 = "R144",
|
|
110
|
+
r155 = "R155",
|
|
111
|
+
r156 = "R156",
|
|
112
|
+
r166 = "R166",
|
|
113
|
+
r168 = "R168",
|
|
114
|
+
r188 = "R188",
|
|
115
|
+
r1810 = "R1810",
|
|
116
|
+
r2 = "R2",
|
|
117
|
+
r2_5 = "R2-5",
|
|
118
|
+
r2_6 = "R2-6",
|
|
119
|
+
r3 = "R3",
|
|
120
|
+
r4 = "R4",
|
|
121
|
+
r4a = "R4A",
|
|
122
|
+
r6 = "R6",
|
|
123
|
+
r8 = "R8",
|
|
124
|
+
r10 = "R10",
|
|
125
|
+
r12 = "R12",
|
|
126
|
+
r14 = "R14",
|
|
127
|
+
r16 = "R16",
|
|
128
|
+
r18 = "R18",
|
|
129
|
+
r20 = "R20"
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* The diametral pitch of an ANSI B92.1 involute spline as the standard writes it: the pitch over
|
|
133
|
+
* the stub pitch that sets the teeth's depth, such as 16/32. These are the pitches the standard
|
|
134
|
+
* gives its 30 degree flat root side fit, 2.5/5 to 32/64; the finer ones it makes only with a
|
|
135
|
+
* fillet root or at 45 degrees.
|
|
136
|
+
* @optionLabels value
|
|
137
|
+
*/
|
|
138
|
+
enum ansiSplinePitchEnum {
|
|
139
|
+
p2_5_5 = "2.5/5",
|
|
140
|
+
p3_6 = "3/6",
|
|
141
|
+
p4_8 = "4/8",
|
|
142
|
+
p5_10 = "5/10",
|
|
143
|
+
p6_12 = "6/12",
|
|
144
|
+
p8_16 = "8/16",
|
|
145
|
+
p10_20 = "10/20",
|
|
146
|
+
p12_24 = "12/24",
|
|
147
|
+
p16_32 = "16/32",
|
|
148
|
+
p20_40 = "20/40",
|
|
149
|
+
p24_48 = "24/48",
|
|
150
|
+
p32_64 = "32/64"
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* The standard a key and its keyway are sized by: the metric DIN 6885 or the inch ANSI B17.1.
|
|
154
|
+
*/
|
|
155
|
+
enum keyStandardEnum {
|
|
156
|
+
din = "din",
|
|
157
|
+
ansi = "ansi"
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Where a retaining ring sits: on a shaft (DIN 471, or an external ASME B18.27 ring) or in a bore
|
|
161
|
+
* (DIN 472, or an internal one).
|
|
162
|
+
*/
|
|
163
|
+
enum retainingRingKindEnum {
|
|
164
|
+
shaft = "shaft",
|
|
165
|
+
bore = "bore"
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The pattern of a knurl: straight grooves (DIN 82 RAA), helical grooves turning left (RBL) or
|
|
169
|
+
* right (RBR), or both crossing in a raised diamond (RGE); ASME B94.6 names the helical ones
|
|
170
|
+
* diagonal.
|
|
171
|
+
*/
|
|
172
|
+
enum knurlPatternEnum {
|
|
173
|
+
straight = "straight",
|
|
174
|
+
left = "left",
|
|
175
|
+
right = "right",
|
|
176
|
+
diamond = "diamond"
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* A deep groove ball bearing by its ISO designation, from the 60 and 62 series and the small 62x
|
|
180
|
+
* and 60x sizes.
|
|
181
|
+
* @optionLabels value
|
|
182
|
+
*/
|
|
183
|
+
enum isoBallBearingEnum {
|
|
184
|
+
b623 = "623",
|
|
185
|
+
b624 = "624",
|
|
186
|
+
b625 = "625",
|
|
187
|
+
b626 = "626",
|
|
188
|
+
b608 = "608",
|
|
189
|
+
b609 = "609",
|
|
190
|
+
b6000 = "6000",
|
|
191
|
+
b6001 = "6001",
|
|
192
|
+
b6002 = "6002",
|
|
193
|
+
b6003 = "6003",
|
|
194
|
+
b6004 = "6004",
|
|
195
|
+
b6005 = "6005",
|
|
196
|
+
b6006 = "6006",
|
|
197
|
+
b6007 = "6007",
|
|
198
|
+
b6008 = "6008",
|
|
199
|
+
b6009 = "6009",
|
|
200
|
+
b6010 = "6010",
|
|
201
|
+
b6200 = "6200",
|
|
202
|
+
b6201 = "6201",
|
|
203
|
+
b6202 = "6202",
|
|
204
|
+
b6203 = "6203",
|
|
205
|
+
b6204 = "6204",
|
|
206
|
+
b6205 = "6205",
|
|
207
|
+
b6206 = "6206",
|
|
208
|
+
b6207 = "6207",
|
|
209
|
+
b6208 = "6208",
|
|
210
|
+
b6209 = "6209",
|
|
211
|
+
b6210 = "6210"
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* The teeth of an involute spur gear, shared by `engineering.mechanical.gears.spurGearSizes` and
|
|
215
|
+
* `engineering.mechanical.gears.spurGearOutline`: their size, their shape and how loosely they fit.
|
|
216
|
+
*/
|
|
217
|
+
abstract class SpurGearSharedDto {
|
|
218
|
+
/**
|
|
219
|
+
* The size of the teeth: the pitch circle's diameter divided by the number of teeth, in
|
|
220
|
+
* model units. Gears mesh only with gears of the same module.
|
|
221
|
+
* @default 0.2
|
|
222
|
+
* @minimum 0
|
|
223
|
+
* @exclusiveMinimum true
|
|
224
|
+
* @maximum Infinity
|
|
225
|
+
* @step 0.05
|
|
226
|
+
*/
|
|
227
|
+
module?: number | undefined;
|
|
228
|
+
/**
|
|
229
|
+
* How many teeth the gear has, at least 3.
|
|
230
|
+
* @default 20
|
|
231
|
+
* @minimum 3
|
|
232
|
+
* @maximum Infinity
|
|
233
|
+
* @step 1
|
|
234
|
+
*/
|
|
235
|
+
teeth?: number | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* The angle at which meshing teeth push on each other, in degrees; 20 is the common
|
|
238
|
+
* standard, and meshing gears share it.
|
|
239
|
+
* @default 20
|
|
240
|
+
* @minimum 0
|
|
241
|
+
* @exclusiveMinimum true
|
|
242
|
+
* @maximum 45
|
|
243
|
+
* @exclusiveMaximum true
|
|
244
|
+
* @step 0.5
|
|
245
|
+
*/
|
|
246
|
+
pressureAngle?: number | undefined;
|
|
247
|
+
/**
|
|
248
|
+
* How far the teeth are moved out from the pitch circle, as a share of the module. Positive
|
|
249
|
+
* values give thicker teeth that small gears need, negative values thinner ones.
|
|
250
|
+
* @default 0
|
|
251
|
+
* @minimum -Infinity
|
|
252
|
+
* @maximum Infinity
|
|
253
|
+
* @step 0.05
|
|
254
|
+
*/
|
|
255
|
+
profileShift?: number | undefined;
|
|
256
|
+
/**
|
|
257
|
+
* How much thinner each tooth is at the pitch circle than a tight fit, in model units; two
|
|
258
|
+
* meshing gears leave the sum of their backlash between their teeth.
|
|
259
|
+
* @default 0
|
|
260
|
+
* @minimum 0
|
|
261
|
+
* @maximum Infinity
|
|
262
|
+
* @step 0.01
|
|
263
|
+
*/
|
|
264
|
+
backlash?: number | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* How far the teeth reach above the pitch circle, as a share of the module.
|
|
267
|
+
* @default 1
|
|
268
|
+
* @minimum 0
|
|
269
|
+
* @exclusiveMinimum true
|
|
270
|
+
* @maximum Infinity
|
|
271
|
+
* @step 0.05
|
|
272
|
+
*/
|
|
273
|
+
addendum?: number | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* How deep the gaps reach below the pitch circle, as a share of the module; more than
|
|
276
|
+
* `addendum` leaves room for the tips of the mating gear.
|
|
277
|
+
* @default 1.25
|
|
278
|
+
* @minimum 0
|
|
279
|
+
* @exclusiveMinimum true
|
|
280
|
+
* @maximum Infinity
|
|
281
|
+
* @step 0.05
|
|
282
|
+
*/
|
|
283
|
+
dedendum?: number | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* The radius that rounds the bottom of each gap, as a share of the module. It shrinks to
|
|
286
|
+
* fit a narrow gap, and 0 leaves a sharp corner.
|
|
287
|
+
* @default 0.38
|
|
288
|
+
* @minimum 0
|
|
289
|
+
* @maximum Infinity
|
|
290
|
+
* @step 0.01
|
|
291
|
+
*/
|
|
292
|
+
rootFillet?: number | undefined;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* The teeth of a spur gear for `engineering.mechanical.gears.spurGearSizes`.
|
|
296
|
+
*/
|
|
297
|
+
class SpurGearSizesDto extends SpurGearSharedDto {
|
|
298
|
+
constructor(module?: number, teeth?: number, pressureAngle?: number, profileShift?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number);
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* The teeth of a spur gear for `engineering.mechanical.gears.spurGearOutline`, with how far it is turned and
|
|
302
|
+
* how finely its curves become points.
|
|
303
|
+
*/
|
|
304
|
+
class SpurGearOutlineDto extends SpurGearSharedDto {
|
|
305
|
+
constructor(rotation?: number, segments?: number, module?: number, teeth?: number, pressureAngle?: number, profileShift?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number);
|
|
306
|
+
/**
|
|
307
|
+
* How far the gear is turned about its centre, in degrees. At 0 a tooth points along +X.
|
|
308
|
+
* @default 0
|
|
309
|
+
* @minimum -Infinity
|
|
310
|
+
* @maximum Infinity
|
|
311
|
+
* @step 1
|
|
312
|
+
*/
|
|
313
|
+
rotation?: number | undefined;
|
|
314
|
+
/**
|
|
315
|
+
* How many straight pieces stand for each curve of the outline: each tip, flank piece and
|
|
316
|
+
* root.
|
|
317
|
+
* @default 8
|
|
318
|
+
* @minimum 1
|
|
319
|
+
* @maximum Infinity
|
|
320
|
+
* @step 1
|
|
321
|
+
*/
|
|
322
|
+
segments?: number | undefined;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* The teeth of an involute ring gear, cut on the inside of a ring, shared by
|
|
326
|
+
* `engineering.mechanical.gears.ringGearSizes` and `engineering.mechanical.gears.ringGearOutline`: their size, their
|
|
327
|
+
* shape and how loosely they fit.
|
|
328
|
+
*/
|
|
329
|
+
abstract class RingGearSharedDto {
|
|
330
|
+
/**
|
|
331
|
+
* The size of the teeth: the pitch circle's diameter divided by the number of teeth, in
|
|
332
|
+
* model units. It meshes only with gears of the same module.
|
|
333
|
+
* @default 0.2
|
|
334
|
+
* @minimum 0
|
|
335
|
+
* @exclusiveMinimum true
|
|
336
|
+
* @maximum Infinity
|
|
337
|
+
* @step 0.05
|
|
338
|
+
*/
|
|
339
|
+
module?: number | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* How many teeth the ring has; about 34 at least at 20 degrees, so that the tips of its
|
|
342
|
+
* teeth stay outside the base circle.
|
|
343
|
+
* @default 40
|
|
344
|
+
* @minimum 3
|
|
345
|
+
* @maximum Infinity
|
|
346
|
+
* @step 1
|
|
347
|
+
*/
|
|
348
|
+
teeth?: number | undefined;
|
|
349
|
+
/**
|
|
350
|
+
* The angle at which meshing teeth push on each other, in degrees; 20 is the common
|
|
351
|
+
* standard, and meshing gears share it.
|
|
352
|
+
* @default 20
|
|
353
|
+
* @minimum 0
|
|
354
|
+
* @exclusiveMinimum true
|
|
355
|
+
* @maximum 45
|
|
356
|
+
* @exclusiveMaximum true
|
|
357
|
+
* @step 0.5
|
|
358
|
+
*/
|
|
359
|
+
pressureAngle?: number | undefined;
|
|
360
|
+
/**
|
|
361
|
+
* How much thinner each tooth is at the pitch circle than a tight fit, in model units; two
|
|
362
|
+
* meshing gears leave the sum of their backlash between their teeth.
|
|
363
|
+
* @default 0
|
|
364
|
+
* @minimum 0
|
|
365
|
+
* @maximum Infinity
|
|
366
|
+
* @step 0.01
|
|
367
|
+
*/
|
|
368
|
+
backlash?: number | undefined;
|
|
369
|
+
/**
|
|
370
|
+
* How far the teeth reach in from the pitch circle toward the centre, as a share of the
|
|
371
|
+
* module.
|
|
372
|
+
* @default 1
|
|
373
|
+
* @minimum 0
|
|
374
|
+
* @exclusiveMinimum true
|
|
375
|
+
* @maximum Infinity
|
|
376
|
+
* @step 0.05
|
|
377
|
+
*/
|
|
378
|
+
addendum?: number | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* How deep the gaps reach out beyond the pitch circle, as a share of the module; more than
|
|
381
|
+
* `addendum` leaves room for the tips of the mating gear.
|
|
382
|
+
* @default 1.25
|
|
383
|
+
* @minimum 0
|
|
384
|
+
* @exclusiveMinimum true
|
|
385
|
+
* @maximum Infinity
|
|
386
|
+
* @step 0.05
|
|
387
|
+
*/
|
|
388
|
+
dedendum?: number | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* The radius that rounds the bottom of each gap, as a share of the module. It shrinks to
|
|
391
|
+
* fit a narrow gap, and 0 leaves a sharp corner.
|
|
392
|
+
* @default 0.38
|
|
393
|
+
* @minimum 0
|
|
394
|
+
* @maximum Infinity
|
|
395
|
+
* @step 0.01
|
|
396
|
+
*/
|
|
397
|
+
rootFillet?: number | undefined;
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* The teeth of a ring gear for `engineering.mechanical.gears.ringGearSizes`.
|
|
401
|
+
*/
|
|
402
|
+
class RingGearSizesDto extends RingGearSharedDto {
|
|
403
|
+
constructor(module?: number, teeth?: number, pressureAngle?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number);
|
|
404
|
+
}
|
|
405
|
+
/**
|
|
406
|
+
* The teeth of a ring gear for `engineering.mechanical.gears.ringGearOutline`, with how far it is turned and
|
|
407
|
+
* how finely its curves become points.
|
|
408
|
+
*/
|
|
409
|
+
class RingGearOutlineDto extends RingGearSharedDto {
|
|
410
|
+
constructor(rotation?: number, segments?: number, module?: number, teeth?: number, pressureAngle?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number);
|
|
411
|
+
/**
|
|
412
|
+
* How far the ring is turned about its centre, in degrees. At 0 a tooth points along +X.
|
|
413
|
+
* @default 0
|
|
414
|
+
* @minimum -Infinity
|
|
415
|
+
* @maximum Infinity
|
|
416
|
+
* @step 1
|
|
417
|
+
*/
|
|
418
|
+
rotation?: number | undefined;
|
|
419
|
+
/**
|
|
420
|
+
* How many straight pieces stand for each curve of the outline: each tip, flank piece and
|
|
421
|
+
* root.
|
|
422
|
+
* @default 8
|
|
423
|
+
* @minimum 1
|
|
424
|
+
* @maximum Infinity
|
|
425
|
+
* @step 1
|
|
426
|
+
*/
|
|
427
|
+
segments?: number | undefined;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* The teeth of an involute rack, shared by `engineering.mechanical.gears.rackSizes` and
|
|
431
|
+
* `engineering.mechanical.gears.rackOutline`: their size and shape, how loosely they fit and how deep the
|
|
432
|
+
* rack is.
|
|
433
|
+
*/
|
|
434
|
+
abstract class RackSharedDto {
|
|
435
|
+
/**
|
|
436
|
+
* The module of the gears the rack meshes with, in model units.
|
|
437
|
+
* @default 0.2
|
|
438
|
+
* @minimum 0
|
|
439
|
+
* @exclusiveMinimum true
|
|
440
|
+
* @maximum Infinity
|
|
441
|
+
* @step 0.05
|
|
442
|
+
*/
|
|
443
|
+
module?: number | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* How many teeth the rack has, at least 1.
|
|
446
|
+
* @default 10
|
|
447
|
+
* @minimum 1
|
|
448
|
+
* @maximum Infinity
|
|
449
|
+
* @step 1
|
|
450
|
+
*/
|
|
451
|
+
teeth?: number | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* The angle of each flank from square to the pitch line, in degrees; it matches the gears'.
|
|
454
|
+
* @default 20
|
|
455
|
+
* @minimum 0
|
|
456
|
+
* @exclusiveMinimum true
|
|
457
|
+
* @maximum 45
|
|
458
|
+
* @exclusiveMaximum true
|
|
459
|
+
* @step 0.5
|
|
460
|
+
*/
|
|
461
|
+
pressureAngle?: number | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* How much thinner each tooth is at the pitch line than a tight fit, in model units.
|
|
464
|
+
* @default 0
|
|
465
|
+
* @minimum 0
|
|
466
|
+
* @maximum Infinity
|
|
467
|
+
* @step 0.01
|
|
468
|
+
*/
|
|
469
|
+
backlash?: number | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* How far the teeth reach above the pitch line, as a share of the module.
|
|
472
|
+
* @default 1
|
|
473
|
+
* @minimum 0
|
|
474
|
+
* @exclusiveMinimum true
|
|
475
|
+
* @maximum Infinity
|
|
476
|
+
* @step 0.05
|
|
477
|
+
*/
|
|
478
|
+
addendum?: number | undefined;
|
|
479
|
+
/**
|
|
480
|
+
* How deep the gaps reach below the pitch line, as a share of the module.
|
|
481
|
+
* @default 1.25
|
|
482
|
+
* @minimum 0
|
|
483
|
+
* @exclusiveMinimum true
|
|
484
|
+
* @maximum Infinity
|
|
485
|
+
* @step 0.05
|
|
486
|
+
*/
|
|
487
|
+
dedendum?: number | undefined;
|
|
488
|
+
/**
|
|
489
|
+
* The radius that rounds the bottom of each gap, as a share of the module; it shrinks to
|
|
490
|
+
* fit.
|
|
491
|
+
* @default 0.38
|
|
492
|
+
* @minimum 0
|
|
493
|
+
* @maximum Infinity
|
|
494
|
+
* @step 0.01
|
|
495
|
+
*/
|
|
496
|
+
rootFillet?: number | undefined;
|
|
497
|
+
/**
|
|
498
|
+
* How far the back of the rack lies below the pitch line, in model units, beyond the gaps.
|
|
499
|
+
* @default 0.6
|
|
500
|
+
* @minimum 0
|
|
501
|
+
* @exclusiveMinimum true
|
|
502
|
+
* @maximum Infinity
|
|
503
|
+
* @step 0.1
|
|
504
|
+
*/
|
|
505
|
+
height?: number | undefined;
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* The teeth of a rack for `engineering.mechanical.gears.rackSizes`.
|
|
509
|
+
*/
|
|
510
|
+
class RackSizesDto extends RackSharedDto {
|
|
511
|
+
constructor(module?: number, teeth?: number, pressureAngle?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number, height?: number);
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* The teeth of a rack for `engineering.mechanical.gears.rackOutline`, with how finely its curves become
|
|
515
|
+
* points.
|
|
516
|
+
*/
|
|
517
|
+
class RackOutlineDto extends RackSharedDto {
|
|
518
|
+
constructor(segments?: number, module?: number, teeth?: number, pressureAngle?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number, height?: number);
|
|
519
|
+
/**
|
|
520
|
+
* How many straight pieces stand for each rounded root.
|
|
521
|
+
* @default 8
|
|
522
|
+
* @minimum 1
|
|
523
|
+
* @maximum Infinity
|
|
524
|
+
* @step 1
|
|
525
|
+
*/
|
|
526
|
+
segments?: number | undefined;
|
|
527
|
+
}
|
|
528
|
+
/**
|
|
529
|
+
* The teeth of an involute helical gear, shared by `engineering.mechanical.gears.helicalGearSizes` and
|
|
530
|
+
* `engineering.mechanical.gears.helicalGearOutline`: their size and lean, their shape and how loosely they
|
|
531
|
+
* fit, measured square to the teeth.
|
|
532
|
+
*/
|
|
533
|
+
abstract class HelicalGearSharedDto {
|
|
534
|
+
/**
|
|
535
|
+
* The normal module: the tooth size measured square to the teeth, in model units, as the
|
|
536
|
+
* cutter's module. Only gears of one module mesh.
|
|
537
|
+
* @default 0.2
|
|
538
|
+
* @minimum 0
|
|
539
|
+
* @exclusiveMinimum true
|
|
540
|
+
* @maximum Infinity
|
|
541
|
+
* @step 0.05
|
|
542
|
+
*/
|
|
543
|
+
module?: number | undefined;
|
|
544
|
+
/**
|
|
545
|
+
* How many teeth the gear has, at least 3.
|
|
546
|
+
* @default 20
|
|
547
|
+
* @minimum 3
|
|
548
|
+
* @maximum Infinity
|
|
549
|
+
* @step 1
|
|
550
|
+
*/
|
|
551
|
+
teeth?: number | undefined;
|
|
552
|
+
/**
|
|
553
|
+
* The teeth's lean from the axis in degrees: positive for a right hand, negative for a left.
|
|
554
|
+
* Two external helical gears mesh at one angle in opposite hands.
|
|
555
|
+
* @default 15
|
|
556
|
+
* @minimum -45
|
|
557
|
+
* @exclusiveMinimum true
|
|
558
|
+
* @maximum 45
|
|
559
|
+
* @exclusiveMaximum true
|
|
560
|
+
* @step 1
|
|
561
|
+
*/
|
|
562
|
+
helixAngle?: number | undefined;
|
|
563
|
+
/**
|
|
564
|
+
* The angle at which meshing teeth push on each other, in degrees, measured square to the
|
|
565
|
+
* teeth; 20 is the common standard, and meshing gears share it.
|
|
566
|
+
* @default 20
|
|
567
|
+
* @minimum 0
|
|
568
|
+
* @exclusiveMinimum true
|
|
569
|
+
* @maximum 45
|
|
570
|
+
* @exclusiveMaximum true
|
|
571
|
+
* @step 0.5
|
|
572
|
+
*/
|
|
573
|
+
pressureAngle?: number | undefined;
|
|
574
|
+
/**
|
|
575
|
+
* How far the teeth are moved out from the pitch circle, as a share of the module. Positive
|
|
576
|
+
* values give thicker teeth that small gears need, negative values thinner ones.
|
|
577
|
+
* @default 0
|
|
578
|
+
* @minimum -Infinity
|
|
579
|
+
* @maximum Infinity
|
|
580
|
+
* @step 0.05
|
|
581
|
+
*/
|
|
582
|
+
profileShift?: number | undefined;
|
|
583
|
+
/**
|
|
584
|
+
* How much thinner each tooth is round the pitch circle than a tight fit, in model units; two
|
|
585
|
+
* meshing gears leave the sum of their backlash between their teeth.
|
|
586
|
+
* @default 0
|
|
587
|
+
* @minimum 0
|
|
588
|
+
* @maximum Infinity
|
|
589
|
+
* @step 0.01
|
|
590
|
+
*/
|
|
591
|
+
backlash?: number | undefined;
|
|
592
|
+
/**
|
|
593
|
+
* How far the teeth reach above the pitch circle, as a share of the module.
|
|
594
|
+
* @default 1
|
|
595
|
+
* @minimum 0
|
|
596
|
+
* @exclusiveMinimum true
|
|
597
|
+
* @maximum Infinity
|
|
598
|
+
* @step 0.05
|
|
599
|
+
*/
|
|
600
|
+
addendum?: number | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* How deep the gaps reach below the pitch circle, as a share of the module; more than
|
|
603
|
+
* `addendum` leaves room for the tips of the mating gear.
|
|
604
|
+
* @default 1.25
|
|
605
|
+
* @minimum 0
|
|
606
|
+
* @exclusiveMinimum true
|
|
607
|
+
* @maximum Infinity
|
|
608
|
+
* @step 0.05
|
|
609
|
+
*/
|
|
610
|
+
dedendum?: number | undefined;
|
|
611
|
+
/**
|
|
612
|
+
* The radius that rounds the bottom of each gap, as a share of the module. It shrinks to
|
|
613
|
+
* fit a narrow gap, and 0 leaves a sharp corner.
|
|
614
|
+
* @default 0.38
|
|
615
|
+
* @minimum 0
|
|
616
|
+
* @maximum Infinity
|
|
617
|
+
* @step 0.01
|
|
618
|
+
*/
|
|
619
|
+
rootFillet?: number | undefined;
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* The teeth of a helical gear for `engineering.mechanical.gears.helicalGearSizes`.
|
|
623
|
+
*/
|
|
624
|
+
class HelicalGearSizesDto extends HelicalGearSharedDto {
|
|
625
|
+
constructor(module?: number, teeth?: number, helixAngle?: number, pressureAngle?: number, profileShift?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number);
|
|
626
|
+
}
|
|
627
|
+
/**
|
|
628
|
+
* The teeth of a helical gear for `engineering.mechanical.gears.helicalGearOutline`, with how far it is turned
|
|
629
|
+
* and how finely its curves become points.
|
|
630
|
+
*/
|
|
631
|
+
class HelicalGearOutlineDto extends HelicalGearSharedDto {
|
|
632
|
+
constructor(rotation?: number, segments?: number, module?: number, teeth?: number, helixAngle?: number, pressureAngle?: number, profileShift?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number);
|
|
633
|
+
/**
|
|
634
|
+
* How far the gear is turned about its centre, in degrees. At 0 a tooth points along +X.
|
|
635
|
+
* @default 0
|
|
636
|
+
* @minimum -Infinity
|
|
637
|
+
* @maximum Infinity
|
|
638
|
+
* @step 1
|
|
639
|
+
*/
|
|
640
|
+
rotation?: number | undefined;
|
|
641
|
+
/**
|
|
642
|
+
* How many straight pieces stand for each curve of the outline: each tip, flank piece and
|
|
643
|
+
* root.
|
|
644
|
+
* @default 8
|
|
645
|
+
* @minimum 1
|
|
646
|
+
* @maximum Infinity
|
|
647
|
+
* @step 1
|
|
648
|
+
*/
|
|
649
|
+
segments?: number | undefined;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* The teeth of a straight bevel gear, shared by `engineering.mechanical.gears.bevelGearSizes` and
|
|
653
|
+
* `engineering.mechanical.gears.bevelGearOutline`: their size at the back, the gear they mesh with and the
|
|
654
|
+
* angle between the two, their shape and how loosely they fit.
|
|
655
|
+
*/
|
|
656
|
+
abstract class BevelGearSharedDto {
|
|
657
|
+
/**
|
|
658
|
+
* The tooth size at the back, the gear's outer end: the outer pitch diameter divided by the
|
|
659
|
+
* teeth, in model units. Only gears of one module mesh.
|
|
660
|
+
* @default 0.2
|
|
661
|
+
* @minimum 0
|
|
662
|
+
* @exclusiveMinimum true
|
|
663
|
+
* @maximum Infinity
|
|
664
|
+
* @step 0.05
|
|
665
|
+
*/
|
|
666
|
+
module?: number | undefined;
|
|
667
|
+
/**
|
|
668
|
+
* How many teeth the gear has, at least 3.
|
|
669
|
+
* @default 20
|
|
670
|
+
* @minimum 3
|
|
671
|
+
* @maximum Infinity
|
|
672
|
+
* @step 1
|
|
673
|
+
*/
|
|
674
|
+
teeth?: number | undefined;
|
|
675
|
+
/**
|
|
676
|
+
* How many teeth the gear it meshes with has. With `shaftAngle` it sets the cone the gear
|
|
677
|
+
* rolls on.
|
|
678
|
+
* @default 20
|
|
679
|
+
* @minimum 3
|
|
680
|
+
* @maximum Infinity
|
|
681
|
+
* @step 1
|
|
682
|
+
*/
|
|
683
|
+
mateTeeth?: number | undefined;
|
|
684
|
+
/**
|
|
685
|
+
* The angle between the two gears' axes, in degrees; 90 turns a drive through a right angle.
|
|
686
|
+
* @default 90
|
|
687
|
+
* @minimum 0
|
|
688
|
+
* @exclusiveMinimum true
|
|
689
|
+
* @maximum 180
|
|
690
|
+
* @exclusiveMaximum true
|
|
691
|
+
* @step 1
|
|
692
|
+
*/
|
|
693
|
+
shaftAngle?: number | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* The angle at which meshing teeth push on each other, in degrees; 20 is the common
|
|
696
|
+
* standard, and meshing gears share it.
|
|
697
|
+
* @default 20
|
|
698
|
+
* @minimum 0
|
|
699
|
+
* @exclusiveMinimum true
|
|
700
|
+
* @maximum 45
|
|
701
|
+
* @exclusiveMaximum true
|
|
702
|
+
* @step 0.5
|
|
703
|
+
*/
|
|
704
|
+
pressureAngle?: number | undefined;
|
|
705
|
+
/**
|
|
706
|
+
* How much thinner each tooth is at the outer pitch circle than a tight fit, in model units.
|
|
707
|
+
* @default 0
|
|
708
|
+
* @minimum 0
|
|
709
|
+
* @maximum Infinity
|
|
710
|
+
* @step 0.01
|
|
711
|
+
*/
|
|
712
|
+
backlash?: number | undefined;
|
|
713
|
+
/**
|
|
714
|
+
* How far the teeth reach above the pitch cone at the back, as a share of the module.
|
|
715
|
+
* @default 1
|
|
716
|
+
* @minimum 0
|
|
717
|
+
* @exclusiveMinimum true
|
|
718
|
+
* @maximum Infinity
|
|
719
|
+
* @step 0.05
|
|
720
|
+
*/
|
|
721
|
+
addendum?: number | undefined;
|
|
722
|
+
/**
|
|
723
|
+
* How deep the gaps reach below the pitch cone at the back, as a share of the module.
|
|
724
|
+
* @default 1.25
|
|
725
|
+
* @minimum 0
|
|
726
|
+
* @exclusiveMinimum true
|
|
727
|
+
* @maximum Infinity
|
|
728
|
+
* @step 0.05
|
|
729
|
+
*/
|
|
730
|
+
dedendum?: number | undefined;
|
|
731
|
+
/**
|
|
732
|
+
* The radius that rounds the bottom of each gap at the back, as a share of the module; it
|
|
733
|
+
* shrinks to fit a narrow gap.
|
|
734
|
+
* @default 0.38
|
|
735
|
+
* @minimum 0
|
|
736
|
+
* @maximum Infinity
|
|
737
|
+
* @step 0.01
|
|
738
|
+
*/
|
|
739
|
+
rootFillet?: number | undefined;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* The teeth of a bevel gear for `engineering.mechanical.gears.bevelGearSizes`.
|
|
743
|
+
*/
|
|
744
|
+
class BevelGearSizesDto extends BevelGearSharedDto {
|
|
745
|
+
constructor(module?: number, teeth?: number, mateTeeth?: number, shaftAngle?: number, pressureAngle?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number);
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* The teeth of a bevel gear for `engineering.mechanical.gears.bevelGearOutline`, with how far it is turned and
|
|
749
|
+
* how finely its curves become points.
|
|
750
|
+
*/
|
|
751
|
+
class BevelGearOutlineDto extends BevelGearSharedDto {
|
|
752
|
+
constructor(rotation?: number, segments?: number, module?: number, teeth?: number, mateTeeth?: number, shaftAngle?: number, pressureAngle?: number, backlash?: number, addendum?: number, dedendum?: number, rootFillet?: number);
|
|
753
|
+
/**
|
|
754
|
+
* How far the gear is turned about its centre, in degrees. At 0 a tooth points along +X.
|
|
755
|
+
* @default 0
|
|
756
|
+
* @minimum -Infinity
|
|
757
|
+
* @maximum Infinity
|
|
758
|
+
* @step 1
|
|
759
|
+
*/
|
|
760
|
+
rotation?: number | undefined;
|
|
761
|
+
/**
|
|
762
|
+
* How many straight pieces stand for each curve of the outline: each tip, flank piece and
|
|
763
|
+
* root.
|
|
764
|
+
* @default 8
|
|
765
|
+
* @minimum 1
|
|
766
|
+
* @maximum Infinity
|
|
767
|
+
* @step 1
|
|
768
|
+
*/
|
|
769
|
+
segments?: number | undefined;
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* Two external spur gears in mesh, for `engineering.mechanical.gears.gearPair`: the module, pressure
|
|
773
|
+
* angle and tooth heights they share, their teeth and their profile shifts.
|
|
774
|
+
*/
|
|
775
|
+
class GearPairDto {
|
|
776
|
+
constructor(module?: number, teethA?: number, teethB?: number, pressureAngle?: number, profileShiftA?: number, profileShiftB?: number, addendum?: number, dedendum?: number);
|
|
777
|
+
/**
|
|
778
|
+
* The module both gears share, in model units.
|
|
779
|
+
* @default 0.2
|
|
780
|
+
* @minimum 0
|
|
781
|
+
* @exclusiveMinimum true
|
|
782
|
+
* @maximum Infinity
|
|
783
|
+
* @step 0.05
|
|
784
|
+
*/
|
|
785
|
+
module?: number | undefined;
|
|
786
|
+
/**
|
|
787
|
+
* How many teeth the first gear has, at least 3.
|
|
788
|
+
* @default 20
|
|
789
|
+
* @minimum 3
|
|
790
|
+
* @maximum Infinity
|
|
791
|
+
* @step 1
|
|
792
|
+
*/
|
|
793
|
+
teethA?: number | undefined;
|
|
794
|
+
/**
|
|
795
|
+
* How many teeth the second gear has, at least 3.
|
|
796
|
+
* @default 30
|
|
797
|
+
* @minimum 3
|
|
798
|
+
* @maximum Infinity
|
|
799
|
+
* @step 1
|
|
800
|
+
*/
|
|
801
|
+
teethB?: number | undefined;
|
|
802
|
+
/**
|
|
803
|
+
* The pressure angle both gears share, in degrees.
|
|
804
|
+
* @default 20
|
|
805
|
+
* @minimum 0
|
|
806
|
+
* @exclusiveMinimum true
|
|
807
|
+
* @maximum 45
|
|
808
|
+
* @exclusiveMaximum true
|
|
809
|
+
* @step 0.5
|
|
810
|
+
*/
|
|
811
|
+
pressureAngle?: number | undefined;
|
|
812
|
+
/**
|
|
813
|
+
* The first gear's profile shift, as a share of the module. Shifts that pull a tip inside its
|
|
814
|
+
* base circle, or work the pair past 45 degrees, are refused.
|
|
815
|
+
* @default 0
|
|
816
|
+
* @minimum -Infinity
|
|
817
|
+
* @maximum Infinity
|
|
818
|
+
* @step 0.05
|
|
819
|
+
*/
|
|
820
|
+
profileShiftA?: number | undefined;
|
|
821
|
+
/**
|
|
822
|
+
* The second gear's profile shift, as a share of the module. Shifts that pull a tip inside its
|
|
823
|
+
* base circle, or work the pair past 45 degrees, are refused.
|
|
824
|
+
* @default 0
|
|
825
|
+
* @minimum -Infinity
|
|
826
|
+
* @maximum Infinity
|
|
827
|
+
* @step 0.05
|
|
828
|
+
*/
|
|
829
|
+
profileShiftB?: number | undefined;
|
|
830
|
+
/**
|
|
831
|
+
* How far the teeth of both reach above their pitch circles, as a share of the module.
|
|
832
|
+
* @default 1
|
|
833
|
+
* @minimum 0
|
|
834
|
+
* @exclusiveMinimum true
|
|
835
|
+
* @maximum Infinity
|
|
836
|
+
* @step 0.05
|
|
837
|
+
*/
|
|
838
|
+
addendum?: number | undefined;
|
|
839
|
+
/**
|
|
840
|
+
* How deep the gaps of both reach below their pitch circles, as a share of the module; it
|
|
841
|
+
* sets the clearance between each gear's tips and the other's roots.
|
|
842
|
+
* @default 1.25
|
|
843
|
+
* @minimum 0
|
|
844
|
+
* @exclusiveMinimum true
|
|
845
|
+
* @maximum Infinity
|
|
846
|
+
* @step 0.05
|
|
847
|
+
*/
|
|
848
|
+
dedendum?: number | undefined;
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* A spur gear meshing inside a ring gear, for `engineering.mechanical.gears.internalGearPair`: the module and
|
|
852
|
+
* pressure angle they share and their teeth.
|
|
853
|
+
*/
|
|
854
|
+
class InternalGearPairDto {
|
|
855
|
+
constructor(module?: number, pinionTeeth?: number, ringTeeth?: number, pressureAngle?: number, addendum?: number);
|
|
856
|
+
/**
|
|
857
|
+
* The module both gears share, in model units.
|
|
858
|
+
* @default 0.2
|
|
859
|
+
* @minimum 0
|
|
860
|
+
* @exclusiveMinimum true
|
|
861
|
+
* @maximum Infinity
|
|
862
|
+
* @step 0.05
|
|
863
|
+
*/
|
|
864
|
+
module?: number | undefined;
|
|
865
|
+
/**
|
|
866
|
+
* How many teeth the spur gear has, at least 3. Fewer than about 20 interfere with a
|
|
867
|
+
* standard ring of any size.
|
|
868
|
+
* @default 24
|
|
869
|
+
* @minimum 3
|
|
870
|
+
* @maximum Infinity
|
|
871
|
+
* @step 1
|
|
872
|
+
*/
|
|
873
|
+
pinionTeeth?: number | undefined;
|
|
874
|
+
/**
|
|
875
|
+
* The ring's teeth: more than the spur gear's, and enough to keep their tips outside its base
|
|
876
|
+
* circle, 34 at 20 degrees with an addendum of 1.
|
|
877
|
+
* @default 60
|
|
878
|
+
* @minimum 3
|
|
879
|
+
* @maximum Infinity
|
|
880
|
+
* @step 1
|
|
881
|
+
*/
|
|
882
|
+
ringTeeth?: number | undefined;
|
|
883
|
+
/**
|
|
884
|
+
* The pressure angle both gears share, in degrees.
|
|
885
|
+
* @default 20
|
|
886
|
+
* @minimum 0
|
|
887
|
+
* @exclusiveMinimum true
|
|
888
|
+
* @maximum 45
|
|
889
|
+
* @exclusiveMaximum true
|
|
890
|
+
* @step 0.5
|
|
891
|
+
*/
|
|
892
|
+
pressureAngle?: number | undefined;
|
|
893
|
+
/**
|
|
894
|
+
* How far the teeth of both reach beyond their pitch circles, as a share of the module.
|
|
895
|
+
* @default 1
|
|
896
|
+
* @minimum 0
|
|
897
|
+
* @exclusiveMinimum true
|
|
898
|
+
* @maximum Infinity
|
|
899
|
+
* @step 0.05
|
|
900
|
+
*/
|
|
901
|
+
addendum?: number | undefined;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* A planetary gear set, for `engineering.mechanical.gears.planetarySet`: the module and pressure angle its
|
|
905
|
+
* gears share, the sun's and a planet's teeth and how many planets run round the sun.
|
|
906
|
+
*/
|
|
907
|
+
class PlanetarySetDto {
|
|
908
|
+
constructor(module?: number, sunTeeth?: number, planetTeeth?: number, planets?: number, pressureAngle?: number, addendum?: number);
|
|
909
|
+
/**
|
|
910
|
+
* The module all its gears share, in model units.
|
|
911
|
+
* @default 0.2
|
|
912
|
+
* @minimum 0
|
|
913
|
+
* @exclusiveMinimum true
|
|
914
|
+
* @maximum Infinity
|
|
915
|
+
* @step 0.05
|
|
916
|
+
*/
|
|
917
|
+
module?: number | undefined;
|
|
918
|
+
/**
|
|
919
|
+
* How many teeth the sun has, at least 3.
|
|
920
|
+
* @default 24
|
|
921
|
+
* @minimum 3
|
|
922
|
+
* @maximum Infinity
|
|
923
|
+
* @step 1
|
|
924
|
+
*/
|
|
925
|
+
sunTeeth?: number | undefined;
|
|
926
|
+
/**
|
|
927
|
+
* How many teeth each planet has, at least 3. A planet meshes inside the ring, so fewer than
|
|
928
|
+
* about 20 interfere with it.
|
|
929
|
+
* @default 24
|
|
930
|
+
* @minimum 3
|
|
931
|
+
* @maximum Infinity
|
|
932
|
+
* @step 1
|
|
933
|
+
*/
|
|
934
|
+
planetTeeth?: number | undefined;
|
|
935
|
+
/**
|
|
936
|
+
* How many planets run round the sun, evenly spaced.
|
|
937
|
+
* @default 4
|
|
938
|
+
* @minimum 1
|
|
939
|
+
* @maximum Infinity
|
|
940
|
+
* @step 1
|
|
941
|
+
*/
|
|
942
|
+
planets?: number | undefined;
|
|
943
|
+
/**
|
|
944
|
+
* The pressure angle all its gears share, in degrees.
|
|
945
|
+
* @default 20
|
|
946
|
+
* @minimum 0
|
|
947
|
+
* @exclusiveMinimum true
|
|
948
|
+
* @maximum 45
|
|
949
|
+
* @exclusiveMaximum true
|
|
950
|
+
* @step 0.5
|
|
951
|
+
*/
|
|
952
|
+
pressureAngle?: number | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* How far the teeth reach beyond their pitch circles, as a share of the module.
|
|
955
|
+
* @default 1
|
|
956
|
+
* @minimum 0
|
|
957
|
+
* @exclusiveMinimum true
|
|
958
|
+
* @maximum Infinity
|
|
959
|
+
* @step 0.05
|
|
960
|
+
*/
|
|
961
|
+
addendum?: number | undefined;
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
* A diametral pitch and the unit to give the module in, for
|
|
965
|
+
* `engineering.mechanical.gears.moduleFromDiametralPitch`, which turns an inch gear's size into
|
|
966
|
+
* the module the gear methods take.
|
|
967
|
+
*/
|
|
968
|
+
class ModuleFromDiametralPitchDto {
|
|
969
|
+
constructor(diametralPitch?: number, unit?: Base.unitOfLengthEnum);
|
|
970
|
+
/**
|
|
971
|
+
* How many teeth the gear has per inch of its pitch circle's diameter; a larger pitch means
|
|
972
|
+
* smaller teeth.
|
|
973
|
+
* @default 10
|
|
974
|
+
* @minimum 0
|
|
975
|
+
* @exclusiveMinimum true
|
|
976
|
+
* @maximum Infinity
|
|
977
|
+
* @step 1
|
|
978
|
+
*/
|
|
979
|
+
diametralPitch?: number | undefined;
|
|
980
|
+
/**
|
|
981
|
+
* The unit to give the module in, the model's.
|
|
982
|
+
* @default inch
|
|
983
|
+
*/
|
|
984
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* An ISO metric thread size and the unit its sizes come back in, shared by the ISO thread and
|
|
988
|
+
* fastener sizes of `engineering.mechanical`.
|
|
989
|
+
*/
|
|
990
|
+
abstract class IsoSizeSharedDto {
|
|
991
|
+
/**
|
|
992
|
+
* The thread size, such as M8.
|
|
993
|
+
* @default m3
|
|
994
|
+
*/
|
|
995
|
+
size?: isoThreadSizeEnum | undefined;
|
|
996
|
+
/**
|
|
997
|
+
* The unit every length the method takes or gives is in; the size names a metric thread
|
|
998
|
+
* whatever it is.
|
|
999
|
+
* @default millimetre
|
|
1000
|
+
*/
|
|
1001
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* An ISO metric thread size and a unit, for the cap screw, nut and washer sizes of
|
|
1005
|
+
* `engineering.mechanical.fasteners.iso`.
|
|
1006
|
+
*/
|
|
1007
|
+
class IsoSizeDto extends IsoSizeSharedDto {
|
|
1008
|
+
constructor(size?: isoThreadSizeEnum, unit?: Base.unitOfLengthEnum);
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* An ISO metric thread size and, for a fine thread, its pitch, for
|
|
1012
|
+
* `engineering.mechanical.threads.iso.thread`.
|
|
1013
|
+
*/
|
|
1014
|
+
class IsoThreadDto extends IsoSizeSharedDto {
|
|
1015
|
+
constructor(size?: isoThreadSizeEnum, pitch?: number, unit?: Base.unitOfLengthEnum);
|
|
1016
|
+
/**
|
|
1017
|
+
* The crest-to-crest distance in millimetres, as ISO names it: at most the size's coarse pitch,
|
|
1018
|
+
* 3 for an M24. Left out, the coarse pitch.
|
|
1019
|
+
* @default undefined
|
|
1020
|
+
* @optional true
|
|
1021
|
+
* @minimum 0
|
|
1022
|
+
* @exclusiveMinimum true
|
|
1023
|
+
* @maximum 3
|
|
1024
|
+
* @step 0.05
|
|
1025
|
+
*/
|
|
1026
|
+
pitch?: number | undefined;
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* An ISO metric thread size, how much room is left around it and a unit, for
|
|
1030
|
+
* `engineering.mechanical.fasteners.iso.clearanceHole`.
|
|
1031
|
+
*/
|
|
1032
|
+
class IsoClearanceHoleDto extends IsoSizeSharedDto {
|
|
1033
|
+
constructor(size?: isoThreadSizeEnum, fit?: clearanceFitEnum, unit?: Base.unitOfLengthEnum);
|
|
1034
|
+
/**
|
|
1035
|
+
* How much room the hole leaves around the screw.
|
|
1036
|
+
* @default normal
|
|
1037
|
+
*/
|
|
1038
|
+
fit?: clearanceFitEnum | undefined;
|
|
1039
|
+
}
|
|
1040
|
+
/**
|
|
1041
|
+
* An ISO hexagon bolt's thread size and length and a unit, for
|
|
1042
|
+
* `engineering.mechanical.fasteners.iso.hexBoltSizes`.
|
|
1043
|
+
*/
|
|
1044
|
+
class IsoHexBoltSizesDto extends IsoSizeSharedDto {
|
|
1045
|
+
constructor(size?: isoThreadSizeEnum, length?: number, unit?: Base.unitOfLengthEnum);
|
|
1046
|
+
/**
|
|
1047
|
+
* The length of the bolt from under its head to its tip, in `unit`, which sets how much of
|
|
1048
|
+
* it ISO 4014 threads.
|
|
1049
|
+
* @default 10
|
|
1050
|
+
* @minimum 0
|
|
1051
|
+
* @exclusiveMinimum true
|
|
1052
|
+
* @maximum Infinity
|
|
1053
|
+
* @step 1
|
|
1054
|
+
*/
|
|
1055
|
+
length?: number | undefined;
|
|
1056
|
+
}
|
|
1057
|
+
/**
|
|
1058
|
+
* An ISO set screw's thread size, point and length and a unit, for
|
|
1059
|
+
* `engineering.mechanical.fasteners.iso.setScrewSizes`.
|
|
1060
|
+
*/
|
|
1061
|
+
class IsoSetScrewSizesDto extends IsoSizeSharedDto {
|
|
1062
|
+
constructor(size?: isoThreadSizeEnum, point?: isoSetScrewPointEnum, length?: number, unit?: Base.unitOfLengthEnum);
|
|
1063
|
+
/**
|
|
1064
|
+
* The shape of the screw's end that bears on the part.
|
|
1065
|
+
* @default flat
|
|
1066
|
+
*/
|
|
1067
|
+
point?: isoSetScrewPointEnum | undefined;
|
|
1068
|
+
/**
|
|
1069
|
+
* The screw's whole length in `unit`, which decides whether it counts as short. Left out, a
|
|
1070
|
+
* long screw.
|
|
1071
|
+
* @default undefined
|
|
1072
|
+
* @optional true
|
|
1073
|
+
* @minimum 0
|
|
1074
|
+
* @exclusiveMinimum true
|
|
1075
|
+
* @maximum Infinity
|
|
1076
|
+
* @step 1
|
|
1077
|
+
*/
|
|
1078
|
+
length?: number | undefined;
|
|
1079
|
+
}
|
|
1080
|
+
/**
|
|
1081
|
+
* A Unified inch thread size and the unit its sizes come back in, shared by the ASME thread and
|
|
1082
|
+
* fastener sizes of `engineering.mechanical`.
|
|
1083
|
+
*/
|
|
1084
|
+
abstract class AnsiSizeSharedDto {
|
|
1085
|
+
/**
|
|
1086
|
+
* The thread size, such as 1/4 or #10.
|
|
1087
|
+
* @default in1_4
|
|
1088
|
+
*/
|
|
1089
|
+
size?: ansiThreadSizeEnum | undefined;
|
|
1090
|
+
/**
|
|
1091
|
+
* The unit every length the method takes or gives is in; the size names an inch thread
|
|
1092
|
+
* whatever it is.
|
|
1093
|
+
* @default inch
|
|
1094
|
+
*/
|
|
1095
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1096
|
+
}
|
|
1097
|
+
/**
|
|
1098
|
+
* A Unified inch thread size and a unit, for the cap screw and nut sizes of
|
|
1099
|
+
* `engineering.mechanical.fasteners.ansi`.
|
|
1100
|
+
*/
|
|
1101
|
+
class AnsiSizeDto extends AnsiSizeSharedDto {
|
|
1102
|
+
constructor(size?: ansiThreadSizeEnum, unit?: Base.unitOfLengthEnum);
|
|
1103
|
+
}
|
|
1104
|
+
/**
|
|
1105
|
+
* A Unified inch thread size, its series or its own threads per inch, and a unit, for
|
|
1106
|
+
* `engineering.mechanical.threads.ansi.thread`.
|
|
1107
|
+
*/
|
|
1108
|
+
class AnsiThreadDto extends AnsiSizeSharedDto {
|
|
1109
|
+
constructor(size?: ansiThreadSizeEnum, series?: ansiThreadSeriesEnum, threadsPerInch?: number, unit?: Base.unitOfLengthEnum);
|
|
1110
|
+
/**
|
|
1111
|
+
* Whether the thread is coarse (UNC) or fine (UNF); #0, which has no coarse thread, is cut fine.
|
|
1112
|
+
* @default unc
|
|
1113
|
+
*/
|
|
1114
|
+
series?: ansiThreadSeriesEnum | undefined;
|
|
1115
|
+
/**
|
|
1116
|
+
* A pitch of the thread's own, as threads to the inch, at least the size's coarsest; it
|
|
1117
|
+
* overrides `series`. Left out, the series' pitch.
|
|
1118
|
+
* @default undefined
|
|
1119
|
+
* @optional true
|
|
1120
|
+
* @minimum 0
|
|
1121
|
+
* @exclusiveMinimum true
|
|
1122
|
+
* @maximum Infinity
|
|
1123
|
+
* @step 1
|
|
1124
|
+
*/
|
|
1125
|
+
threadsPerInch?: number | undefined;
|
|
1126
|
+
}
|
|
1127
|
+
/**
|
|
1128
|
+
* A Unified inch thread size, how much room is left around it and a unit, for
|
|
1129
|
+
* `engineering.mechanical.fasteners.ansi.clearanceHole`.
|
|
1130
|
+
*/
|
|
1131
|
+
class AnsiClearanceHoleDto extends AnsiSizeSharedDto {
|
|
1132
|
+
constructor(size?: ansiThreadSizeEnum, fit?: clearanceFitEnum, unit?: Base.unitOfLengthEnum);
|
|
1133
|
+
/**
|
|
1134
|
+
* How much room the hole leaves around the screw.
|
|
1135
|
+
* @default normal
|
|
1136
|
+
*/
|
|
1137
|
+
fit?: clearanceFitEnum | undefined;
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* An ASME hex cap screw's thread size and length and a unit, for
|
|
1141
|
+
* `engineering.mechanical.fasteners.ansi.hexBoltSizes`.
|
|
1142
|
+
*/
|
|
1143
|
+
class AnsiHexBoltSizesDto extends AnsiSizeSharedDto {
|
|
1144
|
+
constructor(size?: ansiThreadSizeEnum, length?: number, unit?: Base.unitOfLengthEnum);
|
|
1145
|
+
/**
|
|
1146
|
+
* The length of the screw from under its head to its tip, in `unit`, which sets how much of
|
|
1147
|
+
* it ASME B18.2.1 threads.
|
|
1148
|
+
* @default 1
|
|
1149
|
+
* @minimum 0
|
|
1150
|
+
* @exclusiveMinimum true
|
|
1151
|
+
* @maximum Infinity
|
|
1152
|
+
* @step 0.125
|
|
1153
|
+
*/
|
|
1154
|
+
length?: number | undefined;
|
|
1155
|
+
}
|
|
1156
|
+
/**
|
|
1157
|
+
* A Unified inch thread size, a washer series and a unit, for
|
|
1158
|
+
* `engineering.mechanical.fasteners.ansi.washerSizes`.
|
|
1159
|
+
*/
|
|
1160
|
+
class AnsiWasherSizesDto extends AnsiSizeSharedDto {
|
|
1161
|
+
constructor(size?: ansiThreadSizeEnum, series?: ansiWasherSeriesEnum, unit?: Base.unitOfLengthEnum);
|
|
1162
|
+
/**
|
|
1163
|
+
* Whether the washer is narrow or wide around its hole.
|
|
1164
|
+
* @default narrow
|
|
1165
|
+
*/
|
|
1166
|
+
series?: ansiWasherSeriesEnum | undefined;
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* An ASME set screw's thread size, point, thread series and length and a unit, for
|
|
1170
|
+
* `engineering.mechanical.fasteners.ansi.setScrewSizes`.
|
|
1171
|
+
*/
|
|
1172
|
+
class AnsiSetScrewSizesDto extends AnsiSizeSharedDto {
|
|
1173
|
+
constructor(size?: ansiThreadSizeEnum, point?: ansiSetScrewPointEnum, series?: ansiThreadSeriesEnum, length?: number, unit?: Base.unitOfLengthEnum);
|
|
1174
|
+
/**
|
|
1175
|
+
* The shape of the screw's end that bears on the part.
|
|
1176
|
+
* @default cup
|
|
1177
|
+
*/
|
|
1178
|
+
point?: ansiSetScrewPointEnum | undefined;
|
|
1179
|
+
/**
|
|
1180
|
+
* Whether the screw's thread is coarse (UNC) or fine (UNF), which sets the root its point
|
|
1181
|
+
* starts from; #0, which has no coarse thread, is cut fine.
|
|
1182
|
+
* @default unc
|
|
1183
|
+
*/
|
|
1184
|
+
series?: ansiThreadSeriesEnum | undefined;
|
|
1185
|
+
/**
|
|
1186
|
+
* The screw's whole length in `unit`, which decides whether it counts as short. Left out, a
|
|
1187
|
+
* long screw.
|
|
1188
|
+
* @default undefined
|
|
1189
|
+
* @optional true
|
|
1190
|
+
* @minimum 0
|
|
1191
|
+
* @exclusiveMinimum true
|
|
1192
|
+
* @maximum Infinity
|
|
1193
|
+
* @step 0.125
|
|
1194
|
+
*/
|
|
1195
|
+
length?: number | undefined;
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* An ISO deep groove ball bearing's designation and a unit, for
|
|
1199
|
+
* `engineering.mechanical.bearings.iso.ballBearingSizes`.
|
|
1200
|
+
*/
|
|
1201
|
+
class IsoBallBearingSizesDto {
|
|
1202
|
+
constructor(designation?: isoBallBearingEnum, unit?: Base.unitOfLengthEnum);
|
|
1203
|
+
/**
|
|
1204
|
+
* The bearing, such as 6204 or 608.
|
|
1205
|
+
* @default b608
|
|
1206
|
+
*/
|
|
1207
|
+
designation?: isoBallBearingEnum | undefined;
|
|
1208
|
+
/**
|
|
1209
|
+
* The unit the bearing's sizes come back in.
|
|
1210
|
+
* @default millimetre
|
|
1211
|
+
*/
|
|
1212
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1213
|
+
}
|
|
1214
|
+
/**
|
|
1215
|
+
* An inch deep groove ball bearing's designation, whether it is shielded and a unit, for
|
|
1216
|
+
* `engineering.mechanical.bearings.ansi.ballBearingSizes`.
|
|
1217
|
+
*/
|
|
1218
|
+
class AnsiBallBearingSizesDto {
|
|
1219
|
+
constructor(designation?: ansiBallBearingEnum, shields?: boolean, unit?: Base.unitOfLengthEnum);
|
|
1220
|
+
/**
|
|
1221
|
+
* The bearing, such as R8 or R188.
|
|
1222
|
+
* @default r8
|
|
1223
|
+
*/
|
|
1224
|
+
designation?: ansiBallBearingEnum | undefined;
|
|
1225
|
+
/**
|
|
1226
|
+
* When true, the width of the shielded bearing, which on several R-series sizes is wider than
|
|
1227
|
+
* the open one.
|
|
1228
|
+
* @default false
|
|
1229
|
+
*/
|
|
1230
|
+
shields?: boolean | undefined;
|
|
1231
|
+
/**
|
|
1232
|
+
* The unit the bearing's sizes come back in.
|
|
1233
|
+
* @default inch
|
|
1234
|
+
*/
|
|
1235
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* The shaft a DIN 6885 parallel key sits in and a unit, for
|
|
1239
|
+
* `engineering.mechanical.keys.din.parallelKeySizes`.
|
|
1240
|
+
*/
|
|
1241
|
+
class DinParallelKeySizesDto {
|
|
1242
|
+
constructor(shaftDiameter?: number, unit?: Base.unitOfLengthEnum);
|
|
1243
|
+
/**
|
|
1244
|
+
* The diameter of the shaft, in `unit`, which sets the key's width and height; DIN 6885 keys
|
|
1245
|
+
* shafts over 6 and up to 65 millimetres.
|
|
1246
|
+
* @default 20
|
|
1247
|
+
* @minimum 0
|
|
1248
|
+
* @exclusiveMinimum true
|
|
1249
|
+
* @maximum Infinity
|
|
1250
|
+
* @step 1
|
|
1251
|
+
*/
|
|
1252
|
+
shaftDiameter?: number | undefined;
|
|
1253
|
+
/**
|
|
1254
|
+
* The unit the shaft's diameter and the key's sizes are in.
|
|
1255
|
+
* @default millimetre
|
|
1256
|
+
*/
|
|
1257
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1258
|
+
}
|
|
1259
|
+
/**
|
|
1260
|
+
* The shaft an ANSI B17.1 parallel key sits in and a unit, for
|
|
1261
|
+
* `engineering.mechanical.keys.ansi.parallelKeySizes`.
|
|
1262
|
+
*/
|
|
1263
|
+
class AnsiParallelKeySizesDto {
|
|
1264
|
+
constructor(shaftDiameter?: number, unit?: Base.unitOfLengthEnum);
|
|
1265
|
+
/**
|
|
1266
|
+
* The diameter of the shaft, in `unit`, which sets the square key's size; ANSI B17.1's square
|
|
1267
|
+
* keys cover shafts over 5/16 and up to 6-1/2 inches.
|
|
1268
|
+
* @default 1
|
|
1269
|
+
* @minimum 0
|
|
1270
|
+
* @exclusiveMinimum true
|
|
1271
|
+
* @maximum Infinity
|
|
1272
|
+
* @step 0.125
|
|
1273
|
+
*/
|
|
1274
|
+
shaftDiameter?: number | undefined;
|
|
1275
|
+
/**
|
|
1276
|
+
* The unit the shaft's diameter and the key's sizes are in.
|
|
1277
|
+
* @default inch
|
|
1278
|
+
*/
|
|
1279
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1280
|
+
}
|
|
1281
|
+
/**
|
|
1282
|
+
* Shaft or bore and a unit, for `engineering.mechanical.retainingRings.din.diameters`, which lists
|
|
1283
|
+
* the diameters DIN 471 and DIN 472 give rings for.
|
|
1284
|
+
*/
|
|
1285
|
+
class DinRetainingRingDiametersDto {
|
|
1286
|
+
constructor(kind?: retainingRingKindEnum, unit?: Base.unitOfLengthEnum);
|
|
1287
|
+
/**
|
|
1288
|
+
* Whether the rings sit on a shaft or in a bore.
|
|
1289
|
+
* @default shaft
|
|
1290
|
+
*/
|
|
1291
|
+
kind?: retainingRingKindEnum | undefined;
|
|
1292
|
+
/**
|
|
1293
|
+
* The unit the diameters come back in.
|
|
1294
|
+
* @default millimetre
|
|
1295
|
+
*/
|
|
1296
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* A shaft's or a bore's diameter, which DIN ring it takes and a unit, for
|
|
1300
|
+
* `engineering.mechanical.retainingRings.din.retainingRingSizes`.
|
|
1301
|
+
*/
|
|
1302
|
+
class DinRetainingRingSizesDto {
|
|
1303
|
+
constructor(kind?: retainingRingKindEnum, diameter?: number, unit?: Base.unitOfLengthEnum);
|
|
1304
|
+
/**
|
|
1305
|
+
* Whether the ring sits on a shaft or in a bore.
|
|
1306
|
+
* @default shaft
|
|
1307
|
+
*/
|
|
1308
|
+
kind?: retainingRingKindEnum | undefined;
|
|
1309
|
+
/**
|
|
1310
|
+
* The shaft's or the bore's diameter in `unit`, one DIN 471 or DIN 472 lists: from 3 to 100
|
|
1311
|
+
* millimetres for shafts, from 8 to 100 for bores.
|
|
1312
|
+
* @default 20
|
|
1313
|
+
* @minimum 0
|
|
1314
|
+
* @exclusiveMinimum true
|
|
1315
|
+
* @maximum Infinity
|
|
1316
|
+
* @step 1
|
|
1317
|
+
*/
|
|
1318
|
+
diameter?: number | undefined;
|
|
1319
|
+
/**
|
|
1320
|
+
* The unit the diameter and the ring's sizes are in.
|
|
1321
|
+
* @default millimetre
|
|
1322
|
+
*/
|
|
1323
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* Shaft or bore and a unit, for `engineering.mechanical.retainingRings.ansi.diameters`, which
|
|
1327
|
+
* lists the diameters the inch tapered rings come for.
|
|
1328
|
+
*/
|
|
1329
|
+
class AnsiRetainingRingDiametersDto {
|
|
1330
|
+
constructor(kind?: retainingRingKindEnum, unit?: Base.unitOfLengthEnum);
|
|
1331
|
+
/**
|
|
1332
|
+
* Whether the rings sit on a shaft or in a bore.
|
|
1333
|
+
* @default shaft
|
|
1334
|
+
*/
|
|
1335
|
+
kind?: retainingRingKindEnum | undefined;
|
|
1336
|
+
/**
|
|
1337
|
+
* The unit the diameters come back in.
|
|
1338
|
+
* @default inch
|
|
1339
|
+
*/
|
|
1340
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1341
|
+
}
|
|
1342
|
+
/**
|
|
1343
|
+
* A shaft's or a bore's diameter, which inch tapered ring it takes and a unit, for
|
|
1344
|
+
* `engineering.mechanical.retainingRings.ansi.retainingRingSizes`.
|
|
1345
|
+
*/
|
|
1346
|
+
class AnsiRetainingRingSizesDto {
|
|
1347
|
+
constructor(kind?: retainingRingKindEnum, diameter?: number, unit?: Base.unitOfLengthEnum);
|
|
1348
|
+
/**
|
|
1349
|
+
* Whether the ring sits on a shaft or in a bore.
|
|
1350
|
+
* @default shaft
|
|
1351
|
+
*/
|
|
1352
|
+
kind?: retainingRingKindEnum | undefined;
|
|
1353
|
+
/**
|
|
1354
|
+
* The shaft's or the bore's diameter in `unit`, one the inch rings list: from 1/8 to 2 inches
|
|
1355
|
+
* for shafts, from 1/4 to 2 for bores.
|
|
1356
|
+
* @default 0.75
|
|
1357
|
+
* @minimum 0
|
|
1358
|
+
* @exclusiveMinimum true
|
|
1359
|
+
* @maximum Infinity
|
|
1360
|
+
* @step 0.125
|
|
1361
|
+
*/
|
|
1362
|
+
diameter?: number | undefined;
|
|
1363
|
+
/**
|
|
1364
|
+
* The unit the diameter and the ring's sizes are in.
|
|
1365
|
+
* @default inch
|
|
1366
|
+
*/
|
|
1367
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1368
|
+
}
|
|
1369
|
+
/**
|
|
1370
|
+
* A DIN 5480 involute spline's reference diameter and module, and the unit its sizes come back
|
|
1371
|
+
* in, for `engineering.mechanical.splines.din.involuteSplineSizes`.
|
|
1372
|
+
*/
|
|
1373
|
+
class DinInvoluteSplineSizesDto {
|
|
1374
|
+
constructor(referenceDiameter?: number, module?: number, unit?: Base.unitOfLengthEnum);
|
|
1375
|
+
/**
|
|
1376
|
+
* The diameter the spline is named by, in millimetres as DIN 5480 names it, such as 25 in
|
|
1377
|
+
* W 25x1.25x18.
|
|
1378
|
+
* @default 25
|
|
1379
|
+
* @minimum 0
|
|
1380
|
+
* @exclusiveMinimum true
|
|
1381
|
+
* @maximum Infinity
|
|
1382
|
+
* @step 1
|
|
1383
|
+
*/
|
|
1384
|
+
referenceDiameter?: number | undefined;
|
|
1385
|
+
/**
|
|
1386
|
+
* The module of its teeth in millimetres, one of DIN 5480's: 0.5, 0.6, 0.75, 0.8, 1, 1.25,
|
|
1387
|
+
* 1.5, 1.75, 2, 2.5, 3, 4, 5, 6, 8 or 10.
|
|
1388
|
+
* @default 1.25
|
|
1389
|
+
* @minimum 0.5
|
|
1390
|
+
* @maximum 10
|
|
1391
|
+
* @step 0.05
|
|
1392
|
+
*/
|
|
1393
|
+
module?: number | undefined;
|
|
1394
|
+
/**
|
|
1395
|
+
* The unit the spline's sizes come back in.
|
|
1396
|
+
* @default millimetre
|
|
1397
|
+
*/
|
|
1398
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1399
|
+
}
|
|
1400
|
+
/**
|
|
1401
|
+
* An ANSI B92.1 involute spline's teeth and pitch, and the unit its sizes come back in, for
|
|
1402
|
+
* `engineering.mechanical.splines.ansi.involuteSplineSizes`.
|
|
1403
|
+
*/
|
|
1404
|
+
class AnsiInvoluteSplineSizesDto {
|
|
1405
|
+
constructor(teeth?: number, pitch?: ansiSplinePitchEnum, unit?: Base.unitOfLengthEnum);
|
|
1406
|
+
/**
|
|
1407
|
+
* How many teeth the spline has, a whole number from 6 to 60.
|
|
1408
|
+
* @default 24
|
|
1409
|
+
* @minimum 6
|
|
1410
|
+
* @maximum 60
|
|
1411
|
+
* @step 1
|
|
1412
|
+
*/
|
|
1413
|
+
teeth?: number | undefined;
|
|
1414
|
+
/**
|
|
1415
|
+
* The pitch over the stub pitch, such as 16/32.
|
|
1416
|
+
* @default p16_32
|
|
1417
|
+
*/
|
|
1418
|
+
pitch?: ansiSplinePitchEnum | undefined;
|
|
1419
|
+
/**
|
|
1420
|
+
* The unit the spline's sizes come back in.
|
|
1421
|
+
* @default inch
|
|
1422
|
+
*/
|
|
1423
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* A cylinder's diameter, an ASME B94.6 diametral pitch, a pattern and a unit, for
|
|
1427
|
+
* `engineering.mechanical.knurls.ansi.knurlSizes`.
|
|
1428
|
+
*/
|
|
1429
|
+
class AnsiKnurlSizesDto {
|
|
1430
|
+
constructor(diameter?: number, diametralPitch?: number, pattern?: knurlPatternEnum, unit?: Base.unitOfLengthEnum);
|
|
1431
|
+
/**
|
|
1432
|
+
* The cylinder's diameter in `unit`.
|
|
1433
|
+
* @default 0.5
|
|
1434
|
+
* @minimum 0
|
|
1435
|
+
* @exclusiveMinimum true
|
|
1436
|
+
* @maximum Infinity
|
|
1437
|
+
* @step 0.125
|
|
1438
|
+
*/
|
|
1439
|
+
diameter?: number | undefined;
|
|
1440
|
+
/**
|
|
1441
|
+
* Teeth to an inch of diameter, one of ASME B94.6's: 64, 96, 128 or 160.
|
|
1442
|
+
* @default 96
|
|
1443
|
+
* @minimum 64
|
|
1444
|
+
* @maximum 160
|
|
1445
|
+
* @step 32
|
|
1446
|
+
*/
|
|
1447
|
+
diametralPitch?: number | undefined;
|
|
1448
|
+
/**
|
|
1449
|
+
* The grooves' pattern; left and right are B94.6's diagonal knurls.
|
|
1450
|
+
* @default straight
|
|
1451
|
+
*/
|
|
1452
|
+
pattern?: knurlPatternEnum | undefined;
|
|
1453
|
+
/**
|
|
1454
|
+
* The unit the diameter and the grooves' sizes are in.
|
|
1455
|
+
* @default inch
|
|
1456
|
+
*/
|
|
1457
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1458
|
+
}
|
|
1459
|
+
/**
|
|
1460
|
+
* A cylinder's diameter, a DIN 82 pitch, a pattern and a unit, for
|
|
1461
|
+
* `engineering.mechanical.knurls.din.knurlSizes`.
|
|
1462
|
+
*/
|
|
1463
|
+
class DinKnurlSizesDto {
|
|
1464
|
+
constructor(diameter?: number, pitch?: number, pattern?: knurlPatternEnum, unit?: Base.unitOfLengthEnum);
|
|
1465
|
+
/**
|
|
1466
|
+
* The cylinder's diameter in `unit`, more than twice `pitch` (which is in millimetres).
|
|
1467
|
+
* @default 20
|
|
1468
|
+
* @minimum 0
|
|
1469
|
+
* @exclusiveMinimum true
|
|
1470
|
+
* @maximum Infinity
|
|
1471
|
+
* @step 1
|
|
1472
|
+
*/
|
|
1473
|
+
diameter?: number | undefined;
|
|
1474
|
+
/**
|
|
1475
|
+
* The distance between grooves round the circumference, in millimetres, one of DIN 82's: 0.5,
|
|
1476
|
+
* 0.6, 0.8, 1, 1.2 or 1.6.
|
|
1477
|
+
* @default 1
|
|
1478
|
+
* @minimum 0.5
|
|
1479
|
+
* @maximum 1.6
|
|
1480
|
+
* @step 0.1
|
|
1481
|
+
*/
|
|
1482
|
+
pitch?: number | undefined;
|
|
1483
|
+
/**
|
|
1484
|
+
* The grooves' pattern.
|
|
1485
|
+
* @default straight
|
|
1486
|
+
*/
|
|
1487
|
+
pattern?: knurlPatternEnum | undefined;
|
|
1488
|
+
/**
|
|
1489
|
+
* The unit the diameter and the grooves' sizes are in.
|
|
1490
|
+
* @default millimetre
|
|
1491
|
+
*/
|
|
1492
|
+
unit?: Base.unitOfLengthEnum | undefined;
|
|
1493
|
+
}
|
|
1494
|
+
/**
|
|
1495
|
+
* A compression spring with closed and ground ends, for
|
|
1496
|
+
* `engineering.mechanical.springs.compressionSpringPath`: its wire, its coils and its length.
|
|
1497
|
+
*/
|
|
1498
|
+
class CompressionSpringPathDto {
|
|
1499
|
+
constructor(wireDiameter?: number, diameter?: number, activeCoils?: number, length?: number);
|
|
1500
|
+
/**
|
|
1501
|
+
* The diameter of the wire, in model units.
|
|
1502
|
+
* @default 0.2
|
|
1503
|
+
* @minimum 0
|
|
1504
|
+
* @exclusiveMinimum true
|
|
1505
|
+
* @maximum Infinity
|
|
1506
|
+
* @step 0.05
|
|
1507
|
+
*/
|
|
1508
|
+
wireDiameter?: number | undefined;
|
|
1509
|
+
/**
|
|
1510
|
+
* The outside diameter of the coils, in model units; more than three times `wireDiameter`.
|
|
1511
|
+
* @default 2
|
|
1512
|
+
* @minimum 0
|
|
1513
|
+
* @exclusiveMinimum true
|
|
1514
|
+
* @maximum Infinity
|
|
1515
|
+
* @step 0.1
|
|
1516
|
+
*/
|
|
1517
|
+
diameter?: number | undefined;
|
|
1518
|
+
/**
|
|
1519
|
+
* How many coils spring, besides the closed coil at each end; it may be a fraction, and at
|
|
1520
|
+
* most 1000.
|
|
1521
|
+
* @default 6
|
|
1522
|
+
* @minimum 0
|
|
1523
|
+
* @exclusiveMinimum true
|
|
1524
|
+
* @maximum 1000
|
|
1525
|
+
* @step 0.5
|
|
1526
|
+
*/
|
|
1527
|
+
activeCoils?: number | undefined;
|
|
1528
|
+
/**
|
|
1529
|
+
* The spring's length from one ground end to the other, free or compressed; at least the
|
|
1530
|
+
* solid length, where every coil touches the next.
|
|
1531
|
+
* @default 4
|
|
1532
|
+
* @minimum 0
|
|
1533
|
+
* @exclusiveMinimum true
|
|
1534
|
+
* @maximum Infinity
|
|
1535
|
+
* @step 0.1
|
|
1536
|
+
*/
|
|
1537
|
+
length?: number | undefined;
|
|
1538
|
+
}
|
|
1539
|
+
}
|