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.
16 lines
505 B
16 lines
505 B
module rc_car(base, tip, junction) {
|
|
polygon(points = [
|
|
[base[0]/2, base[1]/2],
|
|
[base[0]/2, -base[1]/2],
|
|
[tip[0]/2, -base[1]/2-junction],
|
|
[tip[0]/2, -base[1]/2-junction-tip[1]],
|
|
[-tip[0]/2, -base[1]/2-junction-tip[1]],
|
|
[-tip[0]/2, -base[1]/2-junction],
|
|
[-base[0]/2, -base[1]/2],
|
|
[-base[0]/2, base[1]/2],
|
|
[-tip[0]/2, base[1]/2+junction],
|
|
[-tip[0]/2, base[1]/2+junction+tip[1]],
|
|
[tip[0]/2, base[1]/2+junction+tip[1]],
|
|
[tip[0]/2, base[1]/2+junction]
|
|
]);
|
|
}
|
|
|