|
[Sponsors] |
March 16, 2010, 09:18 |
Replay control - save picture
|
#1 |
Member
prout
Join Date: May 2009
Posts: 32
Rep Power: 16 |
Hi,
Is there a command to save a picture using ICEM's replay control? Recording the "save picture" process does not add any line to the script, and I found no topic with "picture" in it in the programmer's guide... Thanks. |
|
March 16, 2010, 11:30 |
ic_print args
|
#2 |
Member
Join Date: Mar 2009
Posts: 52
Rep Power: 17 |
Hello,
there is an option, use: f.e to print a jpeg file: ic_print format "jpeg" jpeg_quality "100" test.jpeg or look for print or ic_print in the programmer manual for more options, it's under the "Miscellaneous Mesh Editor Functions" heading. Good luck |
|
March 16, 2010, 13:05 |
|
#3 |
Member
prout
Join Date: May 2009
Posts: 32
Rep Power: 16 |
Thanks. Now I just need to find the commands to set the parametric fitted view
|
|
March 17, 2010, 13:35 |
|
#4 |
Member
Join Date: Mar 2009
Posts: 52
Rep Power: 17 |
You mean to get the same image everytime?
I think you can find that under the arguments of the ic_print command in the manual. |
|
March 17, 2010, 15:41 |
|
#5 | |
Member
prout
Join Date: May 2009
Posts: 32
Rep Power: 16 |
I was meaning isometric view...sorry about that.
Quote:
|
||
March 18, 2010, 02:36 |
|
#6 |
Member
Join Date: Mar 2009
Posts: 52
Rep Power: 17 |
Hi,
I have been thinking on this and I actually haven't found yet how to do this... May be ic_view is the solution, although I only managed to set it to one view. ic_view home If you figure out how to define the home view you're problem is solved I think... good luck |
|
March 18, 2010, 07:21 |
|
#7 |
Member
prout
Join Date: May 2009
Posts: 32
Rep Power: 16 |
Yeah, I did not find anything either, besides this function. I think the "home" view could be modified but I don't know where.
Right now I use CFX-Pre to get a picture of my mesh, but the result is not so good. Thanks for your help! |
|
March 18, 2010, 08:16 |
|
#8 |
Member
Join Date: Mar 2009
Posts: 52
Rep Power: 17 |
you're welcome, if I find a solution I will let you know
|
|
March 20, 2010, 21:04 |
tdv_trans_update
|
#9 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
There may be a way, but I don't know what it is either.
How about just rotate it to the right direction... SO fit to home and then rotate to 1 1 1 right? Here is a sample script of something else, that might help give you some ideas... global tdv_current_viewer set rotate_angleX 1 set rotate_angleY 2 set turns 5 set angleX [expr ($rotate_angleX * 3.14159) / 180] set angleY [expr ($rotate_angleY * 3.14159) / 180] for {set cur_angle 0} {$cur_angle < [expr 360 * $turns]} {set cur_angle [expr $cur_angle + $rotate_angleX]} { tdv_rotate_axis $tdv_current_viewer 0 1 0 $angleY #tdv_rotate_axis $tdv_current_viewer 1 0 0 $angleX tdv_trans_update $tdv_current_viewer update } |
|
August 20, 2010, 03:37 |
|
#10 |
Member
W.N. Anderson
Join Date: Jul 2010
Location: Zürich, Switzerland
Posts: 46
Rep Power: 15 |
The command
ic_print doesn't work when ICEM is run in batch mode (no GUI). Does anybody have a work around? How to generate hardcopies in postscript from ICEM sessions which are run in batch mode? Last edited by Will Anderson; August 21, 2010 at 06:12. Reason: clarified |
|
October 5, 2010, 18:35 |
Needs the image to be displayed before it can be captured...
|
#11 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
Hello Will, I see you found this post... Long ago.
Yes, the image capture requires the image to be displayed and therefore can not be done in batch without the GUI... however, if you run your script with -script instead of -batch, it will launch the GUI and can take images... |
|
June 28, 2011, 00:44 |
Replay File query
|
#12 |
New Member
A-Vdia
Join Date: Jun 2011
Posts: 5
Rep Power: 14 |
Is there a way to save a replay file from within a replay file ?
|
|
November 16, 2014, 16:29 |
|
#13 |
New Member
Join Date: Nov 2014
Posts: 1
Rep Power: 0 |
Hi
How can I take a photo of a project using tetra mesh in icemcfd? |
|
June 16, 2016, 14:33 |
|
#14 |
New Member
Rafael Cerqueira
Join Date: Mar 2012
Posts: 13
Rep Power: 14 |
I'm trying to use this "ic_print" in my TCL script, but I it is not working.
How can I make this function to work? The manual is a bit vague... Does anyone have a example to share? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Tgrid control surface for diagnostic purposes | josp | OpenFOAM Meshing & Mesh Conversion | 0 | November 20, 2008 05:36 |
[OpenFOAM] Xwindows crash with paraview save | srinath | ParaView | 1 | October 15, 2008 09:37 |
element size control in ICEM (line & face spacing) | Sam | CFX | 0 | January 28, 2008 13:28 |
Solid Timescale Control | Parthipan | CFX | 2 | August 24, 2007 10:07 |
maintaining a logarithmic velocity distribution | Morten Andersen | CFX | 1 | January 8, 2007 11:37 |