|
[Sponsors] |
[ICEM] Documentation for basic geometry commands |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Adam Læssøe
Join Date: Nov 2013
Posts: 29
Rep Power: 13 ![]() |
Following François Grégoire's advice in another thread, I've begun learning Tcl.
While ICEM's programmers guide is mentioned as poor in that thread, I'm struggling to find even basic documentation for the basic geometric functions. Some slightly more advanced ones are possible to find (there are descriptions for several "ic_geo_"-prefixed commands). But specifically, I'm looking for documentation on:
The documentation does not seem to have any mention of them. The way I have been moving forward so far is by recording clicks in the gui. But that seems to also set some default flags that gives me a feeling that others might exist. E.g.:
I've tried e.g. Code:
info args ic_surface Then I tried: Code:
info body ic_surface Code:
in_ic_surface $args So: Does any one here know of alternative documentation channels where these basic commands are documented? /adam |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 18 ![]() |
What I'm doing to 'get by': I type ic_curve alone and Icem returns Error: wrong # args: should be "ic_curve method part name def args", then I go in the Icem programmer's guide and I look for method, part, name, def and args... It's annoying but it's the only way I found.
I wonder if we are supposed to not use commands that are not in the programmer's guide. For example, ic_point is not in the guide but there is ic_geo_cre_pnt, is the latter supposed to be better? Same for ic_curve VS ic_geo_cre_line...? Last edited by macfly; November 20, 2013 at 16:51. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 ![]() ![]() |
Quote:
In the programmers guide, look for ic_geo_cre_pnt, ic_geo_cre_line, ic_geo_create_surface_from_curves in the programmers guide. These commands also have demo scripts in the samples folder of the ICEM install. The programmers guide will tell you where to find them. These commands are probably fine for most applications. Of course there are many other options for creating curves and surfaces though, such as elipses, b-splines, swept surfaces, extrudes, revolves, etc etc. Stu |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 ![]() ![]() |
Hi Francois,
In my experience, both work equally well. I think the equivalent of ic_curve is ic_geo_cre_bsp_crv_n_pnts, because ic_geo_cre_line will not create splines like ic_curve. Stu |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 18 ![]() |
Hi Stuart,
You're right ic_geo_cre_bsp_crv_n_pnts is more versatile. Adam, here's a linear polyline, very convenient: Code:
ic_geo_cre_pnt POINTS p1 {0 0 0} ic_geo_cre_pnt POINTS p2 {1 0 0} ic_geo_cre_pnt POINTS p3 {1 1 0} ic_geo_cre_pnt POINTS p4 {0 1 0} ic_geo_cre_bsp_crv_n_pnts CURVES c1 {p1 p2 p3 p4 p1} 0.0010 1 |
|
![]() |
![]() |
![]() |
Tags |
documentation, icem, scripting, tcl |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CoCoons Project - Community-driven Documentation on OpenFOAM® Technology | holger_marschall | OpenFOAM Announcements from Other Sources | 6 | February 2, 2022 14:42 |
Question about Geometry vs. Meshes | EphemeralMemory | ANSYS Meshing & Geometry | 2 | December 8, 2016 13:02 |
Doxygen documentation | Tanay | OpenFOAM Installation | 9 | September 23, 2011 11:40 |