CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Special Topics > Mesh Generation & Pre-Processing

Salome Shaper: TUI Recover Operation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By otaolafr

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 8, 2020, 18:34
Default Salome Shaper: TUI Recover Operation
  #1
New Member
 
Carl Reilly
Join Date: Aug 2010
Posts: 25
Rep Power: 15
carl_r is on a distinguished road
Hi,
I am trying to use the TUI to script some automated geometry creation in Shaper.

I have imported two cubes (.step), then drawn some cylinders on one surface of the cube. We'll call this the "internal geometry". This geometry is then placed inside a large cube. I then do a cut operation to subtract the internal geometry from the large cube. The cut process consumes the internal geometry.

In order to recover the internal geometry I use the Recover feature (model.addRecover) however I can't get it to work. It executes with no error, but does not recover the part. When i view the result in the GUI i see the action listed in the object tree, but is i select edit, i find that the geometry to recover check boxes are not checked.

Am I using the wrong geometry definition?
Has anyone else managed to successfully use the recover command with the TUI.

I've attached my script and files which should be relatively easy to follow.
Note the .TXT needs removing from the .py and .STEP files.

I'm struggling to find any help in the documentation. Also I can't seem to gain access to the Salome Forum, as I've not had a response to my email requesting an user name.
Attached Images
File Type: jpg recoverMenu - parts unchecked after script.jpg (29.7 KB, 5 views)
File Type: jpg Object Browser - Recover error.jpg (44.5 KB, 3 views)
File Type: jpg Geometry Post Cut - 3 cyclinders and 2 cubes to be recovered.jpg (63.5 KB, 5 views)
Attached Files
File Type: txt Script_Manual_Example_py.TXT (5.8 KB, 5 views)
File Type: txt Assem_Cubes.STEP.TXT (32.1 KB, 2 views)
carl_r is offline   Reply With Quote

 


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
loading issue libraries:libsimpleFunctionObjects.so libsimpleSwakFunctionObjects.so immortality OpenFOAM Pre-Processing 15 April 7, 2024 12:35
[Salome] SALOME and Partition operation problems kandelabr OpenFOAM Meshing & Mesh Conversion 8 April 28, 2021 20:40
Salome Error Importing .step to Shaper > Geom > Mesh carl_r Mesh Generation & Pre-Processing 1 May 7, 2020 23:03
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
Incompatible dimensions for operation ruben23 OpenFOAM Running, Solving & CFD 2 June 12, 2015 04:14


All times are GMT -4. The time now is 20:49.