瀏覽代碼

Add collar templates

implement_v2
Wouter Horlings 2 月之前
父節點
當前提交
f7a201c486
共有 3 個文件被更改,包括 341 次插入0 次删除
  1. +4
    -0
      templates/dimension_names.yaml
  2. +217
    -0
      templates/shirt_collar.yaml
  3. +120
    -0
      templates/standing_collars.yaml

+ 4
- 0
templates/dimension_names.yaml 查看文件

@@ -5,6 +5,8 @@ trouser_waist:
name: Trouser waist
body_rise:
name: Body rise
button_stand:
name: Button stand
inside_leg:
name: Inside leg
trouser_bottom_width:
@@ -35,6 +37,8 @@ cuff_size:
name: Cuff size
cuff_depth:
name: Cuff Depth
collar_depth:
name: Collar Depth

bovenwijdte:
name: Bovenwijdte


+ 217
- 0
templates/shirt_collar.yaml 查看文件

@@ -0,0 +1,217 @@
---
panels:
Shirt collar:
points:
1: {}
2:
relativeTo: 1
position:
x: neck_size /2
3:
relativeTo: 2
position:
x: button_stand + 12.5
4:
relativeTo: 1
position:
x: DistanceBetween("1","2") / 4*3
5:
relativeTo: 1
position:
y: collar_depth + button_stand + 2
6:
between:
from: 1
to: 5
offset: 0.5
7:
relativeTo: 2
position:
y: DistanceBetween("1","6")
8:
relativeTo: 3
position:
y: DistanceBetween("1","6")
9:
relativeTo: 8
position:
x: -10
10:
extend:
from: 9
to: 3
offset: -7.5
11:
extend:
from: 3
to: 9
offset: -7.5
12:
relativeTo: 1
position:
y: 5
13:
relativeTo: 5
position:
x: DistanceBetween("1","4")/5 *4
hide: true
14:
relativeTo: 2
position:
y: DistanceBetween("1","5")
14a:
relativeTo: 14
polar:
length: 15
rotation: pi/4
hide: true
14b:
relativeTo: 14
position:
x: 40
lines:
1:
through: [12,4,10]
curve: {}
style:
thickness: 1
2:
through: [10,11,7,14a]
style:
thickness: 1
3:
through: [12,6,5,13]
style:
thickness: 1
4:
through: [13,14a]
curve:
start: 14b
style:
thickness: 1
5:
through: [13,14,7,2]
6:
through: [12,1,4,2,3,8,7,6]
7:
through: [3,10,11,9]
Shirt collar with stand:
points:
1: {}
2:
relativeTo: 1
position:
x: neck_size /2
3:
relativeTo: 2
position:
x: button_stand + 12.5
4:
relativeTo: 1
position:
x: DistanceBetween("1","2") / 4*3
5:
relativeTo: 1
position:
y: collar_depth + button_stand + 2
6:
between:
from: 1
to: 5
offset: 0.5
7:
relativeTo: 2
position:
y: DistanceBetween("1","6")
8:
relativeTo: 3
position:
y: DistanceBetween("1","6")
9:
relativeTo: 8
position:
x: -10
10:
extend:
from: 9
to: 3
offset: -7.5
11:
extend:
from: 3
to: 9
offset: -7.5
12:
relativeTo: 1
position:
y: 5
13:
between:
from: 6
to: 7
offset: 0.5
14:
relativeTo: 7
position:
y: -10
15:
extend:
from: 10
to: 11
offset: -10
16:
relativeTo: 2
position:
y: DistanceBetween("1","5")
16a:
relativeTo: 16
polar:
length: 15
rotation: pi/4
hide: true
16b:
relativeTo: 16
position:
x: 40
17:
relativeTo: 5
position:
x: DistanceBetween("1","4")/5 *4
hide: true
lines:
1:
through: [12,4,10]
curve: {}
style:
thickness: 1
2:
through: [14,16a]
style:
thickness: 1
3:
through: [13,14,15]
style:
thickness: 1
curve:
start: 8
4:
through: [6,13]
style:
thickness: 1
5:
through: [12,6,5,17]
style:
thickness: 1
6:
through: [12,1,4,2,3,8,7,6]
7:
through: [10,15]
style:
thickness: 1
8:
through: [17,16a]
curve:
start: 16b
style:
thickness: 1


+ 120
- 0
templates/standing_collars.yaml 查看文件

@@ -0,0 +1,120 @@
---
panels:
1a Standard straight collar:
points:
1: {}
2:
relativeTo: 1
position:
x: neck_size/2
3:
relativeTo: 2
position:
x: button_stand + 10
4:
relativeTo: 1
position:
y: collar_depth + 20
5:
relativeTo: 3
position:
y: collar_depth + 20
6:
relativeTo: 5
position:
x: -15
7:
relativeTo: 6
position:
x: -DistanceBetween("2","3")
8:
relativeTo: 1
position:
x: DistanceBetween("1","2") * 3 / 4
9:
relativeTo: 3
position:
y: 15
lines:
1:
through: [9,6,7,4,1,8]
style:
thickness: 1
2:
through: [8,3,5,7,2]
3:
through: [8,9]
curve:
start: 3
style:
thickness: 1
1b Standard straight collar with stand:
points:
1: {}
2:
relativeTo: 1
position:
x: neck_size/2
3:
relativeTo: 2
position:
x: button_stand + 10
4:
relativeTo: 1
position:
y: button_stand + 20
5:
relativeTo: 3
position:
y: collar_depth + 20
6:
relativeTo: 5
position:
x: -15
7:
relativeTo: 6
position:
x: -DistanceBetween("2","3")
8:
relativeTo: 1
position:
x: DistanceBetween("1","2") * 3 / 4
9:
relativeTo: 3
position:
y: 15
10:
relativeTo: 4
position:
y: 20
11:
relativeTo: 6
position:
y: 20
12:
relativeTo: 10
position:
y: collar_depth + 20
13:
relativeTo: 11
position:
y: collar_depth + 20
14:
relativeTo: 7
position:
y: 20
lines:
1:
through: [9,6,7,4,1,8]
style:
thickness: 1
2:
through: [8,3,5,7,2]
3:
through: [8,9]
curve:
start: 3
style:
thickness: 1



Loading…
取消
儲存