kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #21923
Re: Text rotation Angle and part rotation Angle pcbnew
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Mon, 14 Dec 2015 10:19:00 -0500
-
In-reply-to:
<CAMkt-MsAHJ+moaQ5PKC76rrgFwWe=VDVYfQuiRy0i8Pd8bDSBg@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
On 12/13/2015 8:00 PM, Lachlan Audas wrote:
> You can't set text rotation angle of part reference's and vale's in
> pcbnew, only part rotation angle,
The code for supporting rotated text is already in the pcbnew file
format. I just don't know how well Pcbnew itself will handle rotated
text so there may be a lot of work to do. I'm not trying to scare you
off but it may not be as easy to resolve as it appears.
>
> This is bit of a problem for importing eagle pcb's, as parts
> reference/vales may have angle's set, also when manually setting
> angle's you need to enter 900 for 90.. etc
> instead of 90.5 etc this very odd way of entering angles, is they any
> objection make a patch to change this to the standard way of entering
> angle's, and allowing rations of
> reference/vale fields ?
The only solution that I would accept would be a proper wxValidator
designed for angle entry. There is already wxFloatingPointValidator
that you could reuse to make your life easier. Your derived version
should clamp the angles from 0 to 360 and have an accessor to return the
converted angle as an integer.
>
> Lachlan
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References