← Back to team overview

kicad-developers team mailing list archive

Re: 3D export to FBX

 

Did you have a look at utils/kicad2step?

2017-05-02 17:20 GMT+02:00 Jakub Skořepa <jakub@xxxxxxxxxxxx>:
> Hello,
> I would like to implement 3D exporter to FBX format (proprietary to
> Autodesk, but also supported by blender and other software).
> Advantage to this is that it is directly supported by other software
> without need to convert the file.
>
> Where would be best place in the codebase to implement this?
>
> Currently there is vrml exporter in pcbnew/exporters, but it is 1800
> lines long and I would likely have to duplicate most of it, which would
> be really error-prone.
>
> Then there is c3d_render_createscene in 3d-viewer/3d_rendering/raytrace
> (1500 lines long) which implements mostly the same functionality as
> vrml exporter and that is creating geometry which then could be
> exported or rendered.
>
> End result of this duplication is that those parts behave differently
> (see attached images for screenshot from 3D-viewer and blender view of
> VRML export). It would be nice if there was some kind of intermediary
> representation which would be created from BOARD* and then different
> parts used this representation to generate their data. This would also
> supposedly simplify both renderers (ogl_legacy,raytrace) and VRML
> exporter and make it easier to create FBX exporter (and any future
> exporter).
>
> JS
> _______________________________________________
> 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