[GMSH] extrude rotation from arbitrary OpenCASCADE center
1 Attachment(s)
Hello everyone,
I'm trying to create a boundary around a cylinder in gmsh from a STEP file. My idea is to extrude the seam line to generate a plane and afterwards revolute the plane around the cylinder axis. This approach is successfull as long as the center is precisely, but as soon as minor deviation are present the meshing crashes. For simple models this works fine as I can cheat the axis to be in exact position, but for real geometries this center would not be in general positioned in a rounded number point. I've tried to add the considered by the CAD software for all the decimals available with success. I guess I need to use the exact position gmsh is using. I've seen that there is a property in gmsh which can be used for this (CenterOfMass), but I cannot make it work. Code:
Code:
... Does anybody knows how to deal with this issue? |
All times are GMT -4. The time now is 20:24. |