Commit 1e9a65f5 authored by charras's avatar charras
Browse files

Pcbnew bug solved: Horizontal Oblong pads holes have a bad T Code size in the drill file

parent f3230893
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -125,7 +125,6 @@ GLuint Pcb3D_GLCanvas::CreateDrawGL_List()
            g_Parm_3D_Visu.m_LayerZcoord[ii] = g_Parm_3D_Visu.m_Epoxy_Width;
    }

    //GLfloat zpos_cu  = 500 * g_Parm_3D_Visu.m_BoardScale;
    GLfloat zpos_cu  = 10 * g_Parm_3D_Visu.m_BoardScale;
    GLfloat zpos_cmp = g_Parm_3D_Visu.m_Epoxy_Width + zpos_cu;
    g_Parm_3D_Visu.m_LayerZcoord[ADHESIVE_N_CU]    = -zpos_cu * 2;
@@ -406,7 +405,8 @@ void Pcb3D_GLCanvas::Draw3D_DrawText( TEXTE_PCB* text )
    double x, y, xf, yf;
    double zpos, w;
    int    color = g_Parm_3D_Visu.m_BoardSettings->m_LayerColor[layer];
    int    coord[104];
    #define BUFFSIZE 50
    int    coord[(BUFFSIZE+2)*2];
    int    ii, jj, kk, ll, nbpoints;


@@ -415,13 +415,12 @@ void Pcb3D_GLCanvas::Draw3D_DrawText( TEXTE_PCB* text )
        zpos = g_Parm_3D_Visu.m_LayerZcoord[layer];
        glNormal3f( 0.0, 0.0, Get3DLayerSide( layer ) );

        text->CreateDrawData();
        jj = 5; ii = jj + 1;
        while( ii < text->m_TextDrawingsSize )
        {
            nbpoints = text->m_TextDrawings[jj];
            if( nbpoints > 50 )
                nbpoints = 50;
            if( nbpoints > BUFFSIZE )
                nbpoints = BUFFSIZE;

            for( kk = 0, ll = 0; (kk < nbpoints) && (ii < text->m_TextDrawingsSize); kk++ )
            {
@@ -440,7 +439,6 @@ void Pcb3D_GLCanvas::Draw3D_DrawText( TEXTE_PCB* text )
                xf = coord[ll + 2] * g_Parm_3D_Visu.m_BoardScale;
                yf = coord[ll + 3] * g_Parm_3D_Visu.m_BoardScale;

                //printf("text koordinata x=%d, y=%d, x2=%d, y2=%d\n",x,y,xf,yf);
                Draw3D_FilledSegment( x, -y, xf, -yf, w, zpos );
            }
        }
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ bool full_options = true;
    if ( full_options )
    {
    ADD_MENUITEM( referencesMenu, ID_MENU3D_MODULE_ONOFF,
                  _( "3D Footprints Shapes On/Off" ), add_component_xpm );
                  _( "3D Footprints Shapes On/Off" ), shape_3d_xpm );

#if 0
    ADD_MENUITEM( referencesMenu, ID_MENU3D_PLACE_ONOFF,
+1 −0
Original line number Diff line number Diff line
@@ -249,6 +249,7 @@ OBJECTS = \
    showtrack.o\
    Show_Zone.o\
    Swap_Layer.o\
    shape_3d.o\
    Text_Sketch.o\
    tool_ratsnet.o\
    tools.o\

bitmaps/shape_3d.xpm

0 → 100644
+33 −0
Original line number Diff line number Diff line
/* XPM */
const char *shape_3d_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 16 11 1",
"  c none",
"$ c #ACAEAC",
"% c #3C3E3C",
"+ c #535553",
"X c #B40204",
"@ c #2C2A2C",
"# c #CCCECC",
"& c #044A04",
". c #6B6A6B",
"o c #6C6E6C",
"O c #353335",
/* pixels */
"   .X           ",
"  ..o..o.. X    ",
" O..oo......o.  ",
" O..........o...",
" .o.O.......o...",
" o..O...oo.o.oo.",
" ...Oo..oo.o.oo.",
" .+++...oo.o.oo.",
" ....o......o...",
" .......oo......",
" @@@@o........o.",
"   ### ###@+##@@",
"  $$$  $$$ $$$  ",
"  ++$ O$$ %$$   ",
"  &XX &X  %X    ",
"                "
};
+8 −2
Original line number Diff line number Diff line
@@ -5,6 +5,12 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
email address.

2008-Aug-18 UPDATE   Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+pcbnew:
    bug solved: Horizontal Oblong pads holes have a bad T Code size.


2008-Aug-15 UPDATE   Jerry Jacobs <jerkejacobs@gmail.com>
================================================================================
+About dialog
Loading