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
Was my answer helpful to you? https://www.buymeacoffee.com/mhscott
OpenSees courses: https://courses.silviasbrainery.com/
OpenSees 1-on-1 sessions: https://www.silviasbrainery.com/one-on-one-training
OpenSees blog: www.portwooddigital.com
OpenSees courses: https://courses.silviasbrainery.com/
OpenSees 1-on-1 sessions: https://www.silviasbrainery.com/one-on-one-training
OpenSees blog: www.portwooddigital.com
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.
Was my answer helpful to you? https://www.buymeacoffee.com/mhscott
OpenSees courses: https://courses.silviasbrainery.com/
OpenSees 1-on-1 sessions: https://www.silviasbrainery.com/one-on-one-training
OpenSees blog: www.portwooddigital.com
OpenSees courses: https://courses.silviasbrainery.com/
OpenSees 1-on-1 sessions: https://www.silviasbrainery.com/one-on-one-training
OpenSees blog: www.portwooddigital.com
-
- Posts: 3
- Joined: Fri Sep 18, 2020 9:29 pm
Re: Is there a program that converts Tcl into PY files?
0, a new system-wide command-line utility is provided called qutest_convert. This script can do most of the conversion of a test script from Tcl to Python for you (e.g. it doesn't convert Tcl binary format to [
Last edited by Sabdhsingh on Sat Nov 07, 2020 5:33 am, edited 1 time in total.
-
- Posts: 3
- Joined: Fri Sep 18, 2020 9:29 pm
Re: Is there a program that converts Tcl into PY files?
If you'll keep the TCL in TCL and integrate with python you will get an equivalent quite result but it'll actually be https://www.sevenmentor.com/machine-lea ... n-pune.php