kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #09787
Re: [PATCH] Implementing X3D model support to 3d-viewer
>________________________________
> From: jp charras <jp.charras@xxxxxxxxxx>
>To: kicad-developers@xxxxxxxxxxxxxxxxxxx
>Sent: Thursday, March 28, 2013 5:40 AM
>Subject: Re: [Kicad-developers] [PATCH] Implementing X3D model support to 3d-viewer
>
>
>Le 22/03/2013 17:43, Tuomas a écrit :
>
>Hello,
>>so I have made some changes:
>>
>>
>>I extracted old vrml parsing functions from S3D_MASTER and created a VRML_MODEL_PARSER class from them.
>>I added an factory method to abstract S3D_MODEL_PARSER class which can construct the correct parser based on file extension.
>>The code now supports vrml exporting when board contains x3d models.
>>
>>X3D_MODEL_PARSER now also supports rotation property in the transform nodes.
>>
>>
>>What do you think? Diff against r4022
>>Thanks
>>
>>
>>- Tuomas
>>
>Good patch, Tuomas.
>I committed it with very minor changes.
>
>If you volunteer, you could try to enhance the vrml import, because
currently, it is just able to read files from Wings3D.
>Some tools can export vrml files, but they are usually not readable
by Pcbnew becuse the vrml parser is very poor.
>A better parser could allow import for other 3D modelers.
>
>
>Thanks.
>
>
>--
Jean-Pierre CHARRAS
>
>
>======
>Better VRML support would be excellent; at the moment the 'USE' instruction is not supported well and the 'TRANSFORM' seems to be ignored or even mangled by the code. If those 2 commands were supported correctly then many models can be made much smaller since some parts are repeated many times - for example the 100 pins of a QFP-100 currently need to be individually defined rather than reusing a definition with an associated transform.
>
>
>- Cirilo
>PS: Apologies if this message is screwed up - the imbeciles at Yahoo have made more bad changes to email responses.
>
>
References