← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Replace .wrl files with .step on export (fixes lp:1710796)

 

Hi Oliver,

If I may suggest one thing, then I would turn:

+    if( ext == "wrl" || ext == "WRL" || ext == "Wrl" )
+        return FMT_WRL;

into:

+    if( ext.Lower() == "wrl" )
+        return FMT_WRL;

Apart from that, the patch seems fine just by reading the contents. No
need to send another patch, I think it can fixed by the committer. I
have not merged it only because I have not had a chance to build and
test it *yet*. Thank you very much for fixing another bug!

Cheers,
Orson

On 11/04/2017 01:47 PM, Oliver Walters wrote:
> The attached patch implements the feature suggested here :
> https://bugs.launchpad.net/kicad/+bug/1710796
> 
> Problem:
> 
> .wrl files are specified as default but these don't export to MCAD.
> 
> Solution:
> 
> On STEP export, wrl files are replaced with their step counterparts (if
> such models exist).
> 
> This is essentially what Maurice's famous StepUP tool does.
> 
> Turns out it was a pretty simple fix :)
> 
> Regards,
> Oliver

Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References