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

[CAD formats] .RAW to .stl format!!

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2015, 11:22
Default .RAW to .stl format!!
  #1
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 11
Saideep is on a distinguished road
Hi FOAMERS;

A quick question!!

Any idea how to develop a ".stl" file for snappyHexMesh utility from a ".RAW" file?

I have a .RAW file from a micro CT image. Want to test the snappyHexMesh over this microCT image.

Glad if anyone could share their ideas over this!!

Thanks;

Saideep
Saideep is offline   Reply With Quote

Old   August 27, 2015, 12:57
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

I would try if you can view your RAW-file in Paraview, if Paraview Shows your file, paraview or any other VTK-based Software will Support you in converting to many formats like STL http://www.vtk.org/doc/release/6.2/h...STLWriter.html

http://www.paraview.org/Wiki/The_ParaView_Tutorial
if I am right you can use "python Scripting" to tell Paraview to write out your file using vtkSTLWriter

just my 2 Cents

elvis
elvis is offline   Reply With Quote

Old   August 28, 2015, 12:39
Default
  #3
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 11
Saideep is on a distinguished road
Hi Elvis;

Thanks for your reply.

Actually i tried to open the .raw file in Paraview but unfortunately it stops to work when i use the Raw files utility whereas if i use the normal .raw(binary) format with extent 255 on all 3 dimensions i get a normal rectangular domain which is not what is present atleast as far as i know! So, is this by default giving me a random rectangular domain? Not sure what really is happening!!

So, any idea regarding this!!

Saideep
Saideep is offline   Reply With Quote

Old   August 28, 2015, 12:46
Default
  #4
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Well what about trying a Programm that is more medical image based software www.mevislab.de (vtk) might be worth a try
elvis is offline   Reply With Quote

Old   August 31, 2015, 15:13
Default
  #5
Senior Member
 
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16
cutter is on a distinguished road
Hi,

as far as I know the *.raw format is not standardized, it's rather set of similar formats that differs a lot between the various camera manufacturers.

I'm therefore proposing to consult the manufacturer or documentation of the camera that was used for the CT scans. There's probably a custom programs that's able to read the files and convert them to the usual image formats (e.g *.png or *.jpg). These image files can then be processed as suggested in the previous posts.

Cutter
cutter is offline   Reply With Quote

Old   September 1, 2015, 13:15
Default
  #6
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 11
Saideep is on a distinguished road
hi guys;

Thanks for that!!

It is a bit new for me. Actually i am using a test case uploaded online and have this .raw file. This file is from panasonic microCT scans. I will try as cutter also mentioned maybe to find a code that converts .raw of panasonic to other formats.
--
But maybe this could be a bit funny from my end. I tried a lot online to atleast see how the image looks like but i failed numerous times. It just gives me "upload failed". In general do you know something for viewing the file online or in an open source viewer on 32bit.

Thanks!
Saideep
Saideep is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[snappyHexMesh] Valve .stl format zizou1 OpenFOAM Meshing & Mesh Conversion 9 May 16, 2018 05:44
[Discretizer] Installing Discretizer umassche OpenFOAM Community Contributions 26 January 25, 2017 06:33
[General] Paraview data format conversion from vtk to parallel prog data format. odho ParaView 0 September 20, 2016 08:01
[ICEM] best method to generate surfaces from a .stl file format snudurupati ANSYS Meshing & Geometry 2 July 23, 2009 11:21
Import geometry from .stl cad format Tino Siemens 1 October 4, 2001 09:26


All times are GMT -4. The time now is 11:56.