make blade thinner, make hilt shorter, scale up whole rapier slightly

This commit is contained in:
xenofem 2022-07-28 02:15:27 -04:00
parent 6d0d543f00
commit f7584030bd

View file

@ -1,10 +1,10 @@
import "scaling.asy" as scaling;
real hilt_length = height*0.3;
real hilt_length = height*0.25;
real blade_length = height*0.8;
real hilt_width = height*0.05;
real hilt_base_overflow = hilt_width*0.7;
real blade_base_width = height*0.1;
real blade_base_width = height*0.07;
real blade_tip_width = blade_base_width*0.8;
real blade_tip_length = blade_length*0.15;
real guard_radius = hilt_width*2;
@ -17,4 +17,4 @@ real inner_line_length = blade_length;
real angle = -60;
real guard_distance = blade_length/3;
path blade[] = rotate(angle)*((guard_distance,-blade_base_width/2)--arc((guard_distance+guard_thickness/2, -guard_radius-guard_pommel_radius), (guard_distance,-guard_radius), (guard_distance+guard_thickness,-guard_radius))--(guard_distance+guard_thickness, -hilt_width/2)--(guard_distance+guard_thickness+hilt_length-guard_thickness,-hilt_width/2)--(guard_distance+guard_thickness+hilt_length-guard_thickness,-hilt_width/2-hilt_base_overflow)--(guard_distance+guard_thickness+hilt_length,-hilt_width/2-hilt_base_overflow)---(guard_distance+guard_thickness+hilt_length,hilt_width/2)..{down}(guard_distance, blade_base_width/2)--(guard_distance-blade_length, blade_tip_width/2)--(guard_distance-blade_length-blade_tip_length, 0)--(guard_distance-blade_length, -blade_tip_width/2)--cycle^^(guard_distance+guard_thickness+hilt_length-guard_thickness, hilt_width/2){up}..{down}(guard_distance+guard_thickness, hilt_width/2)--cycle^^(guard_distance,-inner_line_base_width)--(guard_distance-inner_line_length,0)--(guard_distance,inner_line_base_width)--cycle);
path blade[] = scale(1.1)*rotate(angle)*((guard_distance,-blade_base_width/2)--arc((guard_distance+guard_thickness/2, -guard_radius-guard_pommel_radius), (guard_distance,-guard_radius), (guard_distance+guard_thickness,-guard_radius))--(guard_distance+guard_thickness, -hilt_width/2)--(guard_distance+guard_thickness+hilt_length-guard_thickness,-hilt_width/2)--(guard_distance+guard_thickness+hilt_length-guard_thickness,-hilt_width/2-hilt_base_overflow)--(guard_distance+guard_thickness+hilt_length,-hilt_width/2-hilt_base_overflow)---(guard_distance+guard_thickness+hilt_length,hilt_width/2)..{down}(guard_distance, blade_base_width/2)--(guard_distance-blade_length, blade_tip_width/2)--(guard_distance-blade_length-blade_tip_length, 0)--(guard_distance-blade_length, -blade_tip_width/2)--cycle^^(guard_distance+guard_thickness+hilt_length-guard_thickness, hilt_width/2){up}..{down}(guard_distance+guard_thickness, hilt_width/2)--cycle^^(guard_distance,-inner_line_base_width)--(guard_distance-inner_line_length,0)--(guard_distance,inner_line_base_width)--cycle);