Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-07 Thread Mário Luzeiro
] on behalf of Nick Østergaard [oe.n...@gmail.com] Sent: 07 September 2016 09:31 To: Cirilo Bernardo Cc: KiCad Developers Subject: Re: [Kicad-developers] OCE plugin for 3D viewer FYI the windows nightlies now built with OCE enabled. The first nightlies are ready and my sanity check says that it works

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-07 Thread Cirilo Bernardo
Thanks Nick for sorting out all the build issues on Windows - it would have taken much longer without all your work. - Cirilo On Wed, Sep 7, 2016 at 6:31 PM, Nick Østergaard wrote: > FYI the windows nightlies now built with OCE enabled. The first > nightlies are ready and

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-07 Thread Nick Østergaard
FYI the windows nightlies now built with OCE enabled. The first nightlies are ready and my sanity check says that it works. As I write this only the x86_64 build have it enabled, but I expect the i686 build to be ready within a few hours from now on. I know that js-reynaud also enabled it on the

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Bernhard Stegmaier
> On 04 Sep 2016, at 22:58, Wayne Stambaugh wrote: > > On 9/4/2016 3:52 PM, Chris Pavlina wrote: >> PLEASE do not rename these options to just "ifdef OSX". The current >> names are explantory, they make it clear WHY sections of code are >> blocked out. > > I don't have a

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Wayne Stambaugh
On 9/4/2016 3:52 PM, Chris Pavlina wrote: > PLEASE do not rename these options to just "ifdef OSX". The current > names are explantory, they make it clear WHY sections of code are > blocked out. I don't have a strong opinion on this and I'm find with leaving at is but WX_OVERLAY does not make it

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Chris Pavlina
PLEASE do not rename these options to just "ifdef OSX". The current names are explantory, they make it clear WHY sections of code are blocked out. And yes, USE_WX_GRAPHICS_CONTEXT does build on non-OSX platforms. It's slow but looks much better, I could see someone with a powerful machine

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Wayne Stambaugh
It may be more descriptive but if it's really not used as an option, then does it make sense to make it optional? On 9/4/2016 3:23 PM, Nick Østergaard wrote: > I guess using the USE_WX_OVERLAY is more descriptive than just a > platform like OSX in this case. > > 2016-09-04 21:21 GMT+02:00 Wayne

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Nick Østergaard
I guess using the USE_WX_OVERLAY is more descriptive than just a platform like OSX in this case. 2016-09-04 21:21 GMT+02:00 Wayne Stambaugh : > Is there ever a reason to build OSX with USE_WX_OVERLAY=OFF or any other > platform with USE_WX_OVERLAY=ON? If not, maybe we

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Wayne Stambaugh
Is there ever a reason to build OSX with USE_WX_OVERLAY=OFF or any other platform with USE_WX_OVERLAY=ON? If not, maybe we should replace #if USE_WX_OVERLAY with #if OSX (or whatever it should be). On 9/4/2016 3:18 PM, Simon Wells wrote: > i am pretty sure one of them at least is used on osx as

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Nick Østergaard
2016-09-04 21:15 GMT+02:00 Wayne Stambaugh : > On 9/3/2016 6:49 AM, Nick Østergaard wrote: >> 2016-09-01 19:02 GMT+02:00 Wayne Stambaugh : >>> Sorry it took so long. I took a look at Cirilo's changes an it looks >>> good. We still need a PKGBUILD file

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Wayne Stambaugh
On 9/4/2016 7:34 AM, Nick Østergaard wrote: > 2016-09-02 23:05 GMT+02:00 Nick Østergaard : >> 2016-09-02 23:00 GMT+02:00 Wayne Stambaugh : >>> On 9/2/2016 4:28 PM, Nick Østergaard wrote: 2016-09-02 21:25 GMT+02:00 Wayne Stambaugh

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Simon Wells
i am pretty sure one of them at least is used on osx as its the default set in cmake on osx On Mon, Sep 5, 2016 at 7:15 AM, Wayne Stambaugh wrote: > On 9/3/2016 6:49 AM, Nick Østergaard wrote: >> 2016-09-01 19:02 GMT+02:00 Wayne Stambaugh : >>> Sorry

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Wayne Stambaugh
On 9/3/2016 6:49 AM, Nick Østergaard wrote: > 2016-09-01 19:02 GMT+02:00 Wayne Stambaugh : >> Sorry it took so long. I took a look at Cirilo's changes an it looks >> good. We still need a PKGBUILD file for msys2 with JPs patch so we >> don't have to build oce from source.

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-04 Thread Nick Østergaard
2016-09-02 23:05 GMT+02:00 Nick Østergaard : > 2016-09-02 23:00 GMT+02:00 Wayne Stambaugh : >> On 9/2/2016 4:28 PM, Nick Østergaard wrote: >>> 2016-09-02 21:25 GMT+02:00 Wayne Stambaugh : Cirilo, Someone still needs to

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-03 Thread Cirilo Bernardo
We may as well change the USE_OCE to KICAD_USE_OCE; if we wait too long we'll get more complaints later. - Cirilo On Sat, Sep 3, 2016 at 8:49 PM, Nick Østergaard wrote: > 2016-09-01 19:02 GMT+02:00 Wayne Stambaugh : > > Sorry it took so long. I took a

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-03 Thread Nick Østergaard
2016-09-01 19:02 GMT+02:00 Wayne Stambaugh : > Sorry it took so long. I took a look at Cirilo's changes an it looks > good. We still need a PKGBUILD file for msys2 with JPs patch so we > don't have to build oce from source. > > When I merge Cirilo's 3d-plugin branch and I

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Cirilo Bernardo
On Sat, Sep 3, 2016 at 5:25 AM, Wayne Stambaugh wrote: > Cirilo, > > Someone still needs to address building oce on msys2. I just spent way > too much time building oce from source on msys2. The oce folks decided > to ignore CMAKE_INSTALL_PREFIX and use there own install

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Nick Østergaard
2016-09-02 23:05 GMT+02:00 Nick Østergaard : > 2016-09-02 23:00 GMT+02:00 Wayne Stambaugh : >> On 9/2/2016 4:28 PM, Nick Østergaard wrote: >>> 2016-09-02 21:25 GMT+02:00 Wayne Stambaugh : Cirilo, Someone still needs to

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Nick Østergaard
2016-09-02 23:00 GMT+02:00 Wayne Stambaugh : > On 9/2/2016 4:28 PM, Nick Østergaard wrote: >> 2016-09-02 21:25 GMT+02:00 Wayne Stambaugh : >>> Cirilo, >>> >>> Someone still needs to address building oce on msys2. I just spent way >>> too much time

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Wayne Stambaugh
On 9/2/2016 4:28 PM, Nick Østergaard wrote: > 2016-09-02 21:25 GMT+02:00 Wayne Stambaugh : >> Cirilo, >> >> Someone still needs to address building oce on msys2. I just spent way >> too much time building oce from source on msys2. The oce folks decided >> to ignore

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Nick Østergaard
2016-09-02 21:25 GMT+02:00 Wayne Stambaugh : > Cirilo, > > Someone still needs to address building oce on msys2. I just spent way > too much time building oce from source on msys2. The oce folks decided > to ignore CMAKE_INSTALL_PREFIX and use there own install path stuff >

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Wayne Stambaugh
Cirilo, Someone still needs to address building oce on msys2. I just spent way too much time building oce from source on msys2. The oce folks decided to ignore CMAKE_INSTALL_PREFIX and use there own install path stuff which is is not compatible with the msys2 file system hierarchy. The bad

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Eldar Khayrullin
Thank you. It is great work. В Пятница, 2 сен. 2016 в 1:22 , Cirilo Bernardo написал: Thanks for the merge and to everyone who's helped out with the cross-platform issues. I've got a new feature branch "kicad-step" with the kicad2step standalone tool if anyone

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Adam Wolf
Thanks Simon! On Fri, Sep 2, 2016 at 1:20 AM, Simon Wells wrote: > just fyi a couple of tips on OSX > > Make sure that brew is installing oce-0.17.2 this was only commited to > brew mid august so if its only installing 0.17 (which is broke) then > brew update > > add > >

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Wayne Stambaugh
On 09/01/2016 08:13 PM, Chris Pavlina wrote: > Okay, this is friggin awesome. I can finally have models of > *everything*, it's so nice! :) > > Sexy PCB shot: https://misc.c4757p.com/12091-motherboard.png Nice! > > Thanks Cirilo! > > On Thu, Sep 01, 2016 at 04:45:33PM -0400, Wayne Stambaugh

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Cirilo Bernardo
Thanks for the merge and to everyone who's helped out with the cross-platform issues. I've got a new feature branch "kicad-step" with the kicad2step standalone tool if anyone feels like playing with it and providing some feedback. This is the tool which I plan to make available as an item in the

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-02 Thread Simon Wells
just fyi a couple of tips on OSX Make sure that brew is installing oce-0.17.2 this was only commited to brew mid august so if its only installing 0.17 (which is broke) then brew update add -DUSE_OCE=ON -DOCE_DIR=/usr/local/opt/oce/OCE.framework/Versions/0.17/Resources/ to your cmake line and

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Chris Pavlina
Okay, this is friggin awesome. I can finally have models of *everything*, it's so nice! :) Sexy PCB shot: https://misc.c4757p.com/12091-motherboard.png Thanks Cirilo! On Thu, Sep 01, 2016 at 04:45:33PM -0400, Wayne Stambaugh wrote: > > > On 9/1/2016 4:18 PM, Chris Pavlina wrote: > > On Thu,

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Chris Pavlina
On Thu, Sep 01, 2016 at 04:45:33PM -0400, Wayne Stambaugh wrote: > > > On 9/1/2016 4:18 PM, Chris Pavlina wrote: > > On Thu, Sep 01, 2016 at 04:10:13PM -0400, Wayne Stambaugh wrote: > >> On 9/1/2016 2:29 PM, José Ignacio wrote: > >>> On Thu, Sep 1, 2016 at 12:02 PM, Wayne Stambaugh

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Wayne Stambaugh
On 9/1/2016 4:18 PM, Chris Pavlina wrote: > On Thu, Sep 01, 2016 at 04:10:13PM -0400, Wayne Stambaugh wrote: >> On 9/1/2016 2:29 PM, José Ignacio wrote: >>> On Thu, Sep 1, 2016 at 12:02 PM, Wayne Stambaugh >>> wrote: Sorry it took so long. I took a look at Cirilo's

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Chris Pavlina
On Thu, Sep 01, 2016 at 04:10:13PM -0400, Wayne Stambaugh wrote: > On 9/1/2016 2:29 PM, José Ignacio wrote: > > On Thu, Sep 1, 2016 at 12:02 PM, Wayne Stambaugh > > wrote: > >> Sorry it took so long. I took a look at Cirilo's changes an it looks > >> good. We still need a

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Wayne Stambaugh
On 9/1/2016 2:29 PM, José Ignacio wrote: > On Thu, Sep 1, 2016 at 12:02 PM, Wayne Stambaugh wrote: >> Sorry it took so long. I took a look at Cirilo's changes an it looks >> good. We still need a PKGBUILD file for msys2 with JPs patch so we >> don't have to build oce from

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Chris Pavlina
On Thu, Sep 01, 2016 at 01:02:53PM -0400, Wayne Stambaugh wrote: > Sorry it took so long. I took a look at Cirilo's changes an it looks > good. We still need a PKGBUILD file for msys2 with JPs patch so we > don't have to build oce from source. > > When I merge Cirilo's 3d-plugin branch and I

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Wayne Stambaugh
Sorry it took so long. I took a look at Cirilo's changes an it looks good. We still need a PKGBUILD file for msys2 with JPs patch so we don't have to build oce from source. When I merge Cirilo's 3d-plugin branch and I had to create a commit message which made me the commit author. This seems

Re: [Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Tomasz Wlostowski
On 01.09.2016 10:30, Cirilo Bernardo wrote: > Just a ping to remind devs of a branch introducing the OCE plugin: > > https://code.launchpad.net/~cirilo-bernardo/kicad/+git/kicad-oce/+merge/303513 > > Since the OCE plugin code must be activated with -DUSE_OCE=ON > when configuring with CMake, I

[Kicad-developers] OCE plugin for 3D viewer

2016-09-01 Thread Cirilo Bernardo
Just a ping to remind devs of a branch introducing the OCE plugin: https://code.launchpad.net/~cirilo-bernardo/kicad/+git/kicad-oce/+merge/303513 Since the OCE plugin code must be activated with -DUSE_OCE=ON when configuring with CMake, I think it's safe to include this code. Having the code in