← Back to team overview

kicad-developers team mailing list archive

Re: 3D plugin for STEP/IGES via OCE

 

Hi Cirilo,
I can build oce on win64
which configuration options do I need for your plugin to work?
I used:
cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DwxWidgets_ROOT_DIR=../../../../mingw64/include/wx-3.0/ -DPYTHON_ROOT_DIR=../../../../mingw64/include/python2.7 -DOCE_USE_BUNDLE_SOURCE=ON -DOCE_WITH_FREEIMAGE=OFF -DOCE_WITH_GL2PS=OFF -DOCE_VISUALISATION=ON -DOCE_MULTITHREAD_LIBRARY=OPENMP ../oce

and which option for your kicad_oce_3D?

Thank you
Maurice

On 10/03/2016 22.40, Cirilo Bernardo wrote:
I have created a stand-alone build project for the OCE plugin:

https://github.com/cbernardo/kicad_oce_3D

Any devs wishing to help out can clone the repository and help
to address the OCE issues (build/install/find) on various
platforms.

Since 3d_initial_merge is not yet merged with KiCad and does
not yet install development headers I have also included some
code and headers from the 3d_initial_merge branch to ensure
the plugin can be built even without that branch.

- Cirilo


On Fri, Mar 11, 2016 at 2:17 AM, easyw <easyw@xxxxxxxxxxxx
<mailto:easyw@xxxxxxxxxxxx>> wrote:

    I could test on this platforms:

    1) ubuntu 64b and 32b
    2) win 64 and 32
    3) OSX Lion (if it can be built) at the moment , later on El Capitan

    asap Cirilo will provide this update in the repo...

    Maurice


    On 10/03/2016 14.17, Wayne Stambaugh wrote:

        Before I would allow OCE as a KiCad dependency, it must build
        without
        modification from source on OSX, msys2/mingw32 and msys2/mingw64
        at a
        minimum.  If it fails this test, then someone will have to provide
        packages for these platforms.  Has this been tested?

        On 3/10/2016 4:11 AM, Cirilo Bernardo wrote:

            Hi folks,

               I have a 3D plugin built to support STEP and IGES
            visualization via OCE
            and have linked 3 screenshots below.

            https://drive.google.com/open?id=0By_XTJN-s8aXS1pKSE5uNVp0VG8
            https://drive.google.com/open?id=0By_XTJN-s8aXclV4enBueWhnaGM
            https://drive.google.com/open?id=0By_XTJN-s8aXclV4enBueWhnaGM

               The HackRF STEP model was created by Maurice via his
            KiCad StepUP
            tools for FreeCAD.

               If people would like this plugin to be pushed into
            3d_initial_merge then
            let me know; I would need to add a CMake option to build it
            since it
            depends on OCE and should not be built by default. Just
            remember that
            these models will not be visible in 3DViewer until the
            current 3DViewer
            has been replaced by one which uses the scenegraph objects from
            3d_initial_merge.  Mario is making a lot of progress with
            his 3DViewer
            branch, so hopefully it won't be too long before we have all
            the latest
            3D visualization codes. :)

               One note: although the new 3D viewer will be able to
            directly use the
            STEP/IGES models (no need to convert to VRML), actual MCAD
            exports is still a long way away since it depends on the
            implementation
            of a plugin system for reading and manipulating the PCB data
            itself.

               Thanks to Tom Wlostowski for the initial OCE
            investigations and his
            sample c++ code for converting STEP to VRML.

            - Cirilo



            _______________________________________________
            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


        _______________________________________________
        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


    _______________________________________________
    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