← Back to team overview

kicad-developers team mailing list archive

Re: Some new sweet features on the new 3D-Viewer

 

Hi Mario,
please don't change the middle button behavior... it is just perfect and in kicad middle button is already necessary for other options...
Moreover it is used exactly as in FreeCAD :)
Anyway spacebar is already an alternative to middle click

I was expect that user would like to center something in relation to the board, If that is not clear, I can in future hit it against some big plane.
the board is fine to inspect all the circuits parts
you may consider to add also some 3d model plane, i.e. if you have an enclosure bigger then the board it would be useful to move the pivot on the edge of the enclosure (i.e. on crazyflie board moving the pivot on propellers), but I think that is more suitable on MCAD side...
Maurice

On 10/03/2016 22.12, Mário Luzeiro wrote:
Hi Jakub,

I think you are experience other type of freeze.
"Simplifying polygons" is at moment the most timing consuming pre-process. On the Demo/video board, it can take about 13 seconds to load the board. (work in progress!)
So it expected that you see a "not responding" during that load time.
If that is the case, please ignore it by now as I will work on get it work on decent times.


"On my system the spacebar for "Pivot rotation and center" sometimes is not working"
"I found that spacebar is working if that there are "squarish segments" otherwise is not working."

Mind that only if you are hitting the bounding box of the board it will work... ( I think in good it should be hit against the board outline )
I was expect that user would like to center something in relation to the board, If that is not clear, I can in future hit it against some big plane.


"I do not use a mouse, only trackpoint so middle button click does not work."

Sorry I am so old school that I had to go to youtube to see for the first time what a trackpoint is :O ... I am still using an IBM PS/2 keyboard for developing :P joking!
I also have a Lenovo but it is not my primary machine... I dont know if I have drivers for that feature.. will check..

but so.. are you proposing something about that (not use of?) middle button?

Mario
________________________________________
From: Jakub Kozdon [fldrivers@xxxxxxxxx]
Sent: 10 March 2016 20:00
To: Mário Luzeiro; jp charras; kicad-developers@xxxxxxxxxxxxxxxxxxx; easyw@xxxxxxxxxxxx
Subject: Re: [Kicad-developers] Some new sweet features on the new 3D-Viewer

Hi Mário,

I was testing 5944.

The freeze is still here. It appears during simplifying polygons phase. I think that Windows did not get any update about KiCad status so Windows makes KiCad "not responding". This appears after while in simplifying polygons phase and disappears after render completing, maybe is there some kind of timeout.

Only one remark. On my system the spacebar for "Pivot rotation and center" sometimes is not working. I do not use a mouse, only trackpoint so middle button click does not work. To make it working I have to set trackpoint middle button to "Neither", as a default I am using "Scrolling Standard", in that mode when I click middle button it is working as scroll wheel but in both dimensions. So I am using it for zooming. I found that spacebar is working if that there are "squarish segments" otherwise is not working. Maybe this helps you.

[cid:part1.05080905.01030001@seznam.cz]

Application: kicad
Version: (2016-03-10 BZR 5944)-product release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1009,GCC 5.3.0,wx containers,compatible with 2.8)
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.57.0
          USE_WX_GRAPHICS_CONTEXT=OFF
          USE_WX_OVERLAY=OFF
          KICAD_SCRIPTING=ON
          KICAD_SCRIPTING_MODULES=ON
          KICAD_SCRIPTING_WXPYTHON=ON
          USE_FP_LIB_TABLE=HARD_CODED_ON
          BUILD_GITHUB_PLUGIN=ON

Jakub


Dne 10.3.2016 v 14:36 Mário Luzeiro napsal(a):

Hi Jean-Pierre,

Maurice told me that he tested my latest commits and it fixed the "freeze" issues. Let me know if you test it successful too. Thanks.

Mario
________________________________________
From: jp charras [jp.charras@xxxxxxxxxx<mailto:jp.charras@xxxxxxxxxx>]
Sent: 09 March 2016 16:48
To: Mário Luzeiro; kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Kicad-developers] Some new sweet features on the new 3D-Viewer

Le 09/03/2016 17:41, Mário Luzeiro a écrit :


Thanks JP for the detailed description.

Just some more items, is that with OpenGL or Raytracing mode?
On what platform (version) are you testing it?

I didn't experienced that yet on two different Win7 PCs and one Linux.

Mario




It happens both with OpenGL and Raytracing mode.
But only on W7 32 bits.
On Linux (Kubuntu 14.04) it does not happen.



________________________________________
From: jp charras [jp.charras@xxxxxxxxxx<mailto:jp.charras@xxxxxxxxxx>]
Sent: 09 March 2016 09:15
To: Mário Luzeiro; kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Kicad-developers] Some new sweet features on the new 3D-Viewer

Le 08/03/2016 20:30, Mário Luzeiro a écrit :


Thanks Jean-Pierre,



I just have (on W7) frequent freeze of the display. Just iconize
and "un-iconize" the 3d viewer frame restarts the display... for a
few commands.



Sorry I am not seeing what could be this issue, what you mean by
"freeze" and which commands ? Does it hangs? Does not move / rotate
the board?

Mario




The 3D canvas looks like it is no more refreshed.
Exactly when a canvas doe not respond anymore to a Paint event.

But the viewer does no hang.
when zooming, dragging the mouse, using the space bar or enable/disable
a layer, the canvas is not refreshed, but the messages in status bar
shows the expected activity.

Using the space bar is the command which creates the more frequently
this screen freeze.
But the display is no more refreshed by mouse moves or right click
pop-menu commands.


Iconize and "un-iconize", or enable/disable a layer ends this freeze,
and the 3D view shown is (AFAIK) consitent with the "ignored" commands:
For instance if during freeze, you select from right click pop-menu the
"Left view", the left view is displayed after exiting the freeze.

Looks like it is mainly a redraw 3D view issue.





--
Jean-Pierre CHARRAS





--
Jean-Pierre CHARRAS

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx<mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



Follow ups

References