CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[surface handling] surfaceTransformPoints *.obj

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2018, 15:08
Default surfaceTransformPoints *.obj
  #1
New Member
 
Gabriel
Join Date: Jun 2016
Posts: 5
Rep Power: 10
gm2gabriel is on a distinguished road
Hello,
I have an edges.obj file that is used for snapping in snappyHexMesh. This file is obtained from the .eMesh file of surfaceFeatureExtract, after removing unnecessary edges between patches using Blender.
After executing surfaceTransformPoints -rollPitchYaw for the geometry in .STL, the result is as expected, and displays properly in paraview. However, when I try to do the same with the edges.obj file, it's not possible to view it in paraview. Under the "Information tab" I see that both files have the same amount of points, however the rotated one has none cells.
Anyone knows how to rotate this .obj file properly, please?
Attached Images
File Type: jpg numberCellsOriginal.jpg (86.0 KB, 19 views)
File Type: jpg numberCellsRotated.jpg (85.9 KB, 16 views)
gm2gabriel is offline   Reply With Quote

Old   January 6, 2019, 10:06
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by gm2gabriel View Post
Hello,
I have an edges.obj file that is used for snapping in snappyHexMesh. This file is obtained from the .eMesh file of surfaceFeatureExtract, after removing unnecessary edges between patches using Blender.
After executing surfaceTransformPoints -rollPitchYaw for the geometry in .STL, the result is as expected, and displays properly in paraview. However, when I try to do the same with the edges.obj file, it's not possible to view it in paraview. Under the "Information tab" I see that both files have the same amount of points, however the rotated one has none cells.
Anyone knows how to rotate this .obj file properly, please?

You are a bit out of luck with that. As the name implies, "surfaceTransformPoints" is for surfaces and will ignore geometric entities that are not faces (eg, your lines). I guess there hasn't been much call for transforming edges only. It is probably easiest to transform the surface first *before* using surfaceFeatureExtract.
Don't know if this answers your question.
olesen is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 10:01.