jack
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
jack [2009/01/23 13:39] – Jack | jack [2017/02/06 12:13] (current) – [Projects] jack | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ~~NOTOC~~ |
+ | ====== | ||
- | Eagle3D from Matthias Weißer | ||
- | [[http:// | ||
- | New parts tutorial from Félix Chénier | ||
- | [[http:// | ||
- | ===== 3dusrpac.dat | + | ==== Tools & Environments |
- | <code 3dusrpac |3dusrpac.dat> | + | * [[Eagle MIDIBox Library]] |
- | DT6: | + | * [[Eagle3D MIDIBox User Pack]] |
- | STEC16: | + | |
- | 3310LCD: | + | |
- | </ | + | |
- | ===== user.inc ===== | ||
- | ==== DT6 ==== | ||
- | < | ||
- | / | ||
- | //DT6 | ||
- | //Created from Jack(forum.midibox.org) on 16-Jan-2006 | ||
- | // | ||
- | ********************************************************************************************************************************************/ | ||
- | #macro USER_DT6() | ||
- | union{ | ||
- | //DT6 | ||
- | union{ | ||
- | //button cover pushed | ||
- | difference { | ||
- | cylinder { <0, 0, 1.3>, <0, 0, 7.2>, 6.0 } | ||
- | union{ | ||
- | box { <5.5, -6, 1.2>, <7, 6, 7.3> } | ||
- | difference { | ||
- | cylinder { <0, 0, 0>, <0, 0, 5.6>, 5.1 } | ||
- | box { <4.4, -5.2, -0.1>, <7, 5.2, 5.7> } | ||
- | } | ||
- | } | ||
- | } | ||
- | | ||
- | //button cover released | ||
- | cylinder { <0, 0, 7.2>, <0, 0, 14.0>, 4.5 } | ||
- | cylinder { <0, 0, 7.2>, <0, 0, 14.2>, 4.3 } | ||
- | union{ | ||
- | torus { 4.3, 0.2 } | ||
- | rotate <90, 0, 0> | ||
- | translate <0, 0, 14.0> | ||
- | } | ||
- | | ||
- | texture { pigment { color Grey } } | ||
- | //translate <0, 0, -1.3> | ||
- | } | ||
- | |||
- | //button body | ||
- | difference { | ||
- | cylinder { <0, 0, 0>, <0, 0, 5.6>, 5.1 texture { pigment { color Blue }}} | ||
- | box { <4.4, -5.2, -0.1>, <7, 5.2, 5.7> } | ||
- | } | ||
- | |||
- | //pins | ||
- | cylinder { <2.5, 2.5, -3.2>, <2.5, 2.5, 5.6>, 0.4 texture { pigment { P_Copper1 }}} | ||
- | cylinder { <2.5, -2.5, -3.2>, <2.5, -2.5, 5.6>, 0.4 texture { pigment { P_Copper1 }}} | ||
- | cylinder { <-2.5, 2.5, -3.2>, <-2.5, 2.5, 5.6>, 0.4 texture { pigment { P_Copper1 }}} | ||
- | cylinder { <-2.5, -2.5, -3.2>, <-2.5, -2.5, 5.6>, 0.4 texture { pigment { P_Copper1 }}} | ||
- | } | ||
- | rotate< | ||
- | #end | ||
- | </ | ||
- | |||
- | ==== ALPS STEC16B03-04 ==== | ||
- | < | ||
- | / | ||
- | //ALPS STEC16B03-04 | ||
- | //Created from Jack(forum.midibox.org) on 16-Jan-2006 | ||
- | // | ||
- | ********************************************************************************************************************************************/ | ||
- | #macro USER_STEC16() | ||
- | union{ | ||
- | | ||
- | #declare L1 = 26; | ||
- | #declare LB = 7; | ||
- | #declare l1 = 12; | ||
- | #declare X1 = 16/2; | ||
- | #declare Y1 = 8.3; | ||
- | #declare Y2 = 9; | ||
- | #declare M9 = 4.5; | ||
- | #declare R6 = 3; | ||
- | #declare h2 = 0.5; | ||
- | #declare h3 = 1.5; | ||
- | #declare h4 = 3.2; | ||
- | #declare H = 6.5; | ||
- | #declare H1 = 1; | ||
- | #declare H2 = H1 + h2; | ||
- | #declare H3 = H2 + h3; | ||
- | #declare H4 = H3 + h4; | ||
- | |||
- | | ||
- | union{ | ||
- | difference{ | ||
- | | ||
- | union{ | ||
- | | ||
- | box { <-X1, -Y2, H3>, <X1, Y1, H4> texture { T_Chrome_2B } } | ||
- | box { <-X1, -Y2, H2>, <X1, Y1, H3> pigment { Gray60 }} | ||
- | box { <-X1, -Y2, H1>, <X1, Y1, H2> texture { T_Silver_5A }} | ||
- | | ||
- | | ||
- | cylinder { <0, 0, H4>, <0, 0, H>, 6.25 texture { T_Chrome_2B }} | ||
- | | ||
- | box { <-2, -(Y2+3.5), H-0.35>, <2, -Y2, H-1.65> texture { T_Chrome_2B }} | ||
- | cylinder { <0, -Y2, H-0.35>, <0, -Y2, H+1.65>, 1.5 texture { T_Chrome_2B }} | ||
- | } | ||
- | | ||
- | union{ | ||
- | box { <X1-2.5, Y1-2.5, 0>, <X1+0.1, Y1+0.1, H> } | ||
- | box { < | ||
- | | ||
- | box { <X1-1, -(Y2-1), 0>, <X1+0.1, -(Y2+0.1), H> } | ||
- | box { < | ||
- | | ||
- | | ||
- | | ||
- | box { <3.1, -Y2, H>, <-3.1, -(Y2-1.6), H+2.1> texture { T_Chrome_2B }} | ||
- | } | ||
- | | ||
- | } | ||
- | | ||
- | union{ | ||
- | cylinder { <X1-2.5, Y1-2.5, H3>, | ||
- | cylinder { <X1-2.5, Y1-2.5, H2>, | ||
- | cylinder { <X1-2.5, Y1-2.5, H1>, | ||
- | | ||
- | cylinder { < | ||
- | cylinder { < | ||
- | cylinder { < | ||
- | | ||
- | cylinder { <X1-1, -(Y2-1), H3>, | ||
- | cylinder { <X1-1, -(Y2-1), H2>, | ||
- | cylinder { <X1-1, -(Y2-1), H1>, | ||
- | | ||
- | cylinder { < | ||
- | cylinder { < | ||
- | cylinder { < | ||
- | } | ||
- | } | ||
- | union{ | ||
- | box { < | ||
- | box { <X1-0.5, Y1-3.35, H+0.1>, <X1+0.1, Y1-5.35, -0.5> | ||
- | | ||
- | box { < | ||
- | box { < | ||
- | | ||
- | box { < | ||
- | box { <X1-0.5, -(Y2-4.35), H+0.1>, <X1+0.1, -(Y2-6.35), -0.5> | ||
- | | ||
- | box { < | ||
- | box { < | ||
- | |||
- | } | ||
- | } | ||
- | difference{ | ||
- | union{ | ||
- | cylinder { <0, 0, H+LB>, <0, 0, (H+L1)-1.5>, | ||
- | cone { <0, 0, H+L1>, 2.5, <0, 0, (H+L1)-1.5>, | ||
- | } | ||
- | union{ | ||
- | box { <-3.1, -1.5, H+(L1-12)>< | ||
- | box { < -0.55, -3, H+(L1-1.5)>< | ||
- | | ||
- | | ||
- | | ||
- | } | ||
- | | ||
- | } | ||
- | cylinder { <0, 0, H>, <0, 0, H+LB>, M9 texture { T_Chrome_2B }} | ||
- | box { <X1-0.5, Y1-3.35, H1>, | ||
- | box { <X1-2.3, Y1-3.35, 5.5>, | ||
- | | ||
- | box { < | ||
- | box { < | ||
- | | ||
- | box { <X1-0.5, -(Y2-4.35), H1>, | ||
- | box { <X1-2.3, -(Y2-4.35), 5.5>, | ||
- | | ||
- | box { < | ||
- | box { < | ||
- | |||
- | //encoder pins | ||
- | box { < -0.5, -10.3, -3>, | ||
- | box { < -5.5, -10.3, -3>, | ||
- | box { < 5.5, -10.3, -3>, | ||
- | | ||
- | box { < -1, -10.3, 0>, | ||
- | box { < -6, -10.3, 0>, | ||
- | box { < 6, -10.3, 0>, | ||
- | | ||
- | box { < -1, 0, 1.8>, | ||
- | box { < -6, 0, 1.8>, | ||
- | box { < 6, 0, 1.8>, | ||
- | | ||
- | box { < 7.62-0.25, -2.3, 0>, | ||
- | box { < 7.62-0.25, -1, -3.5>, | ||
- | | ||
- | box { < -(7.62-0.25), | ||
- | box { < -(7.62-0.25), | ||
- | } | ||
- | rotate< | ||
- | #end | ||
- | </ | ||
- | |||
- | ==== Level 3 Headline ==== | ||
- | < | ||
- | / | ||
- | //Nokia 3310 LCD | ||
- | //Created from Jack(forum.midibox.org) on 16-Jan-2006 | ||
- | // | ||
- | ********************************************************************************************************************************************/ | ||
- | #macro USER_3310LCD() | ||
- | union{ | ||
- | //body | ||
- | box { <-19, -14.5, -0.7>, <19.5, 21, 0> pigment { Col_Glass_General } } | ||
- | box { <-19, -14.5, -1.45>, <19.5, 21, -0.7> pigment { Col_Glass_General } } | ||
- | box { <-19, -14.5, -1.7>, <19.5, 21, -1.45> pigment { Gray10 } finish {ambient 1 diffuse 0 phong_size 250} } | ||
- | |||
- | //screen | ||
- | #declare PIXEL = | ||
- | box {< | ||
- | |||
- | texture{pigment{Col_Glass_Bluish} finish {ambient 1 diffuse 0 phong 1}}} | ||
- | #declare DistanceX = (119/332); | ||
- | #declare DistanceY = (108/235); | ||
- | #declare NrX = -14.875; | ||
- | #declare EndNrX = NrX + 83 * DistanceX; | ||
- | #while (NrX <= EndNrX) // <-loop X | ||
- | # | ||
- | # | ||
- | #while (NrY <= EndNrY)//< | ||
- | object{PIXEL translate< | ||
- | #declare NrY = NrY+(108/ | ||
- | #end // ----------- end of loop Z | ||
- | #declare NrX = NrX+(119/ | ||
- | #end // ------- end of loop X --- | ||
- | } | ||
- | rotate< | ||
- | #end | ||
- | </ |
jack.1232717990.txt.gz · Last modified: 2009/01/23 13:39 by Jack