First Public Release of BuildingTcl
Moderators: silvia, selimgunay, Moderators
First Public Release of BuildingTcl
BuildingTcl is a library of Tcl commands to build and analyze 2D building frames using OpenSees. The BuildingTclViewer is a graphical user interface for BuildingTcl -- it allows the user to run the numerical simulations interactively and view the analysis results interactively as well.
neesforge.nees.org/projects/buildingtcl/
This is the first public release. Please post all comments and questions in this thread. However, i will be gone on holiday until August 19th.
i have tried to make the documentation complete, but it may not be perfect, as the libraries are still evolving.
neesforge.nees.org/projects/buildingtcl/
This is the first public release. Please post all comments and questions in this thread. However, i will be gone on holiday until August 19th.
i have tried to make the documentation complete, but it may not be perfect, as the libraries are still evolving.
Last edited by silvia on Tue Oct 21, 2008 1:41 pm, edited 2 times in total.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
-
- Posts: 73
- Joined: Tue Feb 20, 2007 6:48 am
- Location: IIEES
- Contact:
-
- Posts: 40
- Joined: Wed Feb 06, 2008 10:53 am
- Location: Universidad del Norte
-
- Posts: 40
- Joined: Wed Feb 06, 2008 10:53 am
- Location: Universidad del Norte
honestly, i don't know how to make it work on mac, please try it on a windows os, understand the files and see if you can do it, i don't know how macs handle paths and things like that.
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
-
- Posts: 73
- Joined: Tue Feb 20, 2007 6:48 am
- Location: IIEES
- Contact:
Hi !
I can run graphical user interface under linux with below command and sum change to some filename in /home/ebi/Desktop/BuildingTcl_Release/BuildingTclProgramFiles/LibImages folder, because linux is sensible to small and large letters :
wish equals to tk command in windows.
www freeimagehosting.net/uploads/th.326cd41771.png
while content of myBuildingTclViewer.tcl file is look likes this:
and I can load input file, but when I press analyze key, it gives me an error :
Error: invalid command name “ wipe”.
www freeimagehosting.net/uploads/9ce2d7688d.png
It's true. Because wipe is an opensees command.
However, when I run below command this error appear:
error:
this is also true. Because winfo command is a wish command and opensees return an error.
I think it must be runnable under linux with some try.
Please excuse me for my poor english.
I can run graphical user interface under linux with below command and sum change to some filename in /home/ebi/Desktop/BuildingTcl_Release/BuildingTclProgramFiles/LibImages folder, because linux is sensible to small and large letters :
Code: Select all
wish /home/ebi/Desktop/BuildingTcl_Release/myBuildingTclViewer.tcl
www freeimagehosting.net/uploads/th.326cd41771.png
while content of myBuildingTclViewer.tcl file is look likes this:
Code: Select all
################################
# BuildingTcl Library Files Setup
#
# Silvia Mazzoni, 2008
# University of California, Berkeley
################################
# place this file in your working directory #
# source it within OpenSeesTk #
################################
#
# Folder Path for all BuildingTcl Library Files
variable LibPath "/home/ebi/Desktop/BuildingTcl_Release/BuildingTclProgramFiles";
#
# Add the BuildingTcl Commands to Tcl
source $LibPath/LibBuildingTclLibraryFiles.tcl;
#
# set up
#
# initialize all data lists and arrays
initializeAll ;
#
global GlobalizeUnits
eval $GlobalizeUnits;
#
#
# run viewer
#
BuildingTclViewer
#
and I can load input file, but when I press analyze key, it gives me an error :
Error: invalid command name “ wipe”.
www freeimagehosting.net/uploads/9ce2d7688d.png
It's true. Because wipe is an opensees command.
However, when I run below command this error appear:
Code: Select all
opensees /home/ebi/Desktop/BuildingTcl_Release/myBuildingTclViewer.tcl
Code: Select all
invalid command name "winfo"
while executing
"winfo screenwidth ."
(procedure "BuildingTclViewer" line 8)
invoked from within
"BuildingTclViewer"
(file "/home/ebi/Desktop/BuildingTcl_Release/myBuildingTclViewer.tcl" line 28)
this is also true. Because winfo command is a wish command and opensees return an error.
I think it must be runnable under linux with some try.
Please excuse me for my poor english.
Last edited by ebe79442114 on Thu Sep 25, 2008 2:40 pm, edited 1 time in total.
operating system: Debian Gnu/Linux lenny 64Bit debian (DOT) org/
email : e.roknabadi (AT) iiees.ac.ir
email : e.roknabadi (AT) iiees.ac.ir
-
- Posts: 73
- Joined: Tue Feb 20, 2007 6:48 am
- Location: IIEES
- Contact:
I get source code and compile it under debian GNU/Linux. I don't know how can i integrate opensees with Tk (wish in linux).silvia wrote:are you running the Tk version of OpenSees????
winfo is a Tk command, not a Tcl one.
thanks.
operating system: Debian Gnu/Linux lenny 64Bit debian (DOT) org/
email : e.roknabadi (AT) iiees.ac.ir
email : e.roknabadi (AT) iiees.ac.ir
-
- Posts: 73
- Joined: Tue Feb 20, 2007 6:48 am
- Location: IIEES
- Contact:
-
- Posts: 73
- Joined: Tue Feb 20, 2007 6:48 am
- Location: IIEES
- Contact: