@automovie/human 0.0.0 → 0.2.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.
Files changed (233) hide show
  1. package/README.md +29 -16
  2. package/lib/generation/AutoMovieHumanDigitJoints.d.ts +8 -26
  3. package/lib/generation/AutoMovieHumanDigitJoints.js +9 -37
  4. package/lib/generation/AutoMovieHumanDigitJoints.js.map +1 -1
  5. package/lib/generation/{AutoMovieHumanLegSection.d.ts → AutoMovieHumanLegSectionProportion.d.ts} +1 -1
  6. package/lib/generation/{AutoMovieHumanLegSection.js → AutoMovieHumanLegSectionProportion.js} +17 -14
  7. package/lib/generation/AutoMovieHumanLegSectionProportion.js.map +1 -0
  8. package/lib/generation/arm/AutoMovieHumanArmFrame.js +2 -2
  9. package/lib/generation/arm/AutoMovieHumanArmFrame.js.map +1 -1
  10. package/lib/generation/arm/index.d.ts +28 -0
  11. package/lib/generation/arm/index.js +45 -0
  12. package/lib/generation/arm/index.js.map +1 -0
  13. package/lib/generation/conic/AutoMovieHumanConicLoft.d.ts +154 -0
  14. package/lib/generation/conic/AutoMovieHumanConicLoft.js +430 -0
  15. package/lib/generation/conic/AutoMovieHumanConicLoft.js.map +1 -0
  16. package/lib/generation/conic/AutoMovieHumanConicPose.d.ts +92 -0
  17. package/lib/generation/conic/AutoMovieHumanConicPose.js +202 -0
  18. package/lib/generation/conic/AutoMovieHumanConicPose.js.map +1 -0
  19. package/lib/generation/conic/AutoMovieHumanConicRelief.d.ts +52 -0
  20. package/lib/generation/conic/AutoMovieHumanConicRelief.js +88 -0
  21. package/lib/generation/conic/AutoMovieHumanConicRelief.js.map +1 -0
  22. package/lib/generation/conic/AutoMovieHumanConicSection.d.ts +252 -0
  23. package/lib/generation/conic/AutoMovieHumanConicSection.js +567 -0
  24. package/lib/generation/conic/AutoMovieHumanConicSection.js.map +1 -0
  25. package/lib/generation/f1/AutoMovieHumanF1.d.ts +265 -0
  26. package/lib/generation/f1/AutoMovieHumanF1.js +1254 -0
  27. package/lib/generation/f1/AutoMovieHumanF1.js.map +1 -0
  28. package/lib/generation/f1/AutoMovieHumanF1Antihelix.d.ts +23 -0
  29. package/lib/generation/f1/AutoMovieHumanF1Antihelix.js +65 -0
  30. package/lib/generation/f1/AutoMovieHumanF1Antihelix.js.map +1 -0
  31. package/lib/generation/f1/AutoMovieHumanF1Arm.d.ts +18 -0
  32. package/lib/generation/f1/AutoMovieHumanF1Arm.js +82 -0
  33. package/lib/generation/f1/AutoMovieHumanF1Arm.js.map +1 -0
  34. package/lib/generation/f1/AutoMovieHumanF1Axilla.d.ts +18 -0
  35. package/lib/generation/f1/AutoMovieHumanF1Axilla.js +91 -0
  36. package/lib/generation/f1/AutoMovieHumanF1Axilla.js.map +1 -0
  37. package/lib/generation/f1/AutoMovieHumanF1Breast.d.ts +18 -0
  38. package/lib/generation/f1/AutoMovieHumanF1Breast.js +75 -0
  39. package/lib/generation/f1/AutoMovieHumanF1Breast.js.map +1 -0
  40. package/lib/generation/f1/AutoMovieHumanF1Concha.d.ts +40 -0
  41. package/lib/generation/f1/AutoMovieHumanF1Concha.js +81 -0
  42. package/lib/generation/f1/AutoMovieHumanF1Concha.js.map +1 -0
  43. package/lib/generation/f1/AutoMovieHumanF1FingerIndex.d.ts +18 -0
  44. package/lib/generation/f1/AutoMovieHumanF1FingerIndex.js +59 -0
  45. package/lib/generation/f1/AutoMovieHumanF1FingerIndex.js.map +1 -0
  46. package/lib/generation/f1/AutoMovieHumanF1FingerMiddle.d.ts +18 -0
  47. package/lib/generation/f1/AutoMovieHumanF1FingerMiddle.js +59 -0
  48. package/lib/generation/f1/AutoMovieHumanF1FingerMiddle.js.map +1 -0
  49. package/lib/generation/f1/AutoMovieHumanF1FingerPinky.d.ts +18 -0
  50. package/lib/generation/f1/AutoMovieHumanF1FingerPinky.js +75 -0
  51. package/lib/generation/f1/AutoMovieHumanF1FingerPinky.js.map +1 -0
  52. package/lib/generation/f1/AutoMovieHumanF1FingerRing.d.ts +18 -0
  53. package/lib/generation/f1/AutoMovieHumanF1FingerRing.js +75 -0
  54. package/lib/generation/f1/AutoMovieHumanF1FingerRing.js.map +1 -0
  55. package/lib/generation/f1/AutoMovieHumanF1FingerThumb.d.ts +18 -0
  56. package/lib/generation/f1/AutoMovieHumanF1FingerThumb.js +59 -0
  57. package/lib/generation/f1/AutoMovieHumanF1FingerThumb.js.map +1 -0
  58. package/lib/generation/f1/AutoMovieHumanF1Frames.d.ts +97 -0
  59. package/lib/generation/f1/AutoMovieHumanF1Frames.js +160 -0
  60. package/lib/generation/f1/AutoMovieHumanF1Frames.js.map +1 -0
  61. package/lib/generation/f1/AutoMovieHumanF1Hand.d.ts +18 -0
  62. package/lib/generation/f1/AutoMovieHumanF1Hand.js +81 -0
  63. package/lib/generation/f1/AutoMovieHumanF1Hand.js.map +1 -0
  64. package/lib/generation/f1/AutoMovieHumanF1Helix.d.ts +20 -0
  65. package/lib/generation/f1/AutoMovieHumanF1Helix.js +64 -0
  66. package/lib/generation/f1/AutoMovieHumanF1Helix.js.map +1 -0
  67. package/lib/generation/f1/AutoMovieHumanF1Joints.d.ts +231 -0
  68. package/lib/generation/f1/AutoMovieHumanF1Joints.js +249 -0
  69. package/lib/generation/f1/AutoMovieHumanF1Joints.js.map +1 -0
  70. package/lib/generation/f1/AutoMovieHumanF1Landmarks.d.ts +86 -0
  71. package/lib/generation/f1/AutoMovieHumanF1Landmarks.js +89 -0
  72. package/lib/generation/f1/AutoMovieHumanF1Landmarks.js.map +1 -0
  73. package/lib/generation/f1/AutoMovieHumanF1Leg.d.ts +18 -0
  74. package/lib/generation/f1/AutoMovieHumanF1Leg.js +82 -0
  75. package/lib/generation/f1/AutoMovieHumanF1Leg.js.map +1 -0
  76. package/lib/generation/f1/AutoMovieHumanF1Nose.d.ts +18 -0
  77. package/lib/generation/f1/AutoMovieHumanF1Nose.js +82 -0
  78. package/lib/generation/f1/AutoMovieHumanF1Nose.js.map +1 -0
  79. package/lib/generation/f1/AutoMovieHumanF1Nostril.d.ts +18 -0
  80. package/lib/generation/f1/AutoMovieHumanF1Nostril.js +59 -0
  81. package/lib/generation/f1/AutoMovieHumanF1Nostril.js.map +1 -0
  82. package/lib/generation/f1/AutoMovieHumanF1Placement.d.ts +75 -0
  83. package/lib/generation/f1/AutoMovieHumanF1Placement.js +151 -0
  84. package/lib/generation/f1/AutoMovieHumanF1Placement.js.map +1 -0
  85. package/lib/generation/f1/AutoMovieHumanF1Placing.d.ts +45 -0
  86. package/lib/generation/f1/AutoMovieHumanF1Placing.js +301 -0
  87. package/lib/generation/f1/AutoMovieHumanF1Placing.js.map +1 -0
  88. package/lib/generation/f1/AutoMovieHumanF1Plate.d.ts +18 -0
  89. package/lib/generation/f1/AutoMovieHumanF1Plate.js +59 -0
  90. package/lib/generation/f1/AutoMovieHumanF1Plate.js.map +1 -0
  91. package/lib/generation/f1/AutoMovieHumanF1ToeBig.d.ts +18 -0
  92. package/lib/generation/f1/AutoMovieHumanF1ToeBig.js +59 -0
  93. package/lib/generation/f1/AutoMovieHumanF1ToeBig.js.map +1 -0
  94. package/lib/generation/f1/AutoMovieHumanF1ToeIndex.d.ts +18 -0
  95. package/lib/generation/f1/AutoMovieHumanF1ToeIndex.js +59 -0
  96. package/lib/generation/f1/AutoMovieHumanF1ToeIndex.js.map +1 -0
  97. package/lib/generation/f1/AutoMovieHumanF1ToeLittle.d.ts +18 -0
  98. package/lib/generation/f1/AutoMovieHumanF1ToeLittle.js +75 -0
  99. package/lib/generation/f1/AutoMovieHumanF1ToeLittle.js.map +1 -0
  100. package/lib/generation/f1/AutoMovieHumanF1ToeMiddle.d.ts +18 -0
  101. package/lib/generation/f1/AutoMovieHumanF1ToeMiddle.js +75 -0
  102. package/lib/generation/f1/AutoMovieHumanF1ToeMiddle.js.map +1 -0
  103. package/lib/generation/f1/AutoMovieHumanF1ToeRing.d.ts +18 -0
  104. package/lib/generation/f1/AutoMovieHumanF1ToeRing.js +75 -0
  105. package/lib/generation/f1/AutoMovieHumanF1ToeRing.js.map +1 -0
  106. package/lib/generation/f1/AutoMovieHumanF1Trunk.d.ts +18 -0
  107. package/lib/generation/f1/AutoMovieHumanF1Trunk.js +79 -0
  108. package/lib/generation/f1/AutoMovieHumanF1Trunk.js.map +1 -0
  109. package/lib/generation/f1/AutoMovieHumanF1Vault.d.ts +18 -0
  110. package/lib/generation/f1/AutoMovieHumanF1Vault.js +75 -0
  111. package/lib/generation/f1/AutoMovieHumanF1Vault.js.map +1 -0
  112. package/lib/generation/foot/index.d.ts +51 -0
  113. package/lib/generation/foot/index.js +68 -0
  114. package/lib/generation/foot/index.js.map +1 -0
  115. package/lib/generation/frame/AutoMovieHumanSegmentFrame.d.ts +149 -0
  116. package/lib/generation/frame/AutoMovieHumanSegmentFrame.js +290 -0
  117. package/lib/generation/frame/AutoMovieHumanSegmentFrame.js.map +1 -0
  118. package/lib/generation/hand/index.d.ts +53 -0
  119. package/lib/generation/hand/index.js +70 -0
  120. package/lib/generation/hand/index.js.map +1 -0
  121. package/lib/generation/head/index.d.ts +37 -0
  122. package/lib/generation/head/index.js +54 -0
  123. package/lib/generation/head/index.js.map +1 -0
  124. package/lib/generation/index.d.ts +176 -0
  125. package/lib/generation/index.js +193 -0
  126. package/lib/generation/index.js.map +1 -0
  127. package/lib/generation/leg/AutoMovieHumanLegLaws.d.ts +1 -1
  128. package/lib/generation/leg/AutoMovieHumanLegLaws.js +23 -11
  129. package/lib/generation/leg/AutoMovieHumanLegLaws.js.map +1 -1
  130. package/lib/generation/leg/index.d.ts +34 -0
  131. package/lib/generation/leg/index.js +51 -0
  132. package/lib/generation/leg/index.js.map +1 -0
  133. package/lib/generation/limb/{AutoMovieHumanJointTurn.d.ts → AutoMovieHumanBendArc.d.ts} +1 -1
  134. package/lib/generation/limb/{AutoMovieHumanJointTurn.js → AutoMovieHumanBendArc.js} +12 -8
  135. package/lib/generation/limb/AutoMovieHumanBendArc.js.map +1 -0
  136. package/lib/generation/limb/AutoMovieHumanDigitWalk.js +2 -2
  137. package/lib/generation/limb/AutoMovieHumanDigitWalk.js.map +1 -1
  138. package/lib/generation/limb/AutoMovieHumanWalkPart.js +72 -17
  139. package/lib/generation/limb/AutoMovieHumanWalkPart.js.map +1 -1
  140. package/lib/generation/limb/index.d.ts +12 -0
  141. package/lib/generation/limb/index.js +29 -0
  142. package/lib/generation/limb/index.js.map +1 -0
  143. package/lib/generation/trunk/index.d.ts +17 -0
  144. package/lib/generation/trunk/index.js +34 -0
  145. package/lib/generation/trunk/index.js.map +1 -0
  146. package/lib/generation/web/index.d.ts +14 -0
  147. package/lib/generation/web/index.js +31 -0
  148. package/lib/generation/web/index.js.map +1 -0
  149. package/lib/index.d.ts +14 -4
  150. package/lib/index.js +14 -9
  151. package/lib/index.js.map +1 -1
  152. package/lib/lofting/index.d.ts +14 -0
  153. package/lib/lofting/index.js +31 -0
  154. package/lib/lofting/index.js.map +1 -0
  155. package/lib/skeleton/AutoMovieHumanCanonicalBody.d.ts +7 -3
  156. package/lib/skeleton/AutoMovieHumanCanonicalBody.js +31 -3
  157. package/lib/skeleton/AutoMovieHumanCanonicalBody.js.map +1 -1
  158. package/lib/skeleton/AutoMovieHumanCanonicalProfile.d.ts +22 -31
  159. package/lib/skeleton/AutoMovieHumanCanonicalProfile.js +112 -172
  160. package/lib/skeleton/AutoMovieHumanCanonicalProfile.js.map +1 -1
  161. package/lib/skeleton/AutoMovieHumanCanonicalSolids.d.ts +65 -0
  162. package/lib/skeleton/AutoMovieHumanCanonicalSolids.js +105 -0
  163. package/lib/skeleton/AutoMovieHumanCanonicalSolids.js.map +1 -0
  164. package/lib/skeleton/index.d.ts +29 -0
  165. package/lib/skeleton/index.js +46 -0
  166. package/lib/skeleton/index.js.map +1 -0
  167. package/lib/structures/index.d.ts +2 -2
  168. package/lib/structures/index.js +2 -2
  169. package/lib/structures/index.js.map +1 -1
  170. package/lib/typings/index.d.ts +1 -1
  171. package/lib/typings/index.js +1 -1
  172. package/lib/typings/index.js.map +1 -1
  173. package/package.json +21 -13
  174. package/src/generation/AutoMovieHumanDigitJoints.ts +12 -47
  175. package/src/generation/{AutoMovieHumanLegSection.ts → AutoMovieHumanLegSectionProportion.ts} +15 -6
  176. package/src/generation/arm/AutoMovieHumanArmFrame.ts +2 -2
  177. package/src/generation/arm/index.ts +28 -0
  178. package/src/generation/conic/AutoMovieHumanConicLoft.ts +566 -0
  179. package/src/generation/conic/AutoMovieHumanConicPose.ts +213 -0
  180. package/src/generation/conic/AutoMovieHumanConicRelief.ts +94 -0
  181. package/src/generation/conic/AutoMovieHumanConicSection.ts +609 -0
  182. package/src/generation/f1/AutoMovieHumanF1.ts +1448 -0
  183. package/src/generation/f1/AutoMovieHumanF1Antihelix.ts +64 -0
  184. package/src/generation/f1/AutoMovieHumanF1Arm.ts +82 -0
  185. package/src/generation/f1/AutoMovieHumanF1Axilla.ts +90 -0
  186. package/src/generation/f1/AutoMovieHumanF1Breast.ts +74 -0
  187. package/src/generation/f1/AutoMovieHumanF1Concha.ts +80 -0
  188. package/src/generation/f1/AutoMovieHumanF1FingerIndex.ts +58 -0
  189. package/src/generation/f1/AutoMovieHumanF1FingerMiddle.ts +58 -0
  190. package/src/generation/f1/AutoMovieHumanF1FingerPinky.ts +74 -0
  191. package/src/generation/f1/AutoMovieHumanF1FingerRing.ts +74 -0
  192. package/src/generation/f1/AutoMovieHumanF1FingerThumb.ts +58 -0
  193. package/src/generation/f1/AutoMovieHumanF1Frames.ts +191 -0
  194. package/src/generation/f1/AutoMovieHumanF1Hand.ts +81 -0
  195. package/src/generation/f1/AutoMovieHumanF1Helix.ts +63 -0
  196. package/src/generation/f1/AutoMovieHumanF1Joints.ts +319 -0
  197. package/src/generation/f1/AutoMovieHumanF1Landmarks.ts +101 -0
  198. package/src/generation/f1/AutoMovieHumanF1Leg.ts +82 -0
  199. package/src/generation/f1/AutoMovieHumanF1Nose.ts +82 -0
  200. package/src/generation/f1/AutoMovieHumanF1Nostril.ts +58 -0
  201. package/src/generation/f1/AutoMovieHumanF1Placement.ts +148 -0
  202. package/src/generation/f1/AutoMovieHumanF1Placing.ts +313 -0
  203. package/src/generation/f1/AutoMovieHumanF1Plate.ts +59 -0
  204. package/src/generation/f1/AutoMovieHumanF1ToeBig.ts +58 -0
  205. package/src/generation/f1/AutoMovieHumanF1ToeIndex.ts +58 -0
  206. package/src/generation/f1/AutoMovieHumanF1ToeLittle.ts +74 -0
  207. package/src/generation/f1/AutoMovieHumanF1ToeMiddle.ts +74 -0
  208. package/src/generation/f1/AutoMovieHumanF1ToeRing.ts +74 -0
  209. package/src/generation/f1/AutoMovieHumanF1Trunk.ts +79 -0
  210. package/src/generation/f1/AutoMovieHumanF1Vault.ts +74 -0
  211. package/src/generation/foot/index.ts +51 -0
  212. package/src/generation/frame/AutoMovieHumanSegmentFrame.ts +309 -0
  213. package/src/generation/hand/index.ts +53 -0
  214. package/src/generation/head/index.ts +37 -0
  215. package/src/generation/index.ts +176 -0
  216. package/src/generation/leg/AutoMovieHumanLegLaws.ts +80 -25
  217. package/src/generation/leg/index.ts +34 -0
  218. package/src/generation/limb/{AutoMovieHumanJointTurn.ts → AutoMovieHumanBendArc.ts} +39 -11
  219. package/src/generation/limb/AutoMovieHumanDigitWalk.ts +2 -2
  220. package/src/generation/limb/AutoMovieHumanWalkPart.ts +163 -41
  221. package/src/generation/limb/index.ts +12 -0
  222. package/src/generation/trunk/index.ts +17 -0
  223. package/src/generation/web/index.ts +14 -0
  224. package/src/index.ts +14 -4
  225. package/src/lofting/index.ts +14 -0
  226. package/src/skeleton/AutoMovieHumanCanonicalBody.ts +53 -3
  227. package/src/skeleton/AutoMovieHumanCanonicalProfile.ts +153 -358
  228. package/src/skeleton/AutoMovieHumanCanonicalSolids.ts +175 -0
  229. package/src/skeleton/index.ts +29 -0
  230. package/src/structures/index.ts +2 -2
  231. package/src/typings/index.ts +1 -1
  232. package/lib/generation/AutoMovieHumanLegSection.js.map +0 -1
  233. package/lib/generation/limb/AutoMovieHumanJointTurn.js.map +0 -1
