kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32548
Re: Flip board view: horizontal scrollbar swapped ?
You can see a bit of how Zuken CR-8000 implements it in this demo video:
https://www.youtube.com/watch?v=Sz65OUE48sI
I have played with their software a bit when we were considering it for
purchase... they have a unified graphics engine for 2D and 3D editing, so
you can seamlessly switch between the two.
Routing in 3D is kind of a gimmick IMHO but placement in 3D can be quite
useful when you are packing things tightly and have proper 3D models of
parts.
-Jon
On Wed, Dec 20, 2017 at 10:20 AM, Wayne Stambaugh <stambaughw@xxxxxxxxx>
wrote:
> On 12/19/2017 10:45 PM, Jon Evans wrote:
> > I would file a bug report for this.
> >
> > There is actually an underlying problem that is going to keep causing
> > little things like this to pop up...
> > The GAL / tool framework doesn't have a transform matrix applied between
> > the user inputs and the world coordinate system.
> >
> > When the Flip Board view is active, the world coordinates are flipped at
> > the output stage (when being sent to the renderer).
> > But, anything that modifies the view in world space (like the scrollbar,
> > but also actions like aligning objects to each other, moving them around
> > with the cursor, etc) is going to be backwards.
> > This is currently solved in the align tool and
> > PCBNEW_CONTROL::CursorControl by checking for IsMirroredX and flipping
> > the coordinates around in that case.
> >
> > A better approach would be to insert some kind of transform matrix for
> > actions that are supposed to take place from the perspective of the
> > "camera", so that "right" is always "right" and "left" is always "left".
> > Not only would this eliminate a whole category of bugs, but it would
> > allow for easy addition of additional view options besides "flip board"
> > -- some advanced tools have the ability to view the board at arbitrary
> > 90-degree rotations as well, which is a great feature.
>
> This certainly would be a cleaner solution to the problem than adding
> code to every tool and/or object to check if the board view is flipped.
>
> >
> > (it would even open the door to editing the board in 3D, since you could
> > transform coordinates in arbitrary 3D space into the appropriate
> > movements in the 2D board world coordinates)
>
> I'm not sure how this would work in practice but it would be a really
> cool feature.
>
> >
> > -Jon
> >
> > On Tue, Dec 19, 2017 at 10:30 PM, Henner Zeller <h.zeller@xxxxxxx
> > <mailto:h.zeller@xxxxxxx>> wrote:
> >
> > Hi,
> > I just tried the 'Flip Board View' feature. Neat - but is it
> > intentional that the horizontal scrollbar now works, uhm, inversed ?
> > It feels very unintuitive ...
> >
> > Cheers,
> > -h
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> > <https://launchpad.net/~kicad-developers>
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> > <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> > Unsubscribe : https://launchpad.net/~kicad-developers
> > <https://launchpad.net/~kicad-developers>
> > More help : https://help.launchpad.net/ListHelp
> > <https://help.launchpad.net/ListHelp>
> >
> >
> >
> >
> > _______________________________________________
> > 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
> >
>
> _______________________________________________
> 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