This workaround works !

Thanks

 

Stephane

 

De : [email protected] [mailto:[email protected]] De la 
part de Andy Eskelson
Envoyé : mardi 19 janvier 2010 01:26
À : [email protected]
Objet : Re: [kicad-users] Pcbnew : How to make components values invisible ?

 

  

I can see the problem now, some of my board modules were already set to
invisible some not.

The modules that the board uses are all held at the start of the .brd
file.


As the .brd files are simple text files, they can be edited, which gives
a way to set the modules to Invisible manually.

edit the <boardname>.brd file.

(please do this on a copy!)

Each module starts with $MODULE and ends with $EndMODULE

At the start there are a few lines of general info regarding the fields,
then there is all the drawing data.

So for a DIP-18 (Extracted from one of my .brd files you have

$MODULE DIP-18__300_ELL
Po 44300 35450 900 15 4B54EBC0 4AF8578D ~~
Li DIP-18__300_ELL
Cd 18 pins DIL package, elliptical pads
Sc 4AF8578D
AR /4AF8578D
Op 0 0 0
T0 -3000 -500 700 450 900 120 N V 21 N"U3"
T1 600 400 700 450 900 112 N I 21 N"PIC16F818"
DS -5000 -500 -4500 -500 150 21
DS -4500 -500 -4500 500 150 21
DS -4500 500 -5000 500 150 21
DS -5000 -1000 5000 -1000 150 21
DS 5000 -1000 5000 1000 150 21
DS 5000 1000 -5000 1000 150 21
DS -5000 1000 -5000 -1000 150 21

--snip lots of drawing data-----

$EndMODULE DIP-18__300_ELL

The lines of interest are the lines starting T, these are the data field
lines.

T0 is the component ID field
T1 is the value field

>From the above example:

T1 600 400 700 450 900 112 N I 21 N"PIC16F818"

Ignoring most of the data, the I 21 are the two items of interest
I means invisible, and 21 is the layer (21 is the silk screen)

If you change the I to a V then the text becomes visible.

So if you do a search for all lines with T1 at the start, and change V 21
to I 21 that will set the values to invisible status.

Obviously be careful not to change anything else. 

This will alter the state of the modules used in the current board, the
initial state is picked up from the main module libs, so for future
projects you need to set the state of each module that you use.

Hope this helps a bit.

Andy

On Mon, 18 Jan 2010 20:05:59 +0100
"Stephrac74" <[email protected] <mailto:stephrac74%40wanadoo.fr> > wrote:

> Thanks Andy and Kajdas
> 
> 
> 
> Unfortunately, Andy, unticking the Text module remove also the reference 
> number which I want to get on the silk screen.
> 
> 
> 
> I guess the only method is to edit component per component (more than 100 on 
> my board !!!! Again a missing feature which doesn’t help the industrial use 
> of Kicad. Hoping it will be corrected.
> 
> 
> 
> Best
> 
> Stephane
> 
> 
> 
> De : [email protected] <mailto:kicad-users%40yahoogroups.com>  
> [mailto:[email protected] <mailto:kicad-users%40yahoogroups.com> ] 
> De la part de Andy Eskelson
> Envoyé : lundi 18 janvier 2010 19:38
> À : [email protected] <mailto:kicad-users%40yahoogroups.com> 
> Objet : Re: [kicad-users] Pcbnew : How to make components values invisible ?
> 
> 
> 
> 
> 
> Try:
> 
> Preferences colours
> Untick Text Module Invisible and apply.
> 
> Andy
> 
> On Mon, 18 Jan 2010 14:23:28 +0100
> "Stephrac74" <[email protected] <mailto:stephrac74%40wanadoo.fr>  
> <mailto:stephrac74%40wanadoo.fr> > wrote:
> 
> > Hi all
> > 
> > 
> > 
> > How to make the value on the board invisible without making the modification
> > on each component in lib ? 
> > 
> > 
> > 
> > I’d like to have only the reference and not the value…
> > 
> > 
> > 
> > 
> > 
> > Thanks
> > 
> > Stéphane
> > 
> 
> 
> 
> 
> 
> ----------------------------------------------------------
> Orange vous informe que cet e-mail a été contrôlé par l'anti-virus mail.
> Aucun virus connu à ce jour par nos services n'a été détecté.
> 
> 
> 



 

---------------------------------------------------------------------------------------
Orange vous informe que cet e-mail a été contrôlé par l'anti-virus mail.
Aucun virus connu à ce jour par nos services n'a été détecté.

 

<<image001.jpg>>

<<image002.jpg>>

Reply via email to