CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swiftBlock/swiftSnap] SwiftSnap is throwing an error on save

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 13, 2016, 03:23
Default SwiftSnap is throwing an error on save
  #1
New Member
 
Join Date: Dec 2016
Posts: 6
Rep Power: 9
garumple is on a distinguished road
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.



I am a bit lost - has anyone else seen this before?
garumple is offline   Reply With Quote

Old   December 13, 2016, 04:06
Default
  #2
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
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
kalle is offline   Reply With Quote

Old   December 13, 2016, 06:53
Default
  #3
New Member
 
Join Date: Dec 2016
Posts: 6
Rep Power: 9
garumple is on a distinguished road
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:
garumple is offline   Reply With Quote

Old   December 13, 2016, 06:58
Default
  #4
Senior Member
 
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21
kalle is on a distinguished road
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
kalle is offline   Reply With Quote

Old   December 13, 2016, 22:16
Thumbs up
  #5
New Member
 
Join Date: Dec 2016
Posts: 6
Rep Power: 9
garumple is on a distinguished road
It would appear that Blender has changed its API - version 2.72 works just fine.

Thanks for your help!
garumple is offline   Reply With Quote

Reply

Tags
blender, swiftsnap

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very quick - Journal file command to save monitors lcaBR FLUENT 2 October 18, 2022 13:26
save to variable filename inside loop FrankR Fluent UDF and Scheme Programming 5 January 30, 2019 12:16
save case & data Saman95 FLUENT 1 August 12, 2018 07:09
[General] Save Animation Settings TomBot ParaView 2 August 26, 2017 08:54
terminate called after throwing an instance of 'int' b614910 SU2 10 July 27, 2014 23:16


All times are GMT -4. The time now is 14:41.