You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

299 lines
4.9KB

  1. ---
  2. name: Classic Trouser Block
  3. points:
  4. 0:
  5. position: {}
  6. 1:
  7. position:
  8. y: -(body_rise + 10)
  9. relativeTo: 0
  10. 2:
  11. position:
  12. y: -inside_leg
  13. relativeTo: 1
  14. 3:
  15. position:
  16. y: inside_leg/2+50
  17. relativeTo: 2
  18. 4:
  19. position:
  20. y: body_rise/4
  21. relativeTo: 1
  22. 5:
  23. position:
  24. x: -(seat/8 - 10)
  25. relativeTo: 1
  26. 6:
  27. position:
  28. x: -(seat/8 - 10)
  29. relativeTo: 4
  30. 7:
  31. position:
  32. x: -(seat/8 - 10)
  33. relativeTo: 0
  34. 8:
  35. position:
  36. x: seat/4 + 20
  37. relativeTo: 6
  38. 9:
  39. position:
  40. x: -(seat/16 + 5)
  41. relativeTo: 5
  42. 10:
  43. position:
  44. x: 10
  45. relativeTo: 7
  46. 11:
  47. position:
  48. x: trouser_waist/4 + 25
  49. relativeTo: 10
  50. 12:
  51. position:
  52. x: trouser_bottom_width/2
  53. relativeTo: 2
  54. 13:
  55. position:
  56. x: -trouser_bottom_width/2
  57. relativeTo: 2
  58. 14:
  59. position:
  60. x: trouser_bottom_width/2 + 15
  61. relativeTo: 3
  62. 15:
  63. position:
  64. x: -(trouser_bottom_width/2 + 15)
  65. relativeTo: 3
  66. 16:
  67. position:
  68. x: (seat/8 - 10) / 4
  69. relativeTo: 5
  70. 17:
  71. position:
  72. x: (seat/8 - 10) / 4
  73. relativeTo: 6
  74. 18:
  75. position:
  76. x: (seat/8 - 10) / 4
  77. relativeTo: 7
  78. 19:
  79. between:
  80. from: 16
  81. to: 18
  82. offset: 0.5
  83. 21:
  84. position:
  85. x: 20
  86. y: 10
  87. relativeTo: 18
  88. 22:
  89. position:
  90. x: -(seat/16 + 5)/2 + 5
  91. relativeTo: 9
  92. 23:
  93. position:
  94. y: -5
  95. relativeTo: 22
  96. 24:
  97. position:
  98. x: (((trouser_waist/4 + 45)^2) - (10^2))^(0.5)
  99. y: -10
  100. relativeTo: 21
  101. 25:
  102. between:
  103. from: 21
  104. to: 24
  105. offset: 0.5
  106. 26:
  107. position:
  108. x: seat/4 + 30
  109. relativeTo: 17
  110. 27:
  111. position:
  112. x: 20
  113. relativeTo: 12
  114. 28:
  115. position:
  116. x: -20
  117. relativeTo: 13
  118. 29:
  119. position:
  120. x: 20
  121. relativeTo: 14
  122. 30:
  123. position:
  124. x: -20
  125. relativeTo: 15
  126. panels:
  127. front:
  128. name: Front
  129. information:
  130. position:
  131. x: 10
  132. y: -10
  133. relativeTo: 1
  134. allowances:
  135. hem: none
  136. seam: 1cm
  137. points:
  138. extend12-14:
  139. between:
  140. from: 12
  141. to: 14
  142. offset: 1.3
  143. between11-8:
  144. between:
  145. from: 8
  146. to: 11
  147. offset: 0.5
  148. between9-15:
  149. between:
  150. from: 15
  151. to: 9
  152. offset: 0.5
  153. offset_between11-8:
  154. position:
  155. x: 5
  156. relativeTo: between11-8
  157. offset_between9-15:
  158. position:
  159. x: 5
  160. relativeTo: between9-15
  161. extend13-15:
  162. between:
  163. from: 13
  164. to: 15
  165. offset: 1.5
  166. h5:
  167. polar:
  168. rotation: 3*pi/4
  169. length: 30
  170. relativeTo: 5
  171. hide: true
  172. 1extend:
  173. position:
  174. y: -body_rise/4
  175. relativeTo: 8
  176. hide: true
  177. lines:
  178. 1:
  179. through: [0,4,1,3,2]
  180. 2:
  181. through: [6, 8]
  182. 3:
  183. through: [9, 1extend]
  184. 4:
  185. through: [14,12,13,15,14]
  186. 5:
  187. through: [14,8,11]
  188. curve:
  189. start: extend12-14
  190. end: offset_between11-8
  191. 6:
  192. through: [15,9]
  193. curve:
  194. start: extend13-15
  195. 7:
  196. through: [9, h5, 6]
  197. curve: {}
  198. 8:
  199. through: [6, 10, 11]
  200. back:
  201. name: Back
  202. information:
  203. position:
  204. x: 10
  205. y: -10
  206. relativeTo: 1
  207. allowances:
  208. hem: none
  209. seam: 1cm
  210. points:
  211. 25a:
  212. position:
  213. y: -12.5
  214. relativeTo: 25
  215. hide: true
  216. 25b:
  217. position:
  218. y: 12.5
  219. relativeTo: 25
  220. hide: true
  221. 25c:
  222. position:
  223. x: 120
  224. relativeTo: 25
  225. hide: true
  226. 2down:
  227. position:
  228. y: -10
  229. relativeTo: 2
  230. hide: true
  231. 16rotated:
  232. position:
  233. rotation: pi/4
  234. relativeTo: 16
  235. 16offset:
  236. position:
  237. y: 45
  238. relativeTo: 16rotated
  239. hide: true
  240. 23a:
  241. position:
  242. x: 160
  243. y: -30
  244. relativeTo: 23
  245. 30extend:
  246. between:
  247. from: 28
  248. to: 30
  249. offset: 1.7
  250. 29extend:
  251. between:
  252. from: 27
  253. to: 29
  254. offset: 1.7
  255. 16extend:
  256. position:
  257. x: seat/4 + 30
  258. relativeTo: 16
  259. hide: true
  260. 0extend:
  261. position:
  262. y: 10
  263. relativeTo: 0
  264. hide: true
  265. lines:
  266. 1:
  267. through: [0extend, 0, 4, 1, 3, 2]
  268. 2:
  269. through: [6, 17, 26]
  270. 3:
  271. through: [22, 16, 16extend]
  272. 4:
  273. through: [28, 30, 29, 27]
  274. 5:
  275. through: [21,25a,25c,25b,24]
  276. 6:
  277. through: [28,2down,27]
  278. curve: {}
  279. 7:
  280. through: [23,16offset,19,21]
  281. curve:
  282. start: 23a
  283. 8:
  284. through: [30,23]
  285. curve:
  286. start: 30extend
  287. 9:
  288. through: [29,26,24]
  289. curve:
  290. start: 29extend