|
[Sponsors] |
AttributeError: 'module' object has no attribute when using CAD Translator |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 11, 2018, 22:51 |
AttributeError: 'module' object has no attribute when using CAD Translator
|
#1 |
New Member
nicolas
Join Date: Apr 2018
Posts: 1
Rep Power: 0 |
Hello all,
Anybody know how to use the script function as post actions in CAD translator? I test a python file to execute a mesh function (mesh.fillhole)after cad data imported, but a error is shown as "AttributeError: 'module' object has no attribute 'FillHole'". If to execute a base function (base.saveas) it runs well. It looks like Translator is running without importing mesh module, is it right? Anybody know how to solve it? Many thanks Nick |
|
April 13, 2018, 04:07 |
|
#2 |
Member
Maries
Join Date: Mar 2010
Location: Cologne, Germany
Posts: 75
Rep Power: 16 |
Can you check with base.FillHoleGeom, I am assuming the converted cad contains only surfaces not FE. Check also with base.FillHoleFe, if you have FE
I am also not sure whether translator import mesh module. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 14:56 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 03:23 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 18:44 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 04:55 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 07:36 |