Automated Drawing in AutoCAD via OpenAI API (ChatGPT)

Automated Drawing in AutoCAD via OpenAI API (ChatGPT)

CodeDing
Advisor Advisor
12,042 Views
10 Replies
Message 1 of 11

Automated Drawing in AutoCAD via OpenAI API (ChatGPT)

CodeDing
Advisor
Advisor

Hey all!

 

I just wanted to share a project I've been working on this week in my free time. It's only at the ground floor right now but I'm hoping to push forward and keep improving it. 

 

Well.. What is it then!?

 

As AI continues to grow and evolve, I've been wanting to try to incorporate it into my future work processes and workflow. So now that OpenAI (ChatGPT company) has re-formatted their Chat model, it allows us to pretty easily get our feet in the door!

 

So I have started an AI assistant that will eventually be helping users automatically call commands just by having a simple conversation with them. And it's pretty easy to see how this can translate to huge amounts of automatic processes happening and even removing the typing aspect all together and going to just straight voice input from users to automate their drawings. Anyways, check out my demo video below and let me know what you think or where you see this going?

 

Best,
~DD

 

12,043 Views
10 Replies
Replies (10)
Message 2 of 11

Sea-Haven
Mentor
Mentor

Voice has been around for years its built in to Windows, nothing like swearing at your Cad when you do the wrong thing that would initiate the UNDO command etc. I remember playing with it like 30 years ago. Same with 3D goggles.

 

So had a go make sure that you have cursor on command line.

 

Windows button + H

SeaHaven_0-1696909843250.png

 

Unable to recognize command "IRCLE". This error can occur when the command is not supported for the active license.

Close another go got

Circle

Select center of circle or [2 Point/3 Point/Tangent-Tangent-Radius/turn Arc into circle/Multiple circles]:

 

It did ask to learn my voice which should improve the reliability.

 

 

I will though do the disclaimer need to test more. Google "Voice control windows 11"

How to Voice Control your Windows 11 PC (allthings.how)

0 Likes
Message 3 of 11

tri.ptPE4JB
Contributor
Contributor

It's exactly what I'm thinking.
I would like to test this one for sample.
May I have your contact ?
My email : phantritech@gmail.com

0 Likes
Message 4 of 11

CodeDing
Advisor
Advisor

@tri.ptPE4JB ,

 

I appreciate your interest in the project!

Sadly, it is still only a proof of concept. With the API changes, model updates, complexity of AutoCAD commands, and getting busy with life; I was not able to get a working model flushed out. I'm still interested in where this could go, and may some day decide to try and tackle this project again.

 

Best,

~DD

0 Likes
Message 5 of 11

Sea-Haven
Mentor
Mentor

I have tried "Copilot" a few times with good and bad results when you ask a real hard question. Just add Autolisp as last word.

 

I dont understand, maybe Bricscad will do what one of the cad programs did like 20 years ago like Excel wrote a macro in VBA code. Very useful compared to say AI.

0 Likes
Message 6 of 11

hkhan79SWQ
Explorer
Explorer

@CodeDing is this open source. I have worked with CAD COM api's and would love to contribute to the project.

0 Likes
Message 7 of 11

CodeDing
Advisor
Advisor

@hkhan79SWQ ,

 

Sadly no. If I were to pickup this project again, I would start from scratch using .NET probably.

 

Best,

~DD

0 Likes
Message 8 of 11

s_radovinithomas
Community Visitor
Community Visitor

proiezione ortogonale con solo P.V di una piramide esagonale,quadrata e di un cono

 

0 Likes
Message 9 of 11

s_radovinithomas
Community Visitor
Community Visitor

Proiezione ortogonale con solo P.V di una piramide a base esagonale e quadrata e un cono

0 Likes
Message 10 of 11

KHALID_ALTAZAMON
Community Visitor
Community Visitor

المخطط الكهربائي للوحة التحكم:

1. **اللوحة الرئيسية:** تحتوي على قاطع رئيسي (Main Circuit Breaker) لحماية النظام.
2. **التحكم في المضخات:** استخدام عدد 2 إنفرتر (VFD) لتشغيل المضخات بسرعات متغيرة.
3. **وضع التشغيل:** مفتاح تحويل بين التشغيل اليدوي (Manual) والتشغيل الأوتوماتيكي (Automatic).
4. **مستشعرات الضغط:** مستويان من مستشعرات الضغط للتحكم في تشغيل المضخات عند الحاجة:
- مستشعر الضغط العالي (High-Level Pressure Sensor) لتشغيل المضخات.
- مستشعر الضغط المنخفض (Low-Level Pressure Sensor) لإيقافها عند الوصول إلى الحد المطلوب.
5. **أجهزة القياس:** جهاز قراءة الفولت (Voltmeter) والأمبير (Ammeter) لمراقبة أداء النظام.
6. **حماية الفازة:** مرحل حماية ضد فقدان الفاز (Phase Protection Relay) لمنع تلف المعدات.
7. **خريطة التحكم:** توصيلات كهربائية لتنظيم تشغيل المضخات بالتناوب أو معًا وفق الحاجة.

**تمثيل المخطط الكهربائي بالرموز القياسية متاح بصيغة CAD.** سيتم تضمين تفاصيل التوصيلات، مداخل ومخارج الإنفرتر، توصيلات المستشعرات، وآلية الحماية بشكل دقيق.

 

0 Likes
Message 11 of 11

KHALID_ALTAZAMON
Community Visitor
Community Visitor

المخطط الكهربائي للوحة التحكم:

1. **اللوحة الرئيسية:** تحتوي على قاطع رئيسي (Main Circuit Breaker) لحماية النظام.
2. **التحكم في المضخات:** استخدام عدد 2 إنفرتر (VFD) لتشغيل المضخات بسرعات متغيرة.
3. **وضع التشغيل:** مفتاح تحويل بين التشغيل اليدوي (Manual) والتشغيل الأوتوماتيكي (Automatic).
4. **مستشعرات الضغط:** مستويان من مستشعرات الضغط للتحكم في تشغيل المضخات عند الحاجة:
- مستشعر الضغط العالي (High-Level Pressure Sensor) لتشغيل المضخات.
- مستشعر الضغط المنخفض (Low-Level Pressure Sensor) لإيقافها عند الوصول إلى الحد المطلوب.
5. **أجهزة القياس:** جهاز قراءة الفولت (Voltmeter) والأمبير (Ammeter) لمراقبة أداء النظام.
6. **حماية الفازة:** مرحل حماية ضد فقدان الفاز (Phase Protection Relay) لمنع تلف المعدات.
7. **خريطة التحكم:** توصيلات كهربائية لتنظيم تشغيل المضخات بالتناوب أو معًا وفق الحاجة.

**تمثيل المخطط الكهربائي بالرموز القياسية متاح بصيغة CAD.** سيتم تضمين تفاصيل التوصيلات، مداخل ومخارج الإنفرتر، توصيلات المستشعرات، وآلية الحماية بشكل دقيق.

0 Likes