Re: [Kicad-developers] Patches to correct some warnings

2014-07-30 Thread Dick Hollenbeck
>> >> No, I passed through that path and rejected it. Tell the compiler to shut >> up. >> >> > > Did you happen to check the logic on a C++11 compiler? There is an ifdef on > lines 58-60 of the file include/layers_id_colors_and_visibility.h that sets > the type of the enum to unsigned char on

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
Hi Nick, would you mind to test it now with your (and another..) board? Special, If you have models with different rotations applied. I am still not sure if it is correctly implemented (or as same as the older viewer). Changes: Fix translation and rotation issues in 3d viewer render. (kicad rot

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Cirilo Bernardo
- Original Message - > From: jp charras > To: Mário Luzeiro ; "kicad-developers@lists.launchpad.net" > > Cc: > Sent: Thursday, July 31, 2014 4:29 AM > Subject: Re: [Kicad-developers] 3D-Viewer new rendering and contributions. > > Le 30/07/2014 19:48, Mário Luzeiro a écrit : >> Hi Nic

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Cirilo Bernardo
- Original Message - > From: Mário Luzeiro > To: Nick Østergaard > Cc: "kicad-developers@lists.launchpad.net" > > Sent: Thursday, July 31, 2014 3:48 AM > Subject: Re: [Kicad-developers] 3D-Viewer new rendering and contributions. > [snip] >  >> I have problems with an older design, w

Re: [Kicad-developers] Patches to correct some warnings

2014-07-30 Thread Michael Narigon
On Jul 30, 2014, at 2:19 PM, Dick Hollenbeck wrote: > On 07/30/2014 02:51 PM, Michael Narigon wrote: >> All, Here are four patches to correct some warnings I am seeing while >> compiling with >> the OS X compiler in C++11 mode. I think they have general applicability for >> all >> targets. I c

Re: [Kicad-developers] Patches to correct some warnings

2014-07-30 Thread Dick Hollenbeck
On 07/30/2014 02:51 PM, Michael Narigon wrote: > All, Here are four patches to correct some warnings I am seeing while > compiling with > the OS X compiler in C++11 mode. I think they have general applicability for > all > targets. I checked that the patches will apply against 5037 and that the 5

Re: [Kicad-developers] Getting involved with KiCad Development

2014-07-30 Thread Eric Evenchick
Carl, Thanks, I'll look into the libraries this week and see where I can help out. On Sat, Jul 26, 2014 at 12:22 PM, Carl Poirier wrote: > Hi Eric, > > There is also lots of work to do on the libraries. We have a library > convention here >

[Kicad-developers] Patches to correct some warnings

2014-07-30 Thread Michael Narigon
All, Here are four patches to correct some warnings I am seeing while compiling with the OS X compiler in C++11 mode. I think they have general applicability for all targets. I checked that the patches will apply against 5037 and that the 5037 programs run (on Ubuntu Linux 14.04). The first pat

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Nick Østergaard
Den 30/07/2014 20.29 skrev "jp charras" : > > Le 30/07/2014 19:48, Mário Luzeiro a écrit : > > Hi Nick, > > > ... > > > > >> I have problems with an older design, where the models are offset > >> way too much. Some unit problem? > > > > I notice in some models that I got in the web (ex: Walter) (yo

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
> To see this issue, just edit a 3d shape parameters of any footprint on a > board. > If you want an offset = 0.1 inch (easy to test with a DIP package), you need > to enter 0.1/25.4 > -- > Jean-Pierre CHARRAS It looks like an issue, I will have a look on that. That was something I didn't test c

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Nick Østergaard
2014-07-30 20:29 GMT+02:00 jp charras : > Le 30/07/2014 19:48, Mário Luzeiro a écrit : >> Hi Nick, >> > ... > >> >>> I have problems with an older design, where the models are offset >>> way too much. Some unit problem? >> >> I notice in some models that I got in the web (ex: Walter) (you can >> se

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Nick Østergaard
2014-07-30 19:48 GMT+02:00 Mário Luzeiro : > Hi Nick, > >> I wonder why the board is transparent > > That is the "board body", you can then add the soldermask layer that will > make it less transparent. > I don't remember why it is a bit transparent if was something I changed. > In reality a FR4 w

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Adam Wolf
I can confirm, there are no GLEW issues during compilation on r5037 on OSX 10.9. On Wed, Jul 30, 2014 at 1:29 PM, jp charras wrote: > Le 30/07/2014 19:48, Mário Luzeiro a écrit : > > Hi Nick, > > > ... > > > > >> I have problems with an older design, where the models are offset > >> way too muc

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread jp charras
Le 30/07/2014 19:48, Mário Luzeiro a écrit : > Hi Nick, > ... > >> I have problems with an older design, where the models are offset >> way too much. Some unit problem? > > I notice in some models that I got in the web (ex: Walter) (you can > see in my first screenshots, in the SMD resistors) t

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
I am not into the building in Mac OSX, but just quick looking in that function I notice that the first argument: (EDA_3D_CANVAS* glcanvas) is not used in the function so it can be removed. From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua...@l

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread jp charras
Le 30/07/2014 20:00, Adam Wolf a écrit : > I was able to compile Kicad r5034 on OSX 10.9 fine, but I was not able > to compile r5037 on Mac OSX 10.9. > This is a frequent issue. just delete pcbnewPYTHON_wrap.cxx. -- Jean-Pierre CHARRAS ___ Mailing

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Adam Wolf
I was able to compile Kicad r5034 on OSX 10.9 fine, but I was not able to compile r5037 on Mac OSX 10.9. /Users/wolf/wnl_git/mac/kicad.bzr/pcbnew/scripting/pcbnewPYTHON_wrap.cxx:40859:59: error: too few arguments to function call, expected 4, have 3 (arg1)->ReadAndInsert3DComponentShap

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
Hi Nick, > I wonder why the board is transparent That is the "board body", you can then add the soldermask layer that will make it less transparent. I don't remember why it is a bit transparent if was something I changed. In reality a FR4 will be translucent and refract light. Maybe it is anothe

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Nick Østergaard
Hi Mário I just tried your patch, and building newest head at the moment, but I wonder why the board is transparent. Why is that, see http://www.pasteall.org/pic/show.php?id=74745. I also would like to be able to control the background color better. I want to be able to choose both gradient color

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Tomasz Wlostowski
On 30.07.2014 12:03, Mário Luzeiro wrote: Thank you for add it Jean-Pierre ! I will now be able to do some more improvements and take it from your revision. I hope now more people can test it, special, openGL compatibility with older systems and model files correctness parsing and rendering.

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread Mário Luzeiro
Thank you for add it Jean-Pierre ! I will now be able to do some more improvements and take it from your revision. I hope now more people can test it, special, openGL compatibility with older systems and model files correctness parsing and rendering. Regards, Mario Luzeiro _

Re: [Kicad-developers] 3D-Viewer new rendering and contributions.

2014-07-30 Thread jp charras
Le 28/07/2014 22:45, Mário Luzeiro a écrit : > Hello all, > > Attached you will find my contribution to 3d-viewer. I hope that it can be > incorporated in the trunk of KiCad development. > This (not so simple) additions will give to KiCad a more “pro” look that was > missing in the 3d-viewer. >