Hi. I need help exchanging the geometry in glue operation. I made a model outside Salome, imported a geometry, glued free faces and added all the required groups to Glue_1 entity. Now I spot a mistake I made. So I changed the model outside of Salome and reloaded the step file from disk. Since all the groups are connected to Glue_1 and God help don’t want to recreate all, I’d like to replace geometry on which Glue_1 is based.
Try creating a Python dump file first, then modify the script to implement any changes. You might need to do a bit of debugging, but it’ll be much easier than starting from scratch.
Unfortunately as a mechanical engineer I haven’t acquired the skill of coding at all. But it might have to change in the future. It seems that Python is inevitable when it comes to FEA in Salome/Code_Aster.
in the interface in geom you can not, in shaper you can, not sure how the following of the tree will work. but yeah most of us, do some shitty work on the gui and then do everything on python.
Well, the problem with shaper is that there are many shaper results when you go back and forth between saper and mesh modules. Sometimes I have to create mesh from scratch, because the shaper result name has changed, or vertexes are in some other results etc. I find Geom much more stable, but much more limited at the same time.
it is normal; it is associated with another geoemtry. if you say the edge1 of geom1 and then change to geom2 is edge1 it going to be the same edge? does it even exist?
university and industry.
Most of the time I’m designing “stuff”. When I have to check something in FEA I create a proper model in CAD and export it to step. If something needs to be corrected in the design I correct it in CAD, correct the model and export it to step under the same name as before. Then I reread file in Salome and may continue. The problem shows when I have to add an operation in Salome to the model I imported. Like Glue in the example above. Then I may reread the step, but the changes done in Geom don’t propagate. …and I haven’t found a good way of working with Salome, when the model is changing. Maybe you have a workaround to that?
Well, it is the same most of the time. I’m not losing groups when I reread the file. Only when an operation is included, then we have the situation as above.