Automate AutoCAD using Python and AI!

Поділитися
Вставка
  • Опубліковано 21 лип 2023
  • Step into the world of automated AutoCAD drawings with Python! This educational video focuses on how to automate tasks in AutoCAD using two Python libraries: pyautogui and pyautocad.
    We delve deep into the key differences between the two libraries, explaining how pyautocad is specifically designed for automating tasks in AutoCAD, while pyautogui provides more general control over your mouse and keyboard, enabling automation of nearly any task in any application.
    A detailed walkthrough of Python code used to automate a spiral square drawing in AutoCAD is provided, where each line is explained in an easy-to-understand manner. We delve into Python's 'import' statement, explaining its role in integrating external libraries or modules into your code.
    Get to understand how a command as simple as 'time.sleep(3)' can make the program wait for 3 seconds, offering you enough time to get into the AutoCAD model space, and how variables are used to control the drawing's dimensions.
    Explore the while loop functionality in creating a spiral square drawing, as well as how each pyautogui command operates in an AutoCAD environment. We even reveal how ChatGPT can be a helpful guide for Python commands in this library!
    Also, learn how to find more information about a library on its PyPi webpage and understand how to check the library version, its dependencies, and its installation process.
    If you're interested in a non-traditional, automated way of executing your CAD work and want to use Python to make that possible, this video is for you! Don't forget to leave a comment if you have any questions, like and subscribe.
    ChatGPT is available here chat.openai.com/
    PyPI website with details on pyautogui: pypi.org/project/autogui/
    #chatgpt
    #python
    #autocad
    Love of All by Twin Musicom is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
    Artist: www.twinmusicom.org/

КОМЕНТАРІ • 4

  • @ajarivas72
    @ajarivas72 Рік тому +2

    Great video 🎥 . Your job won’t be replaced no AI, it will be replaced by someone using AI.
    Waiting for some practical examples with pyAutocad.
    Best regards.

  • @GGKhan-jq7kb
    @GGKhan-jq7kb 8 місяців тому +1

    There I can get training on this please help.

    • @ahmedskullab
      @ahmedskullab  8 місяців тому

      I have prepared some useful videos demonstrating the use of Python with AutoCad, will be posting every week! Stay tune and let me if you want any task in particular

    • @joshmarshall4408
      @joshmarshall4408 3 місяці тому

      This is a new door opening for me and I’m the manufacturing trade, can I use AI to write me G-Code and use that to put into fusion 360 or something like that to use on a CNC Plasma table?