← Back to team overview

kicad-developers team mailing list archive

Re: PCB VRML export

 

Here is the code for VRML export in PCBNEW

Some notes:
- The code is more or less a fork of the 3D viewer.
- Output units are internal units IIRC (i.e. decimils)
- No options at all to control the export :P
- Flipped packages (i.e. solder side mounted) are not implemented. It should be trivial to add the required rotation during module export. Finding theright rotation isn't (ordering of 3D rotation can be nasty)
- Packages are exported as 'inline' nodes using the 3d_shape attributes of the module. This means that to see them they should be 'accessible' to the loader (i.e. probably in the same dir)
- Loading was tested with blender only

As you can see there is a lot to work about (expecially on the options side). But for me it worked :P

Oh, by the way, my full name for about/changelog/credits is Lorenzo Marcantonio

Have fun!

--- In kicad-devel@xxxxxxxxxxxxxxx, kicad-devel@xxxxxxxxxxxxxxx wrote:
>
> 
> Hello,
> 
> This email message is a notification to let you know that
> a file has been uploaded to the Files area of the kicad-devel 
> group.
> 
> File : /vrml_pcb_export.diff.gz 
> Uploaded by : lomarcan77 <lomarcan@...> 
> Description : VRML Export against r2008 
> 
> You can access this file at the URL:
> http://groups.yahoo.com/group/kicad-devel/files/vrml_pcb_export.diff.gz 
> 
> To learn more about file sharing for your group, please visit:
> http://help.yahoo.com/l/us/yahoo/groups/original/general.htmlfiles
> 
> Regards,
> 
> lomarcan77 <lomarcan@...>
>








Follow ups

References