Is there a program that converts Tcl into PY files?
Moderators: silvia, selimgunay, Moderators
Is there a program that converts Tcl into PY files?
Is there a program like ETO that can convert Tcl on openSees to corresponding Py file?I didn't have to go back to modeling in Python, which would have been cumbersome.Thank you
Re: Is there a program that converts Tcl into PY files?
Maybe someone wants to write this software?This makes openSeesPy a lot easier. There are many applications like SAP2000 and ETAPS that convert models to OpenSees models.We can save a lot of modeling time.
Re: Is there a program that converts Tcl into PY files?
This script works, but only if the Tcl file defines everything line by line, i.e., without loops, conditional statements, or variable substitutions.
https://github.com/OpenSees/OpenSees/bl ... nSeesPy.py
https://github.com/OpenSees/OpenSees/bl ... nSeesPy.py
Re: Is there a program that converts Tcl into PY files?
Thank you .Im so happy for it and I admire your work
Re: Is there a program that converts Tcl into PY files?
I was actually wondering the exact opposite... is there any way to recover an equivalent .tcl file from an openseespy file?
Re: Is there a program that converts Tcl into PY files?
Why in the world would you want to do that? hahaha
It should be straightforward to reverse the Python script to go OpenSeesPy to OpenSeesTcl.
It should be straightforward to reverse the Python script to go OpenSeesPy to OpenSeesTcl.