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.

285 lines
4.8KB

  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. r5:
  167. position:
  168. rotation: 3*pi/4
  169. relativeTo: 5
  170. h5:
  171. position:
  172. x: 30
  173. relativeTo: r5
  174. hide: true
  175. 1extend:
  176. position:
  177. y: -body_rise/4
  178. relativeTo: 8
  179. hide: true
  180. lines:
  181. - through: [0,4,1,3,2]
  182. - through: [6, 8]
  183. - through: [9, 1extend]
  184. - through: [14,12,13,15,14]
  185. - through: [14,8,11]
  186. curve:
  187. start: extend12-14
  188. end: offset_between11-8
  189. - through: [15,9]
  190. curve:
  191. start: extend13-15
  192. - through: [9, h5, 6]
  193. curve: {}
  194. - through: [6, 10, 11]
  195. back:
  196. name: Back
  197. information:
  198. position:
  199. x: 10
  200. y: -10
  201. relativeTo: 1
  202. allowances:
  203. hem: none
  204. seam: 1cm
  205. points:
  206. 25a:
  207. position:
  208. y: -12.5
  209. relativeTo: 25
  210. hide: true
  211. 25b:
  212. position:
  213. y: 12.5
  214. relativeTo: 25
  215. hide: true
  216. 25c:
  217. position:
  218. x: 120
  219. relativeTo: 25
  220. hide: true
  221. 2down:
  222. position:
  223. y: -10
  224. relativeTo: 2
  225. hide: true
  226. 16rotated:
  227. position:
  228. rotation: pi/4
  229. relativeTo: 16
  230. 16offset:
  231. position:
  232. y: 45
  233. relativeTo: 16rotated
  234. hide: true
  235. 23a:
  236. position:
  237. x: 160
  238. y: -30
  239. relativeTo: 23
  240. 30extend:
  241. between:
  242. from: 28
  243. to: 30
  244. offset: 1.7
  245. 29extend:
  246. between:
  247. from: 27
  248. to: 29
  249. offset: 1.7
  250. 16extend:
  251. position:
  252. x: seat/4 + 30
  253. relativeTo: 16
  254. hide: true
  255. 0extend:
  256. position:
  257. y: 10
  258. relativeTo: 0
  259. hide: true
  260. lines:
  261. - through: [0extend, 0, 4, 1, 3, 2]
  262. - through: [6, 17, 26]
  263. - through: [22, 16, 16extend]
  264. - through: [28, 30, 29, 27]
  265. - through: [21,25a,25c,25b,24]
  266. - through: [28,2down,27]
  267. curve: {}
  268. - through: [23,16offset,19,21]
  269. curve:
  270. start: 23a
  271. - through: [30,23]
  272. curve:
  273. start: 30extend
  274. - through: [29,26,24]
  275. curve:
  276. start: 29extend