Hi Adam,
yes, this small window is I guess not that big of an issue, but the issue is still that if I just try to run simvascular with a script parameter (e.g. "simvascular test.tcl") the batch mode does not seem to work and the full GUI opens - no matter what is inside the "test.tcl". I'm running simvascular from a bash script so I need to use the second option(running it with a script parameter) which is not possible currently.
Any was of addressing this issue or will it have to wait until a future release?
Thanks,
Rok
Command-line TetGen meshing and preparing the mesh-complete directory
- Adam Updegrove
- Posts: 236
- Joined: Fri Aug 30, 2013 4:11 pm
Re: Command-line TetGen meshing and preparing the mesh-complete directory
Hi Rok, can you clarify?
I'm not sure I'm seeing this same behavior. I ran in batch mode, imported vtk (the small blank window popped up), and I sourced a .tcl file that just printed a couple things, and that worked fine. If you source any .tcl file, SimVascular opens?
Thanks!
SimVascular Development Team
I'm not sure I'm seeing this same behavior. I ran in batch mode, imported vtk (the small blank window popped up), and I sourced a .tcl file that just printed a couple things, and that worked fine. If you source any .tcl file, SimVascular opens?
Thanks!
SimVascular Development Team
Re: Command-line TetGen meshing and preparing the mesh-complete directory
Hi,
I've attached a screenshot of my terminal to be more clear. As you can see, if I first start simvascular with no arguments given, it starts in batch mode. However, if I provide the script name as an argument, the full GUI is opened.
It seems the arguments are ignored (even though it logs "processing command line option"). On an old version of SimVascular, this was working as I wanted it to - SimVascular ran in batch mode, sourced the script (provided as an argument), then exitted.
Cheers,
Rok
I've attached a screenshot of my terminal to be more clear. As you can see, if I first start simvascular with no arguments given, it starts in batch mode. However, if I provide the script name as an argument, the full GUI is opened.
It seems the arguments are ignored (even though it logs "processing command line option"). On an old version of SimVascular, this was working as I wanted it to - SimVascular ran in batch mode, sourced the script (provided as an argument), then exitted.
Cheers,
Rok
- Adam Updegrove
- Posts: 236
- Joined: Fri Aug 30, 2013 4:11 pm
Re: Command-line TetGen meshing and preparing the mesh-complete directory
Hi Rok,
With the inclusion of the new Qt GUI, the startup script changed a little bit. I would change the startup script for SimVascular to get the behavior you want.
On Mac, the startup script is located at /Application/SimVascular.app/Contents/Resources/simvascular.
Make the final lines where the simvascular executable is being called equal to what I have in the attached file.
Let me know if that works.
Thanks!
SimVascular Development Team
With the inclusion of the new Qt GUI, the startup script changed a little bit. I would change the startup script for SimVascular to get the behavior you want.
On Mac, the startup script is located at /Application/SimVascular.app/Contents/Resources/simvascular.
Make the final lines where the simvascular executable is being called equal to what I have in the attached file.
Let me know if that works.
Thanks!
SimVascular Development Team
- Attachments
-
- start_lines.sh.txt
- (269 Bytes) Downloaded 78 times
Re: Command-line TetGen meshing and preparing the mesh-complete directory
Hi Adam,
thanks and sorry for the late response. These lines almost make it work correctly - the GUI (not even the small window) doesn't start anymore, but if I run "simvascular test.tcl" where test.tcl contains the line "package require vtk" it seems the command never finishes. Other commands I tried finish normally.
This is not a big dealbreaker for me right now since I'm fine with using the old version for the meshing, though.
Cheers,
Rok
thanks and sorry for the late response. These lines almost make it work correctly - the GUI (not even the small window) doesn't start anymore, but if I run "simvascular test.tcl" where test.tcl contains the line "package require vtk" it seems the command never finishes. Other commands I tried finish normally.
This is not a big dealbreaker for me right now since I'm fine with using the old version for the meshing, though.
Cheers,
Rok