|
[Sponsors] |
March 29, 2015, 21:40 |
OpenFOAM case exporter from SketchUp
|
#1 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi All,
Just thought would share with you all a plugin that I wrote that helps convert geometry from SketchUp to OpenFOAM case. At the moment the capabilities of the plugin are limited, but it can export a basic case. You can find the plugin here: https://github.com/venugopalansgr/Sk...er/eofv_skp.rb Hope this helps at least a few of you in your work! Cheers! Antimony |
|
April 2, 2015, 08:17 |
|
#2 |
Member
|
Hi
Really like this plugin Got an error however in the skp_of_export function (see below) any ideas? BR Error: #<NoMethodError: undefined method `name' for #<Sketchup::Edge:0x000000126f8a08>> C:/users/ejli/Application Data/SketchUp/SketchUp 2015/SketchUp/Plugins/eofv_skp.rb:221:in `block (2 levels) in skp_of_export' C:/users/ejli/Application Data/SketchUp/SketchUp 2015/SketchUp/Plugins/eofv_skp.rb:219:in `each' C:/users/ejli/Application Data/SketchUp/SketchUp 2015/SketchUp/Plugins/eofv_skp.rb:219:in `block in skp_of_export' C:/users/ejli/Application Data/SketchUp/SketchUp 2015/SketchUp/Plugins/eofv_skp.rb:126:in `each' C:/users/ejli/Application Data/SketchUp/SketchUp 2015/SketchUp/Plugins/eofv_skp.rb:126:in `skp_of_export' C:/users/ejli/Application Data/SketchUp/SketchUp 2015/SketchUp/Plugins/eofv_skp.rb:709:in `block in <top (required)>' SketchUp:1:in `call' |
|
April 2, 2015, 21:18 |
|
#3 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Thanks for trying out the plugin! From the error stack it seems like in the SketchUp file you have entities other than Groups. At the moment, the plugin requires that your geometry consists only of Groups. So if you make the Edge part of some geometry and put everything into a Group the plugin should work. I have attached sample SketchUp file on which the plugin would work. If you are still having trouble, please let me know and I will investigate further. Cheers! Antimony Last edited by Antimony; April 2, 2015 at 21:25. Reason: Added in the attachment here itself |
|
Tags |
exporter, openfoam, plugin, sketchup |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
[OpenFOAM] ParaView 4.10 and OpenFOAM 2.3.0 Multiregion and decomposed case | romant | ParaView | 3 | April 7, 2014 16:42 |
Same SimpleFOAM Case converges with openFOAM 2.1 but diverges with openFOAM 2.0.1 | alsdia | OpenFOAM Running, Solving & CFD | 3 | October 22, 2012 12:25 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |