Jump to content
AutoDesSys Forums

Armin Stroß-Radschinski

Members
  • Content count

    1
  • Joined

  • Last visited

Everything posted by Armin Stroß-Radschinski

  1. Armin Stroß-Radschinski

    formZ 9

    I am very happy to see Python upcoming in formZ. To leverage all these concerns: I am an Industrial Designer and 20 years formZ user. I am also a "semiprofessional" workflow maniac that is lazy and tries to be smart. I dived into Python and the whole Open Source ecosystem in 2002 during the use of Plone, a very secure object oriented Web CMS with over 15 years of success. Hope the following lines are not to boring and open the mind of even "no nerd" users to empbrace python. I have done a lot of communication work around Python and Plone. One is the official Python Brochure by the Python Software Foundation that can be downloaded here. http://brochure.getpython.info/media/releases/psf-python-brochure-vol.-i-final-download.pdf We researched a lot of stories around the usage of Python in the Industry (Including Industrial Light and Magic, Houdini, Blender). Some stories did not make it into the brochure (including the one from Disney) due to some legal permissions missing. We know that companies like Electronic Arts, McNeel (Rhino), Maxon (Cinema4D), GOM (3D-Scanning) and much more use Python as a glue language to connect everything to productive environments. You find nearly unlimited solutions to solve almost every problem you can imagine. Microsoft offers more than 10h of training videos on Python and you find excellent books and trainings everywhere. You can bridge from Python to almost every database, spreadsheeds and even scrape webservers. You can process xml and JSON. You can easily document your work using clear and modular programming patterns if you know that, but also save your life with simple few liners working with the OS clipboard. Python is very succesful especially with non full time programmers like scientists and technicians. The easy readable code and the interpreted execution as script boosts your productivity even if you just read and modify existing code. Plone is still using Python 2.7.x but on the way to Python 3.x. Why they are so late? Lazyness? Dumbness? Are there similarities to formZ? The Python Standard Library has a very big and proven ecosystem around it. You can do almost everything in either Web Programming, Embedded Controlling, Scientific Computing (including AI and Big Data) in a more efficient way than using Java or C and with lesser code. There are reasons to use C if the code needs to be executed fast very often. But if you just need get things done several times, short development time beats minor execution time improvements. This is one story behind the success of Python. So why Python 2.7 (e.g. in MacOSX)? (Background why 2.7 is still in use and is supported) There are some rare critical Libraries that were only ported to Python 3 recently and they are not interpreted code (which runs almost fine in Python 3 with some easy tweaks) but compiled into C to run fast) So if you do not have the power to port the code to Python 3 compatibility yourself (what you could do theoretically with Open Source) you have to wait for the maintainer to do it. I fact Python 2.7 is supported until 2020 and everybody knows this. It works as reliable (or better) than Python 3. You can already write code that runs fine under both major releases Python 2 and 3 and you can "Test" that! There are converters to do that automatically as well. Unicode is already supported in Python 2.7 but is treated different. Since formZ scripting is not exposed to the web (even it could do so!) there are no security concerns / reasons against to extend that deadline for some time if you know what you do. Are PyQT etc relevant? If formZ offers nice access to manipulate the native GUI the productivity will be much better because you are in the same object namespace to query the state of everything in formZ directly. If necessary you can use PyQT or WXPython if you have strong needs. There will be no limit as far as I can guess after what I read here. Get a grip now? The only bad story is, that every 3 mails I sended to the ADS crew in the last year to grant access to the SDK were not answered. I suggested the use of Python or/and to implement a bridge from the old SDK myself. Inspiration? – I think they catched it themselves before... but still a bit poor... I will start to work with Python in formZ it as soon I get a grip on a beta. This was the last reason to switch to Rhino, now gone.
×