@@ -0,0 +1,265 @@
1
+ import { type IAutoMovieViewPart } from "@automovie/engine";
2
+ import type { AutoMovieConstructionNode, IAutoMovieConstructionFill, IAutoMovieConstructionPort } from "@automovie/interface";
3
+ import { AutoMovieHumanConicLoft } from "../conic/AutoMovieHumanConicLoft";
4
+ import { AutoMovieHumanF1Placement } from "./AutoMovieHumanF1Placement";
5
+ /**
6
+ * The f1 figure in its reference pose, generated from its authored conic
7
+ * families alone: no reference mesh, recovered curve or observation file is
8
+ * read anywhere on this path.
9
+ *
10
+ * The body is one sewn skin, built by the engine's construction operators:
11
+ * the trunk from the crotch to the crown, the nose's free end, and on each
12
+ * side an arm that runs from the armpit's sagittal plane round the shoulder
13
+ * and through the wrist to the finger webs, a leg that runs from below the
14
+ * crotch round the ankle to the toe webs, an ear, five fingers and five toes.
15
+ * The trunk's open lower end is split into the two legs along the midsagittal
16
+ * chord, and each arm, each breast and the nose is attached at a port on the
17
+ * trunk; those bands span from a curve on the trunk to a ring of the part and
18
+ * meet both G2 without a traced intersection. Each finger and toe is a
19
+ * capsule merged onto its limb's cap along the curve where it comes out, and
20
+ * each ear is its plate with the helix and the antihelix merged on it as
21
+ * tubes, merged onto the head along the curve round the plate's root. The
22
+ * crown, each hand, each foot, each ear, the nose and each digit close in a
23
+ * pole.
24
+ *
25
+ * The hand's sections leave out the thumb past where it stands free, as the
26
+ * trunk's leave out the arms, the ears and the nose. The face's eyes and
27
+ * mouth are height fields over the trunk's wall. A hollow with a wall of its
28
+ * own is a loft cut out: each nostril and each ear's bowl from the head.
29
+ *
30
+ * Every family is placed through f1's segment frames (`assemble`): its course, its chart's `up` and its reliefs' directions are stored in
31
+ * the frames of the segments they belong to (`AutoMovieHumanF1Placing`) and mapped to the figure's frame at a pose, the reference pose
32
+ * unless another is given. Whatever reads the figure's frame here (the port loops, the fan seams, the fills) reads it through those frames.
33
+ */
34
+ export declare namespace AutoMovieHumanF1 {
35
+ /** One generated surface piece. */
36
+ interface IPiece {
37
+ /** `body` for the sewn skin, else a digit's chain name, with `.mirror` for the reflected twin. */
38
+ name: string;
39
+ /** Vertex positions, three per vertex, metres in the figure's frame (forward +X, up +Y, left +Z). */
40
+ positions: number[];
41
+ /** Triangle indices, counter-clockwise seen from outside. */
42
+ indices: number[];
43
+ /** What the engine refused, one line each; empty when the piece was admitted whole. */
44
+ diagnostics: string[];
45
+ }
46
+ /** One authored family in the figure. */
47
+ interface IMember {
48
+ /** The authored definition. */
49
+ family: AutoMovieHumanConicLoft.IFamily;
50
+ /** Present a second time as its twin across the median plane `z = 0`. */
51
+ mirrored: boolean;
52
+ /**
53
+ * How far a loose family is carried before its first knot and past its last, mm. There its fields continue as the straight
54
+ * end tangents of their natural cubics, so a digit reaches into the hand or the foot. The overlap is not a join. Absent, no reach.
55
+ */
56
+ reach?: [number, number];
57
+ }
58
+ /** The families the sewn body is built from. */
59
+ const BODY: {
60
+ trunk: AutoMovieHumanConicLoft.IFamily;
61
+ arm: AutoMovieHumanConicLoft.IFamily;
62
+ hand: AutoMovieHumanConicLoft.IFamily;
63
+ leg: AutoMovieHumanConicLoft.IFamily;
64
+ ear: AutoMovieHumanConicLoft.IFamily;
65
+ nose: AutoMovieHumanConicLoft.IFamily;
66
+ breast: AutoMovieHumanConicLoft.IFamily;
67
+ };
68
+ /** One digit sewn to its limb. */
69
+ interface IDigit {
70
+ /** The digit's authored definition. */
71
+ family: AutoMovieHumanConicLoft.IFamily;
72
+ /** The limb whose cap it leaves through. */
73
+ limb: "arm" | "leg";
74
+ /**
75
+ * The digit leaves its limb's end over a knuckle in the row of knuckles, as one of the children of the end's split (`FANS`). The thumb
76
+ * leaves the hand's side, its first joint deep in the palm, and keeps the root closed `ROOT_MM` behind its first joint.
77
+ */
78
+ knuckle: boolean;
79
+ }
80
+ /**
81
+ * The digits sewn to the body. A knuckled digit is a child of its limb's split (`FANS`). The thumb is merged onto the hand's side as a
82
+ * capsule: besides its tip it closes in a point inside the hand (`ROOT_MM`), so it meets the hand in a closed curve wherever it comes out.
83
+ * A toe's end is a round dome (`rounded`).
84
+ */
85
+ const DIGITS: readonly IDigit[];
86
+ /** The families not sewn: none now. A loose family is emitted as a closed tube of its own, carried by its reach under its neighbour's skin. */
87
+ const LOOSE: readonly IMember[];
88
+ /** Every authored family of the figure. */
89
+ const FAMILIES: readonly IMember[];
90
+ /**
91
+ * Every stored cutter of the figure: the armpit's slit, each ear's bowl and each nostril are lofts cut out of the skin (`construction`),
92
+ * so `FAMILIES` does not hold them. Each is listed as stored, with `cut`, the family the figure lofts from it: the nostril is drawn in by
93
+ * its rim and spread past its mouth (`drawnIn`, `spreadOut`), the others are cut as stored. A reader that changes a cutter's stored
94
+ * fields reads through `cut` the wall the figure would cut with them.
95
+ */
96
+ const CUTTERS: readonly {
97
+ family: AutoMovieHumanConicLoft.IFamily;
98
+ mirrored: boolean;
99
+ cut: (family: AutoMovieHumanConicLoft.IFamily) => AutoMovieHumanConicLoft.IFamily;
100
+ }[];
101
+ /** Every family of the figure placed at a pose (`assemble`). */
102
+ interface IAssembly {
103
+ /** Every segment's frame at the pose, in the figure's frame. */
104
+ frames: AutoMovieHumanF1Placement.IFrames;
105
+ /** `BODY` at the pose. */
106
+ body: typeof BODY;
107
+ /** `DIGITS` at the pose. */
108
+ digits: IDigit[];
109
+ /** The helix's tube at the pose. */
110
+ helix: AutoMovieHumanConicLoft.IFamily;
111
+ /** The antihelix's tube at the pose. */
112
+ antihelix: AutoMovieHumanConicLoft.IFamily;
113
+ /** The armpit's slit cutter at the pose, as stored. */
114
+ axilla: AutoMovieHumanConicLoft.IFamily;
115
+ /** The ear's bowl cutter at the pose, as stored. */
116
+ concha: AutoMovieHumanConicLoft.IFamily;
117
+ /** The nostril's cutter at the pose, as stored, before `CUTTERS`' `cut`. */
118
+ nostril: AutoMovieHumanConicLoft.IFamily;
119
+ /** Every family above, once: `FAMILIES`' and `CUTTERS`' families at the pose. */
120
+ families: AutoMovieHumanConicLoft.IFamily[];
121
+ /**
122
+ * A station of a stored family carried to the pose, mm (`AutoMovieHumanConicPose.map`): `from` when `length` is absent, else the
123
+ * length at the pose of the stretch `length` mm long that starts at `from`. A station constant read along a posed family (where a
124
+ * face ends, where a band lands) goes through it; at the reference pose both are the numbers given.
125
+ */
126
+ station: (family: string, from: number, length?: number) => number;
127
+ /** A datum of `AutoMovieHumanF1Placing.POINTS` at the pose, mm in the figure's frame. */
128
+ point: (name: string) => [number, number, number];
129
+ /** A direction of `AutoMovieHumanF1Placing.DIRECTIONS` at the pose, in the figure's frame. */
130
+ direction: (name: string) => [number, number, number];
131
+ }
132
+ /**
133
+ * Place every family of the figure at a pose: each family's course, `up` and relief directions are read from the re-based table through
134
+ * the chain of segment frames (`AutoMovieHumanF1Placement.place`), and its section table is carried untouched. Where the pose changes
135
+ * a course's joint angles its turns keep their set-backs, its stations are mapped and its chart takes its joints' twist
136
+ * (`AutoMovieHumanConicPose`). Absent, the pose is the reference pose, at which every family is its stored module number for number. A twin is not placed: it is the reflection of its placed
137
+ * side in the median plane, as before.
138
+ *
139
+ * @param pose One rotation per joint by segment name; a joint it leaves undefined keeps its reference rotation.
140
+ */
141
+ function assemble(pose?: AutoMovieHumanF1Placement.IPose): IAssembly;
142
+ /** `ARM_RAILS_MM` for one side: the twin's chart runs the other way round, so its phase `psi` is the +Z arm's `-psi`. */
143
+ function armRails(side: 1 | -1): number[];
144
+ /**
145
+ * Where each limb's band lands on it, mm from the limb's first station: the limb keeps its stations beyond. The arm's first station is 2 mm
146
+ * past the armscye's plane and its course is nearly square to that plane for its first 25 mm, so its ring 10 mm on lies beside the plane. The nose's band lands on a curve (`NOSE_RAILS_MM`).
147
+ */
148
+ const RAIL_MM: {
149
+ arm: number;
150
+ leg: number;
151
+ breast: number;
152
+ };
153
+ /**
154
+ * Where the nose's band lands on it, mm from its first station, at its phases `2 pi j / 32` (0 up, a quarter turn toward -Z, a half turn
155
+ * down), joined by the periodic cubic: a curve, not one station, because the nose's root lies in no one plane. The nose's sections start
156
+ * half a millimetre in front of the alar grooves, so from there its wall is the wings' outer face, but its first sections are closed by its
157
+ * box's chords at the top, inside the dorsum, and at the bottom, inside the lip behind the subnasale. Read off the nose's own wall by its
158
+ * distance to the reference skin (`FamilyConicScan.ts nose-rail`, the station from which it lies within 0.3 mm of the skin): the wings'
159
+ * faces from the first station, and the dorsum from 10 mm in (x 123.5). Below, the wall leaves the lip's flesh for the skin 7 to 10.5 mm
160
+ * in, but there the nostrils lie, back to 117.6 mm forward, and a cut that crossed the band admitted only a knife-edged blend. Below,
161
+ * from 135 to 225 degrees round, the band lands on the line where the lip's front meets the nose's floor at 1,543 mm, read off level
162
+ * sections at 1,542 and 1,544 mm (`FamilyConicScan.ts alar`): x 123 on the median line (9 mm in), 122.8 at 2.6 mm across (8.5), 122.2
163
+ * at 5.4 mm (8), 120 at 8.7 mm (5.5, just behind each nostril's blended rim at 120.2 to 120.9) and 116.5 at 13 mm (3), so the band
164
+ * rises from the lip straight into the floor. Landed 3 mm in all along, behind the nostrils, the band ran 4 to 6 mm back under the sill
165
+ * from the lip's front and turned on itself (folds of 110 to 161 degrees along y 1,543); landed 10.5 mm in at the subnasale alone,
166
+ * between neighbours at 3 mm, it stood as a notch. Where the wall is skin from the first station the band still lands 2 mm in, so it
167
+ * rounds the alar groove; under the back of each wing, where the alar groove is sharpest (110 to 125 and 235 to 250 degrees), only
168
+ * 1.5 mm in, so the crease there is crisp and softer above. The floor's net (`AutoMovieHumanF1Nose`, `nose.floor`) lifts the ring
169
+ * between the wings onto the underside's skin, which leaves it no longer star-shaped about its centroid, so the port matches it to its
170
+ * loop by length (`correspondence`); by angle it was refused. Above the wings the
171
+ * face keeps the sidewalls (`FamilyConicBody.ts noseCut`), and the band lands 5 to 8 mm in, the farther the higher, so its loop, 2.5 mm
172
+ * outside this curve, stays on the face's own skin.
173
+ */
174
+ const NOSE_RAILS_MM: readonly number[];
175
+ /** The sewn body's declaration: its construction tree and the view parts its source leaves name. */
176
+ interface IConstruction {
177
+ /** The tree: both arm ports over the crotch split over the trunk. */
178
+ root: AutoMovieConstructionNode;
179
+ /** The view part of every source leaf, by its name. */
180
+ sources: Map<string, IAutoMovieViewPart>;
181
+ /** The skin's discs faired once it is drawn (`IAutoMovieConstruction.fills`), metres. */
182
+ fills: IAutoMovieConstructionFill[];
183
+ }
184
+ /**
185
+ * The armscye's port on the trunk's chart.
186
+ *
187
+ * The armscye is the armpit's sagittal plane: the trunk owns the skin medial of it and the arm the skin lateral of it, the shoulder's cap
188
+ * included. The arm's course leaves the trunk square to that plane, so the ring the band lands on lies beside the plane. The port is that
189
+ * ring's own outline as the trunk's chart sees it, each point's height above the axis's foot and its phase about the axis, pushed out from
190
+ * the outline's centre by the margin so the loop stands on the trunk's own skin round the ring. The loop is written as the ellipse on the
191
+ * outline's half extents with a share per column. An ellipse alone stood up to 29 mm from the ring under the armpit, where the ring's
192
+ * lower edge runs aslant, and the band there reached the arm against the arm's own direction.
193
+ *
194
+ * The ring, the armpit's crease and the axis's foot are read in the trunk's chart at the pose (`trunkChart`), heights as stations along
195
+ * the trunk's course, so the loop follows a posed arm.
196
+ *
197
+ * @param side +1 for the +Z side, -1 for its twin.
198
+ * @param placed The figure's families at a pose; absent, the reference pose.
199
+ */
200
+ function armscye(side: 1 | -1, placed?: IAssembly): IAutoMovieConstructionPort.ILoop;
201
+ /**
202
+ * The nose's port on the trunk's chart: the nose's own rail curve as the trunk's chart sees it, each point's height above the axis's foot
203
+ * and its phase about the axis, pushed out by the margin, as the armscye's loop is the arm's ring. Its phase is read as millimetres at the
204
+ * ring's mean distance from the trunk's axis.
205
+ *
206
+ * @param placed The figure's families at a pose; absent, the reference pose.
207
+ */
208
+ function nostril(placed?: IAssembly): IAutoMovieConstructionPort.ILoop;
209
+ /**
210
+ * The breast's port on the trunk's chart: each point of the breast's ring at its rail carried out from the breast's course, square to
211
+ * it, to the distance `BREAST_CHEST_MM` gives at its clock, as the trunk's chart sees it; written as the armscye's loop is. Its phase is
212
+ * read as millimetres at the ring's mean distance from the trunk's axis.
213
+ *
214
+ * The clocks' zero, up, is the thorax's Y made square to the course, and the ring is read in the trunk's chart at the pose
215
+ * (`trunkChart`).
216
+ *
217
+ * @param side +1 for the +Z side, -1 for its twin.
218
+ * @param placed The figure's families at a pose; absent, the reference pose.
219
+ */
220
+ function mammary(side: 1 | -1, placed?: IAssembly): IAutoMovieConstructionPort.ILoop;
221
+ /**
222
+ * Where the plane between two neighbouring digits crosses a limb's open end: the two host phases at which the end's ring crosses the
223
+ * plane through the midpoints of the two digits' first joints and of their second joints that holds `up`, increasing in `[0, 2 pi)`.
224
+ *
225
+ * @param family The limb's family, its end open.
226
+ * @param station The end's station, mm.
227
+ * @param joints The two digits' first and second joints: `[[first, second], [first, second]]`.
228
+ * @param up The palm's or the sole's normal, or any direction the plane must hold.
229
+ */
230
+ function valley(family: AutoMovieHumanConicLoft.IFamily, station: number, joints: [[number[], number[]], [number[], number[]]], up: number[]): [number, number];
231
+ /**
232
+ * The seams a limb's open end is split along between its knuckled digits (`IAutoMovieConstructionSplit.outer`), from the little
233
+ * finger's or the little toe's valley inward, each a pair of host phases on the end's ring enclosing the one before; each seam's heading,
234
+ * toward the middle of the gap between the two digits' facing skins (`IAutoMovieConstructionSplit.IProfile.heading`); and the end's station, outward normal and palm or
235
+ * sole normal. The split of a fanned limb's end (`FANS`) and `FamilyConicScan.ts webs` read it.
236
+ *
237
+ * The joints are the datums at the pose. The palm's normal is the vector product of the wrist's lines to the index and the pinky
238
+ * finger's first joints; the sole's is the foot's stored direction `leg.fan.up`, the floor's normal reversed in the reference pose.
239
+ *
240
+ * @param which The limb.
241
+ * @param placed The figure's families at a pose; absent, the reference pose.
242
+ */
243
+ function fanSeams(which: "arm" | "leg", placed?: IAssembly): {
244
+ station: number;
245
+ seams: [number, number][];
246
+ headings: [number, number, number][];
247
+ normal: number[];
248
+ up: number[];
249
+ };
250
+ /**
251
+ * Declare the sewn body.
252
+ *
253
+ * @param layer Station spacing of each family's layers and derived outlines, mm.
254
+ * @param pose The pose the families are placed at (`assemble`); absent, the reference pose.
255
+ */
256
+ function construction(layer?: number, pose?: AutoMovieHumanF1Placement.IPose): IConstruction;
257
+ /**
258
+ * Generate the figure's pieces: the sewn body, then every loose family and its twin.
259
+ *
260
+ * @param step Station spacing of a loose family's layers, mm.
261
+ * @param phases Vertices round every layer of a loose family.
262
+ * @param chord Largest distance the sewn body's triangles may stand off its surfaces, metres. Most of the generation time is this tessellation.
263
+ */
264
+ function create(step?: number, phases?: number, chord?: number): IPiece[];
265
+ }