|
[Sponsors] |
Feature request: User defined shortcut (macro), node draging, connector pairing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2014, 10:42 |
Feature request: User defined shortcut (macro), node draging, connector pairing
|
#1 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Hi,
Maybe my way of building multi-block structured mesh is not very correct, but I do frequently use "divide a line (split a line)" and "join two lines" function in pointwise. I am getting quite annoyed since everytime I have to click the button multiple times. For instance, I always want to divide a line at 50% (in its center), Ctrl+Q and then blahblah,,,,, I hope that there could be a macro-recording function and then one can assign a keyboard shortcut to it, so I can just select a connector and hit the shortcut. PS: There is no shortcut to evoke "building a new connector". There is no shortcut to evoke "hide a surface"... I think they are all frequently used operations. Another thing is sometimes in building the multi- blocks, I found the topology may not look very pretty/clear, so one may want to drag an internal node a little bit, so to make the blocks more clear visually. Any ideas? I found in structured mesh generation, line meshes are always in pair, you change dimension in one line/connector, it should automatically be applied to its pairing line. (blocks are all hex (in 2D), right?) Why not add this feature, so whenever the user select one connector, its pairing lines are all highlighted? Thanks
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
January 29, 2014, 11:19 |
|
#2 | |||
Senior Member
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22 |
That's what Glyph scripting is for. This would be a really straightforward script to write.
As a start I recommend going through the Glyph tutorial. Next, if you want to know the script commands to split a connector, right click on message window, enable journaling under Preferences>Journal, perform the connector split operation and copy/paste the resulting script commands into your favorite text editor. I recommend cleaning up the journaled code as it will contain a lot of temporary variables. You should also visit the script exchange and grab one from there to see how things are done: https://github.com/pointwise Finally, the complete Glyph reference documents are here: http://www.pointwise.com/glyph2/file...Glyph-cxx.html Quote:
Quote:
Quote:
Last edited by cnsidero; January 29, 2014 at 15:25. |
||||
January 29, 2014, 11:24 |
|
#3 |
Senior Member
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21 |
Okay, I'll learn tcl today and see how productive it is.
Thank you Chris, you are so kind.
__________________
~ Daniel WEI ------------- Boeing Research & Technology - China Beijing, China |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transient User Defined Function in CFX | Niru | CFX | 0 | November 12, 2013 17:07 |
Re: Cell Acess Macro for User defined Scalar transport equations | yashganatra | FLUENT | 0 | July 1, 2013 09:35 |
using METIS functions in fortran | dokeun | Main CFD Forum | 7 | January 29, 2013 04:06 |
[OpenFOAM] Saving ParaFoam views and case | sail | ParaView | 9 | November 25, 2011 15:46 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 12:21 |