ID: | 4746 |
From: | smilie <sm...@posteo.de> |
Date: | Fri, 5 Feb 2021 12:36:30 +0100 |
Subject: | Re: eeschema->gschem (was: Re: [pcb-rnd] Feature Request - i |
in-reply-to: | 4735 from Erich Heinzle <a1...@gmail.com> |
Hallo Erich, i have try to use some symbols created by the java tool. Some symbols be fine, but some does not work. Becaus Kicad has a more complex slotting function. The slotting function from kicad has to be splittet in to several files for= use in geda, if there is a way in geda, to use multible symbols with one footprint and o= ne refdes. what you think? regards smilie Am Mon, 1 Feb 2021 11:04:23 +1030 schrieb Erich Heinzle <a1039181@gmail.com>: > The calculation is simple if the file format is well documented, indicati= ng > how the origin for a symbol's transformations is specified. >=20 > It may be that no translations are needed beyond that associated with the > x,y location on the schematic, prior to and/or after application of the > rotation, but as i said, some refactoring will be needed, to allow a symb= ol > and it's elements to be rotated correctly. >=20 > Regards, >=20 > Erich >=20 > On Mon, 1 Feb 2021 07:56 smilie, <smilie@posteo.de> wrote: >=20 > > 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/783= 9/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>: > > =20 > > > I implemented kicad eeschema symbol/lib -> gschem symbol conversion, = but > > > decided that I would need to refactor to allow eeschema schematic > > > conversion. > > > > > > I may give it a go at some point. It ground to a halt when I realised= I =20 > > had =20 > > > to apply rotation matrices attached to symbols embedded in the eesche= ma > > > schematic to the individual respective symbols, with all of the atten= dant > > > issues wrt pin labels/text etc. > > > > > > Regards, > > > > > > Erich > > > > > > 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 > > > > > > > > =20
Reply subtree:
4746 Re: eeschema->gschem (was: Re: [pcb-rnd] Feature Request - i from smilie <sm...@posteo.de>