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.

282 line
4.7KB

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