Re: [Kicad-developers] Netlist file extensions

2018-04-19 Thread Clemens Koller
Hi!

I was digging quite a lot in Mentor PADS's ASCII stuff in the past. Some lately 
introduced "features" are still undocumented but not too difficult to guess.
If somebody needs some help in testing/debugging in that area, please let me 
know.

Regards,

Clemens

On 2018-04-19 10:54, Marco Ciampa wrote:
> On Thu, Apr 19, 2018 at 10:34:24AM +0200, Clemens Koller wrote:
>> I strongly belief that Mentor PADS 9.x.y...VX.x.y does _not_ rely on the 
>> file extension to work correctly.
>> However it makes loading of the file more simple as file dialogs ask for 
>> ".asc" or ".txt".
>>
>> The header / first lines look important - i.e.:
>>
>> Netlist:
>> !PADS-POWERPCB-V9.0-METRIC! NETLIST FILE FROM PADS LOGIC VVX.1.2
>> *REMARK* P1234-XYZ-2.3.4.sch -- Fri May 06 11:56:49 2017
>> *REMARK*  
> 
> Looks a job for BSD's file/magic/libmagic tools to me ...
> 
> --
> 
> 
> Marco Ciampa
> 
> I know a joke about UDP, but you might not get it.
> 
> 
> 
>  GNU/Linux User #78271
>  FSFE fellow #364
> 
> 
> 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Netlist file extensions

2018-04-19 Thread Marco Ciampa
On Thu, Apr 19, 2018 at 10:34:24AM +0200, Clemens Koller wrote:
> I strongly belief that Mentor PADS 9.x.y...VX.x.y does _not_ rely on the file 
> extension to work correctly.
> However it makes loading of the file more simple as file dialogs ask for 
> ".asc" or ".txt".
> 
> The header / first lines look important - i.e.:
> 
> Netlist:
> !PADS-POWERPCB-V9.0-METRIC! NETLIST FILE FROM PADS LOGIC VVX.1.2
> *REMARK* P1234-XYZ-2.3.4.sch -- Fri May 06 11:56:49 2017
> *REMARK*  

Looks a job for BSD's file/magic/libmagic tools to me ...

--


Marco Ciampa

I know a joke about UDP, but you might not get it.



 GNU/Linux User #78271
 FSFE fellow #364




___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Netlist file extensions

2018-04-19 Thread Clemens Koller
I strongly belief that Mentor PADS 9.x.y...VX.x.y does _not_ rely on the file 
extension to work correctly.
However it makes loading of the file more simple as file dialogs ask for ".asc" 
or ".txt".

The header / first lines look important - i.e.:

Netlist:
!PADS-POWERPCB-V9.0-METRIC! NETLIST FILE FROM PADS LOGIC VVX.1.2
*REMARK* P1234-XYZ-2.3.4.sch -- Fri May 06 11:56:49 2017
*REMARK*  

*PART*   ITEMS
J1  CON-SAM-FT5-RA-30@CON-SAM-FT5-RA-30
X1  MTG-340-600@MTG-340-600
C1  C-3216M-N/A@C-3216M
C67 C-1005M-103-25V-X7R@C-1005M
...

Schematic:
*PADS-LOGIC-V9.0* DESIGN EXPORT FILE FROM PADS LOGIC VVX.1.2
*SCH*GENERAL PARAMETERS OF THE SCHEMATIC DESIGN"

CUR SHEET12 Current Active Sheet
USERGRID 100100 Design and Label/Text grid settings
...

Layout:
!PADS-POWERPCB-V10.0-BASIC! DESIGN DATABASE ASCII FILE 1.0
*PCB*GENERAL PARAMETERS OF THE PCB DESIGN

UNITS1  2=Inches 1=Metric 0=Mils
USERGRID 15 15  Space between USER grid points
MAXIMUMLAYER 8  Maximum routing layer 
...

Regards,

Clemens

On 2018-04-19 01:27, Wayne Stambaugh wrote:
> If no one can confirm that other EDA applications require a fixed file
> extension to work correctly, I would leave it as is.  If there is any
> requirement later, we can always tweak it as part of a bug fix release.
> 
> Cheers,
> 
> Wayne
> 
> On 04/18/2018 07:06 PM, Jeff Young wrote:
>> If no one else is familiar with this either then we can just go with
>> what we have now.
>>
>> But I thought I’d ping the dev group one more time in case someone does….
>>
>> Cheers,
>> Jeff.
>>
>>
>>> On 26 Mar 2018, at 01:04, Jeff Young >> > wrote:
>>>
>>> The PADS-PCB netlist evidently needs an extension of .asc to be read
>>> correctly[1].
>>>
>>> I implemented a reg-ex which takes the pen-ultimate file extension
>>> from the XSL file and applies it to the output file.  So the script
>>> for the above-mentioned netlist exporter is now:
>>>
>>> netlist_form_pads-pcb.asc.xsl
>>>
>>> Would any of the other XLS scripts benefit from this?  I don’t know
>>> enough about the different formats to know if they have well-known
>>> extensions.
>>>
>>> Cheers,
>>> Jeff.
>>>
>>> [1] https://bugs.launchpad.net/kicad/+bug/1591779
>>> ___
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@lists.launchpad.net
>>> 
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
>>
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Netlist file extensions

2018-04-18 Thread Wayne Stambaugh
If no one can confirm that other EDA applications require a fixed file
extension to work correctly, I would leave it as is.  If there is any
requirement later, we can always tweak it as part of a bug fix release.

Cheers,

Wayne

On 04/18/2018 07:06 PM, Jeff Young wrote:
> If no one else is familiar with this either then we can just go with
> what we have now.
> 
> But I thought I’d ping the dev group one more time in case someone does….
> 
> Cheers,
> Jeff.
> 
> 
>> On 26 Mar 2018, at 01:04, Jeff Young > > wrote:
>>
>> The PADS-PCB netlist evidently needs an extension of .asc to be read
>> correctly[1].
>>
>> I implemented a reg-ex which takes the pen-ultimate file extension
>> from the XSL file and applies it to the output file.  So the script
>> for the above-mentioned netlist exporter is now:
>>
>> netlist_form_pads-pcb.asc.xsl
>>
>> Would any of the other XLS scripts benefit from this?  I don’t know
>> enough about the different formats to know if they have well-known
>> extensions.
>>
>> Cheers,
>> Jeff.
>>
>> [1] https://bugs.launchpad.net/kicad/+bug/1591779
>> ___
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@lists.launchpad.net
>> 
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp


Re: [Kicad-developers] Netlist file extensions

2018-04-18 Thread Jeff Young
If no one else is familiar with this either then we can just go with what we 
have now.

But I thought I’d ping the dev group one more time in case someone does….

Cheers,
Jeff.


> On 26 Mar 2018, at 01:04, Jeff Young  wrote:
> 
> The PADS-PCB netlist evidently needs an extension of .asc to be read 
> correctly[1].
> 
> I implemented a reg-ex which takes the pen-ultimate file extension from the 
> XSL file and applies it to the output file.  So the script for the 
> above-mentioned netlist exporter is now:
> 
> netlist_form_pads-pcb.asc.xsl
> 
> Would any of the other XLS scripts benefit from this?  I don’t know enough 
> about the different formats to know if they have well-known extensions.
> 
> Cheers,
> Jeff.
> 
> [1] https://bugs.launchpad.net/kicad/+bug/1591779 
> ___
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp