コネクト・フォー、フォー・イン・ア・ラインとも呼ばれるこのゲームでは、4つの駒を使って4つの列を作ることを目指します。ルールはこちらで確認できます。http://en.wikipedia.org/wiki/Connect_Four私のものは、また、ボードの両側に2つのチューブがあり、ピースを簡単に保管できます。私はOpenSCADでこのものを作り、以下のコードを使用しました。
ボード:
差異() {
シリンダー(8,55,55);
translate([0,0,1])cylinder(7,53,53);
』
差異()
translate([56,0,0])cylinder(100,6,6);
translate([56,0,0])cylinder(100,5,5);
translate([57,0,10])cylinder(3,6,6);
』
差異()
translate([-56,0,0])cylinder(100,6,6);
translate([-56,0,0])cylinder(100,5,5);
translate([-57,0,10])cylinder(3,6,6);
』
translate([-57,0,9])cylinder(1,6,6);
translate([57,0,9])cylinder(1,6,6);
差異() {
translate([-52,-2,15])cube([104,4,85]); //20を10に変更する?
translate([-52,-1,20])cube([104,2,85]);
translate([45,6,65]) rotate([90,0,0]) cylinder(15,5,5);
翻訳([45,6,50]) 回転([90,0,0]) シリンダー(15,5,5);
translate([45,6,35]) rotate([90,0,0]) cylinder(15,5,5);
translate([45,6,20]) rotate([90,0,0]) cylinder(15,5,5);
translate([45,6,80]) rotate([90,0,0]) cylinder(15,5,5);
translate([45,6,95]) rotate([90,0,0]) cylinder(15,5,5);
翻訳する([30,6,65])、回転する([90,0,0])、円柱を作る(15,5,5)。
翻訳([30,6,50]) 回転([90,0,0]) 円柱(15,5,5);
翻訳([30,6,35]) 回転([90,0,0]) シリンダー(15,5,5);
翻訳する([30,6,20])、回転する([90,0,0])、円柱を作る(15,5,5)。
翻訳([30,6,80]) 回転([90,0,0]) シリンダー(15,5,5);
translate([30,6,95]) rotate([90,0,0]) cylinder(15,5,5);
translate([15,6,65])rotate([90,0,0])cylinder(15,5,5);
translate([15,6,50])rotate([90,0,0])cylinder(15,5,5);
翻訳する([15,6,35])、回転する([90,0,0])、円柱を作る(15,5,5)。
翻訳([15,6,20]) 回転([90,0,0]) シリンダー(15,5,5);
翻訳([15,6,80]) 回転([90,0,0]) 円柱(15,5,5);
translate([15,6,95]) rotate([90,0,0]) cylinder(15,5,5);
翻訳([0,6,65]) 回転([90,0,0]) 円柱(15,5,5);
翻訳([0,6,50]) 回転([90,0,0]) シリンダー(15,5,5);
翻訳([0,6,35]) 回転([90,0,0]) 円柱(15,5,5);
翻訳する([0,6,20])、回転する([90,0,0])、円柱を作る(15,5,5)。
翻訳([0,6,80]) 回転([90,0,0]) 円柱(15,5,5);
翻訳([0,6,95]) 回転([90,0,0]) シリンダー(15,5,5);
translate([-15,6,65]) rotate([90,0,0]) cylinder(15,5,5);
translate([-15,6,50]) rotate([90,0,0]) cylinder(15,5,5);
translate([-15,6,35]) rotate([90,0,0]) cylinder(15,5,5);
translate([-15,6,20]) rotate([90,0,0]) cylinder(15,5,5);
translate([-15,6,80]) rotate([90,0,0]) cylinder(15,5,5);
translate([-15,6,95]) rotate([90,0,0]) cylinder(15,5,5);
translate([-30,6,65]) rotate([90,0,0]) cylinder(15,5,5);
translate([-30,6,50]) rotate([90,0,0]) cylinder(15,5,5);
translate([-30,6,35]) rotate([90,0,0]) cylinder(15,5,5);
translate([-30,6,20]) rotate([90,0,0]) cylinder(15,5,5);
translate([-30,6,80]) rotate([90,0,0]) cylinder(15,5,5);
translate([-30,6,95]) rotate([90,0,0]) cylinder(15,5,5);
translate([-45,6,65]) rotate([90,0,0]) cylinder(15,5,5);
translate([-45,6,50]) rotate([90,0,0]) cylinder(15,5,5);
translate([-45,6,35]) rotate([90,0,0]) cylinder(15,5,5);
translate([-45,6,20]) rotate([90,0,0]) cylinder(15,5,5);
translate([-45,6,80]) rotate([90,0,0]) cylinder(15,5,5);
translate([-45,6,95]) rotate([90,0,0]) cylinder(15,5,5);
』
//translate([-55,-4,15])cube([110,8,85]); //F6を押す前に、この行をコメントアウトしてください。
translate([-55,-1,14])cube([110,2,1]);
translate([5.75,-2,15])cube([3.5,4,88]);
translate([-8.75,-2,15])cube([3.5,4,88]);
translate([20.75,-2,15])cube([3.5,4,88]);
翻訳([-23.75,-2,15])cube([3.5,4,88]);
translate([35.75,-2,15])cube([3.5,4,88]);
translate([-38.75,-2,14])cube([3.5,4,88]);
トークン:
差異()
シリンダー(1.8,4.8,4.8);
シリンダー(0.5,4,4);
translate([0,0,1.3])cylinder(0.5,4,4);
』
Tags
Source du modèle
