Mailing list archives : pcb-rnd

ID:4733
From:smilie <sm...@posteo.de>
Date:Sun, 31 Jan 2021 22:23:43 +0100
Subject:Re: eeschema->gschem (was: Re: [pcb-rnd] Feature Request - i
in-reply-to:4720 from Erich Heinzle <a1...@gmail.com>
replies: 4734 from fr...@gmail.com , 4735 from Erich Heinzle <a1...@gmail.com> , 4736 from Nicklas SB Karlsson <nk...@nksb.online>
Hello Erich,
 
I just saw it.
The rotation matrix A, B, C, D.
There is a discussion in the forum about it.
But the calculation seems simple.
 
| A B |
| C D |
 
then corresponds to a simplified rotation:
0 =C2=B0, 90 =C2=B0, 180 =C2=B0, 270 =C2=B0
or mirrored
0 =C2=B0, 90 =C2=B0, 180 =C2=B0, 270 =C2=B0
 
look here:
 
https://forum.kicad.info/t/unit-orientation-mirror-matrix-explained/7839/2
https://de.wikipedia.org/wiki/Drehmatrix
 
 
Matrix multiplication is just:
 
x '=3D x * A - y * B
y '=3D x * C + y * D
 
or so.
The difficulty is to turn every element with it.
 
Regards,
smilie
 
 
 
 
Am Fri, 29 Jan 2021 22:00:46 +1030
schrieb Erich Heinzle <a1039181@gmail.com>:
 
> I implemented kicad eeschema symbol/lib -> gschem symbol conversion, but
> decided that I would need to refactor to allow eeschema schematic
> conversion.
>=20
> I may give it a go at some point. It ground to a halt when I realised I h=
ad
> to apply rotation matrices attached to symbols embedded in the eeschema
> schematic to the individual respective symbols, with all of the attendant
> issues wrt pin labels/text etc.
>=20
> Regards,
>=20
> Erich
>=20
> On Fri, 29 Jan 2021 02:27 , <rnd2@igor2.repo.hu> wrote:
>=20
> >
> >
> > On Thu, 28 Jan 2021, smilie wrote:
> > =20
> > >Thanks,
> > >
> > >is there a script converting kicad eeschem to geda gschem? =20
> >
> > Maybe this one:
> >
> > https://github.com/erichVK5/translate2geda
> >
> > Not sure if it does schematics, tho.
> > =20
> > >Or can i read the kicad netlist to gschem? =20
> >
> > AFAIK gschem is not like pcb-rnd, it can't load schematics in alien
> > formats.
> > =20
> > >Sorry for all the questions.
> > >It will decreasing. =20
> >
> > No worries, this list is for having these questions!
> >
> >
> >
> > =20
 
 

Reply subtree:
4733 Re: eeschema->gschem (was: Re: [pcb-rnd] Feature Request - i from smilie <sm...@posteo.de>
  4734 Re: eeschema->gschem (was: Re: [pcb-rnd] Feature Request - i understand) from fr...@gmail.com
  4735 Re: eeschema->gschem (was: Re: [pcb-rnd] Feature Request - i understand) from Erich Heinzle <a1...@gmail.com>
    4746 Re: eeschema->gschem (was: Re: [pcb-rnd] Feature Request - i from smilie <sm...@posteo.de>
  4736 Re: eeschema->gschem (was: Re: [pcb-rnd] Feature Request - i from Nicklas SB Karlsson <nk...@nksb.online>