kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #20990
Re: update on 3D refactor
On Wed, Oct 28, 2015 at 11:37 PM, jp charras <jp.charras@xxxxxxxxxx> wrote:
> Le 28/10/2015 01:32, Cirilo Bernardo a écrit :
> > Thanks to nickoe I'm finally able to build on MSWin and was able to
> > get the dynamic plugins working on that platform. With some help on
> > the kicad IRC channel I was able to make changes and verify that
> > dynamic plugins work on OSX as well. (On MSWin I will need to do
> > some more work - the file selector visuals are unbelievably ugly at the
> > moment, but this really has nothing to do with dynamic plugins.)
>
> You could derive PANEL_PREV_3D from a wxPanel instead of a wxStaticBox,
> and use a wxStaticBoxSizer instead of a wxBoxSizer as main sizer for
> PANEL_PREV_3D.
>
> It fixes this issue, and using a wxPanel has some advantages (for
> instance if you want to use wxFormBuilder to build a PANEL_PREV_3D base,
> it is a basic "form" for wxFormBuilder .
>
>
>
Thanks for the tip; I'll try this out.
- Cirilo
> >
> > Now that I know how to make dynamic plugins work I should be able
> > to (1) finish the implementation of 3D model loading via dynamic
> > plugins, and (2) create a dynamic plugin scheme for Export functions
> > so I can finally implement an IGES exporter. My intention with the
> > Export plugins is to make it possible to implement a dynamic Export
> > menu and to load exporter code as required; the implementation
> > will make it possible to add more export options without touching any
> > KiCad source files at all. In principle dynamic plugins can also be
> > implemented for Importers but I believe the Export plugin job will keep
> > me busy for a long time since an API must be developed to interact
> > with KiCad and this will not be a trivial task.
> >
> > I'll finish work on (1) first of course so we can take advantage of
> Mario's
> > new renderer and have 3D previews of model files as we browse them.
> >
> > - Cirilo
> >
> >
> >
> > _______________________________________________
> > 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
> >
>
>
> --
> Jean-Pierre CHARRAS
>
> _______________________________________________
> 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
>
References