CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swiftBlock/swiftSnap] SwiftSnap is throwing an error on save (https://www.cfd-online.com/Forums/openfoam-community-contributions/181362-swiftsnap-throwing-error-save.html)

garumple December 13, 2016 02:23

SwiftSnap is throwing an error on save
 
Hi,

I have recently installed Blender and SwiftSnap, although I have run into a little snag.

I can create a model, assign faces/patches etc, however when I attempt to 'Write', I get an error : "TypeError: save() got multiple values for argument 'filepath'".

I have tried to cross a few things from the list:
  1. Downloaded the latest SwiftSnap from the git repo
  2. Tried different geometries to check it wasn't the model spazzing out
  3. Google for anyone else with the same issue.

http://imgur.com/a/QCtPg

I am a bit lost - has anyone else seen this before?

kalle December 13, 2016 03:06

Hmm.. haven't seen this. What Blender version are you running? Do you mind sharing the full path and filename you try to use?

Kalle

garumple December 13, 2016 05:53

Thanks for the quick reply.

I'm running Blender 2.77. I should have mentioned this is a Windows 10 environment rather than a Linux environment.

The full path of the script is: "C:\Users\AppData\Roaming\Blender Foundation\Blender\2.77\scripts\addons\swiftSnap-master"

The full path of the attempted export is: "C:\Users\No\CAE\FWR_Eyeball", with a ".blend" file in that directory named either "FWR_Eyeball.blend" or "untitled.blend".

I have tried other directories (such as My Documents), but I get the same result.

The error I get looks like this:
http://i.imgur.com/glan314.png

kalle December 13, 2016 05:58

Hmm... probably some change in Blender's API is to blame for this. SwiftSnap is working with 2.70 - 2.72. Can you try to install that version instead? Old version are found on blender's website.

K

garumple December 13, 2016 21:16

It would appear that Blender has changed its API - version 2.72 works just fine.

Thanks for your help!


All times are GMT -4. The time now is 09:19.