ChatGPT & 3D Printing: Self-Replicating AI Machines!

Поділитися
Вставка
  • Опубліковано 3 гру 2022
  • In this Video I try to get a AI to do the job of CAD modelling for me. The results where impressive despite glaring limitations.
    I'm always looking for constructive feedback, so if you have any leave it in the comments below.
    ChatGPT Announcement Tweet:
    / 1598014522098208769
    ChatGPT Blogpost:
    openai.com/blog/chatgpt/
    OpenSCAD:
    openscad.org/index.html
    Fusion 360 Hackaday article:
    hackaday.com/2020/09/16/autod...
    Geometric Deep Learning:
    vgl.ict.usc.edu/Research/Geom...
    A explanation of recent nVidia research for generating mesh-based objects (sadly no CAD though)
    • NVIDIA’s New AI: Gener...
    And the paper from nVidia:
    nv-tlabs.github.io/GET3D/asse...
  • Наука та технологія

КОМЕНТАРІ • 366

  • @635574
    @635574 Рік тому +143

    From CAD to AID

  • @critical_always
    @critical_always Рік тому +100

    Wow, I know OpenSCAD very well. This is impressive. Especially considering openscad is relatively obscure with a limited training base.

  • @tamnker8465
    @tamnker8465 Рік тому +121

    Imagine you ask a chatbot for a 3d model and it starts demanding fair pay.

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

      Good video. Pretty similar to my experiences asking it to write code to control patterns an LED matrix. Works at first, then throws some errors, then after some coaching it gets back on track and starts becoming useful.

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

      Bicentennial Man (1999) covers this same issue, but it's demanded by a Human for the AI. Also a pretty damn good movie.

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

      Those demanding fair pay should be the humans whose data was stolen to provide training.

    • @user-so3wm8te1i
      @user-so3wm8te1i Рік тому

      @@dm5rkt hi bro i'm doing a led matrix to display a texto, i'm doing it with a 8 led modules each module contain 4 matrix of 8x8 led your project was similar? I want to create it with an esp32 because want to utilize his wifi, you think chat gpt could help?

    • @therealOXOC
      @therealOXOC Рік тому +3

      @@TheFattestbastardinQ gonna steal this comment

  • @Catboy-hr2qp
    @Catboy-hr2qp Рік тому +218

    I had chat gpt generate python scripts to generate more complex geometry in fusion 360 that would have taken me hours to do, it seemed to work pretty well doing that

    • @wehiird
      @wehiird Рік тому +10

      That’s cool! You got a picture or anything?

    • @EmbeddedHackster
      @EmbeddedHackster Рік тому +11

      Would you mind sharing what you did exactly? It must be awesome to automate it

    • @Mark0Caine
      @Mark0Caine Рік тому +4

      Dope! Please share your scripts/examples?!

    • @hassiaschbi
      @hassiaschbi Рік тому +14

      I think this comment was ai generated!

    • @robotchickenworkshop
      @robotchickenworkshop Рік тому

      Very nice!

  • @yottavolt758
    @yottavolt758 Рік тому +55

    Pretty impressive what is possible with current technology

  • @brianmi40
    @brianmi40 Рік тому +20

    Once they connect the ability to supply a reference diagram, hand drawn sketch (even with dimensions) or even photo along with the prompt it hopefully will get us most of the way there. This is going to make 3D printing much more widely accessible once it more often than not can generate workable results. It will be about the closest we have ever come to "magic": to be able to speak what you want, and then minutes later, hold it in your hand. 2022 will certainly be remembered both for the Cold Fusion breakthrough as well as AI landing at such a high level of functionality becoming widely used.

  • @howtoguy17
    @howtoguy17 Рік тому +23

    Please make more content like this, 3D printing and AI is a very interesting concept

  • @Poggy
    @Poggy Рік тому +29

    If you paste the errors, you will get it to recognize better what the problem is. I've also had luck with taking parts of or pasting entire documentations of software / API and having it be able to tell me what a proper API call syntax would be for a specific API or software.

  • @markmahowald7866
    @markmahowald7866 Рік тому +65

    I am a software engineer, and I have been using this to write some of the trickier sql this last week at my job. At the end of the week I was as productive asnormal, but I was sick for part of the week so it was a definite boon

    • @FFA704
      @FFA704 Рік тому +1

      very bad idea

    • @ElixirEcho
      @ElixirEcho Рік тому +18

      @@FFA704 No different from getting an answer from the google machine. Read, understand, test test test then click and pray haha

    • @Indian1502
      @Indian1502 Рік тому

      @@ElixirEcho Understand one thing, IT STARTED, and IT will not remain at the same level.

    • @markmahowald7866
      @markmahowald7866 Рік тому +14

      @@FFA704 How so? i asked it for some code, then i tested it and confirmed that it worked as desired, made a few tweaks for our specific environment, and used it. it saved me a lot of time and came up with a more robust solution than i had.

    • @FFA704
      @FFA704 Рік тому

      @markmahowald7866 good thing you understand the behavior the code you're running beyond testing and making a few tweaks, I'm sure this won't cause problems later on

  • @psocretes8183
    @psocretes8183 Рік тому +1

    We have the privilege of access to this incredible science. I have seen other videos where people are writing APIs to talk to another AI depending on what they specialise in. Together they work very well. The world is going to be a very different place in five to ten years time. This is just the beginning.

  • @adamgoyer2077
    @adamgoyer2077 Рік тому +9

    I've found that if you feed the text from the error back into the chat, it's quite helpful in generating a solution

  • @stefang5639
    @stefang5639 Рік тому +8

    Impressive, and this is all before fine-tuning and specialization for this purpose. Soon, software will include fine tuned custom modes based on GPT that will be much better for their purpose. I tried the same with SVG files, and it somewhat works too.

  • @86Kacey
    @86Kacey Рік тому +11

    I tried to generate some 3D model for Blender, result where similar, but still very impresive

  • @johndewey7243
    @johndewey7243 Рік тому +6

    I played around with describing scenes to ChatGPT and getting the result in OpenSCAD. I had it a create a new language called Boop that corrected its understanding of OpenSCAD, I think the biggest one was how it treated geometry and variables. After that I was able to get some OK scenes. It does show where this is going, two more papers down the line ...

  • @muhiak115
    @muhiak115 Рік тому +5

    I use the ChatGPT to give me examples. It does help me when I have to switch between many programming languages when I forget how this specific syntax or function was used. Basically replaced the more trivial problems on StackOverflow.
    The more complex you go, the more time you invest in actually telling the AI to correct itself though.

  • @TheBnelsonphoto
    @TheBnelsonphoto Рік тому

    An interesting experiment. Cool to see the good, bad, and ugly trials. Merry Christmas!

  • @Mdelacruzmelo
    @Mdelacruzmelo Рік тому

    thanks man, I really appreciate you push knowledge like this. Please keep going making videos

  • @first-thoughtgiver-of-will2456
    @first-thoughtgiver-of-will2456 Рік тому +19

    I use SolidPython, an openscad code generator for python code with copilot and have great results. I can use object oriented programming with classes and inheritance which works great with copilot.

    • @The4lexO
      @The4lexO Рік тому

      IS solidpython exportable to a web viewer ?

  • @gabrielciandrinideoliveira2336

    I had the same idea last week, very good video, the future looks very fun

  • @edenani
    @edenani Рік тому

    This is really cool! I didn't even know about Open Scad before. Thank you!

  • @josephsmith601
    @josephsmith601 Рік тому

    🤯 This is EXACTLY what I've been waiting for, you got a subscriber for this one!!!!!

  • @larsscreenpicture2016
    @larsscreenpicture2016 Рік тому

    I thought of this yesterday. And here is your video. Great job thanks for your content. Regards from Germany :)

    • @KYBERWERK
      @KYBERWERK  Рік тому

      It's encouraging to hear you enjoyed it. Thank you!

  • @chrisBruner
    @chrisBruner Рік тому +6

    I tried the same thing, with the prompt "Can you generate openscad code to connect a nema 17 motor to a gearbox. " It wrote code that seemed to be creating modules but didn't define them. So I corrected the result and fed it back to it, saying I that this is what I think you meant. It accepted that and we proceeded to "fine tune" the code. All in all it was disappointing. I do think that if a model were to be trained with openscad in mind, it would be very good. But it appears that openscad is barely known by the model.

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

    what would probably help a lot is to guide it in a similar way to how openscad is used. I don't use it so I know nothing about it, but like if this was using fusion 3d I would guide it through like "create a sketch on a plane that is flat on the floor using x and y axis" and explain what to draw then "extrude on z axis" and so on. Typing through all the steps would still be much easier especially if you could get it to do accurate sketches for you. The hardest part really for a lot of stuff is the 2d sketch. Extruding, filleting, chamfering, scaling, lofting, and so on are all pretty simple.

  • @exhaustus7437
    @exhaustus7437 Рік тому +1

    Finally, a youtube video worth a like and subscribe! its only took me 29 years

  • @TheUnHEXable
    @TheUnHEXable Рік тому

    Thank you for sharing! very neat

  • @TheBehnjamin
    @TheBehnjamin Рік тому

    "lightly edited to conform to modern day attention spans" had me laughing surprisingly hard! Brilliant work, very engaging content :D thankyou! And subbed!

  • @proterotype
    @proterotype 11 місяців тому

    New sub. I tried using ChatGPT to write code in OpenSCAD. I told it to make a lampshade with honeycomb holes. It didn’t really nail it exactly but outputted something pretty cool.

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

    I tried this myself thinking it might be capable of more, but I think you're right. It can make code that runs in OpenSCAD, but it doesn't have any way to see if the output matches the prompt. I'm also interested to check if it can provide .obj or .stl code, or maybe 3D print layer code (if there's some for that isn't too long). If it had lots of examples of good OpenSCAD code I think it could do better by merging the concepts.

    • @MHTHINK
      @MHTHINK Рік тому

      Or, what if we use a fine-tuned model that had OpenSCAD with the output of hundreds of descriptions in the plain language of the .
      I think it could do that.

  • @forestgrumpjr8182
    @forestgrumpjr8182 Рік тому

    Interesting video! The snow flake seemed to be the best thing you made. I thought you could go further on that with repeating the cuts using an array around the center. Some dude did an array for blender on Chat GPT and it worked. I repeated it and found it to be good.
    I thought the term Christmas tree topper to be too non-specific. I haven't tried it, but I'd go for your specific choice like star or angel and see if that narrowed it down. I'm struggling with anything complex on Blender generations and failed at extrusions. I will be looking at OpenSCAD and more Blender Add Ons and would watch more videos on future success with OpenSCAD and ChatGPT.

  • @schrodingerscat3912
    @schrodingerscat3912 Рік тому +1

    ChatGPT has rocked my world this week

  • @josephhvnguyen1755
    @josephhvnguyen1755 Рік тому

    It was fun to watch and very educational 👍

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

    Insane. I'm new to ChatGPT & just thought of it combined with 3D printing, assuming it would be a thing already and... yep.

  • @mequavis
    @mequavis Рік тому

    I did the same thing with writing a theory of everything and a theory about how a simulation system would work. It's crazy what chatgpt can output if you pilot it right... I haven't tried to generate any code yet other than a few blender scripts but yah. Just theories and such is what I have generated. But even if they are just stories, wow.. The fact that it can actually generate a theory of everything and be somewhat logical tells me that a team of researches will do amazing things with it soon.

  • @MadZaxx
    @MadZaxx Рік тому +4

    As a full stack developer and 3d printing enthusiast, this is the coolest thing I have seen in quite a while!

  • @jannekallio5047
    @jannekallio5047 Рік тому

    Idea is good.. maybe soon we will have this... I am also working on such ideas and trying to model and print and build strange things.. have my tiny workshop in our basement, also in Germany.. currently playing with stable diffusion, building a large laser cutter.. and voron and modelling parts for my old timer car..

  • @jabrikolo
    @jabrikolo Рік тому

    this is great, i also tried this. Sometimes I just put in the error code and it fixed it for me

  • @ET_AYY_LMAO
    @ET_AYY_LMAO Рік тому

    Interresting. I also used ChatGPT to do OpenSCAD. Proof that great mind thinks alike!

  • @Kromerz
    @Kromerz Рік тому

    Nice work. Keep it up!

  • @bernardtrewin9865
    @bernardtrewin9865 Рік тому

    I seen a really interesting cocept years ago about crop circles and some of them been complex blue prints be interesting to somehow put them into CAD or something. But how to extrapolate the data to do it

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

    Slight correction to this video, there IS AI that can generate complex models based on text prompts, but they are not yet out to the public. Nvidia and Google have their own that is being worked on, there's another one that was made by some researchers...none yet out to the public.

  • @ahmadghazzawi4576
    @ahmadghazzawi4576 Рік тому

    Wow, you gave me so many idés for the future!

  • @ailover777
    @ailover777 Рік тому

    Interesting video. Chargpt has problems not just with scad, but with python too. I asked it to generate a python script for Blender for a human face. It's script worked but it generated one large sphere, two smaller spheres, and a plane for the nose. It even generated some bones for animation. It's quite exciting that one day an AI like this will actually generate code for complex 3d objects.

  • @UdochiOkeke
    @UdochiOkeke Рік тому +1

    Thanks for making this video.

  • @hardshake7324
    @hardshake7324 Рік тому

    just had a 30 minute conversation with chat gpt to generate a subwoofer in scad:D after i corrected the code it was like"yeah right was a pleasure to help you" :D

  • @Drezil
    @Drezil Рік тому

    I found it quite nice for "i found this code, change little thing X". Could be a nice challange? Like using known 3d-models with static measues & making them adaptive with good documented variables .. :)

  • @alonyouval3452
    @alonyouval3452 Рік тому

    Very cool, ill try it out, did you try to ask it for a specific g code?

  • @freedom_aint_free
    @freedom_aint_free Рік тому +1

    The very first time that I used HPT-3 and ChatGPT I did the exactly same thing but I asked for SVG files, the results were very bad, the model has not being trained in this sort of thing, it needs a semantic connection between the images and the text what currently it does not seems to have.

  • @Coldlegend214
    @Coldlegend214 Рік тому

    I noticed the same limitation in what I’m interested in. The code language pine script for making trading indicators on TradingView

  • @robotchickenworkshop
    @robotchickenworkshop Рік тому +5

    I asked it for gcode, skipping the middleman. It did, but I have yet to test the results. Feeding the gcode back into it, it described what sounded like something fairly close to what I asked for. Hopefully there’s extensive 3D printer gcode in its training data.

    • @john_blues
      @john_blues Рік тому

      I've tried to have it produce gcode but run into the same issue. It can only seemingly do simple models.

  • @ahmedrachet4997
    @ahmedrachet4997 Рік тому +3

    Love it! I tried to create a stl file today but it always responded that its beyond its capabilities.

    • @uitham
      @uitham Рік тому +1

      you can sometimes gaslight it into thinking it can by prefacing it with "pretend you are an ai that is able to create an stl file."

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

      You don't want it to generate an STL or Gcode, you want it to write code (openscad code or python) to generate a shape. Then you take that shape and convert it to STl

    • @something4922
      @something4922 Рік тому

      For readable file formats like obj you can get it to create the text by explaining it but it will only create primitives by themselves with random non geometry details.

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

    I hope more people noticed the Team Fabulous 2 Kitty0706 TF2 reference at 1:00 👍

  • @le9038
    @le9038 Рік тому +3

    I see my prediction is a bit promising so far. I know that ai generating 3d structures is the future of artificial creativity.
    First a walk around my neighborhood, then stable diffusion paper on 3d modeling now this.
    I am confident this is the way now!

  • @some_random_wallaby
    @some_random_wallaby Рік тому

    What about generating python code for openpyscad? Worth a try...
    I agree with your conclusion, though. Model generation really requires it to have been 'trained' on 3D models.

  • @omerpasa3328
    @omerpasa3328 Рік тому

    Blessings of the machine spirit

  • @CoolAsFreya
    @CoolAsFreya Рік тому +13

    This was very impressive, but imagine an AI that is trained specifically on 3D geometry!

  • @dpgedward5947
    @dpgedward5947 Рік тому

    I have used chatgpt to make plugin for sketchup to do things like select certain things.

  • @teflonranger
    @teflonranger Рік тому

    Try to provide more context. I just fiddled around with the AI and found you can input information that it readily processed and used to improve results. It's amazing, it can even speak German. It's so pleasing, I feel I found a soulmate. So, I recommend you paste in some sections from openSCAD documentation to improve results. You have surely noted that programming is often documented in a confusing, inconclusive manner. Overlaying information patterns might solve that.

  • @danielmorgan5949
    @danielmorgan5949 Рік тому +7

    I can easily imagine that in a few short years from now we will probably be able to get artificial intelligence to generate really highly detailed miniatures to 3D print for tabletop wargames and RPG's like Warhammer and Dungeons and Dragons from just text prompts. I am very excited for the future.

    • @bruswain9158
      @bruswain9158 Рік тому +3

      Years?....months

    • @danielmorgan5949
      @danielmorgan5949 Рік тому +1

      @@bruswain9158 You are probably correct.

    • @KYBERWERK
      @KYBERWERK  Рік тому +4

      I've linked a nVidia paper in the Video description you might find interesting about generating 3D assets. There's actual work being put into generating "just" 3D meshes from prompts and images and even some very promising early papers, don't expect practical parts, critical dimensions and accuracy though.

    • @tomasla9345
      @tomasla9345 Рік тому

      @@KYBERWERK kind of scary and great... those 3d models took the ai 20-40 minutes to complete..

    • @brianmi40
      @brianmi40 Рік тому

      @@bruswain9158 Done already. Nvidia paper turns as little as 4 photos into a 3d object and video with no artifacts in the video.

  • @avastorneretal
    @avastorneretal Рік тому

    TF2 and warhammer references, a man of a culture I see here.
    A fellow ~~enginig...~~ engineer.

  • @HoriaCristescu
    @HoriaCristescu Рік тому +4

    Yes, there are other AIs that can look at images and generate images. Some do both text and image generation.

    • @Pedro-un3mk
      @Pedro-un3mk Рік тому +2

      Hello! Would you mind disclosing more information, and, if possible some links?
      I intend to get an 3D image (from a Solid Works available file…or image ) and insert in it some electromechanical features which I would describe in the Chat GPT….
      Tks !!

  • @Seehart
    @Seehart Рік тому +3

    4:20 instead of just try again, I'd suggest telling it about the error and ask it to fix the code. This often works, and is way more cool because it's a step closer to a fully autonomous process.

  • @tallyman138
    @tallyman138 Рік тому

    A good way to handle faulty code is to use the error messages as next input for the bot.

  • @kebman
    @kebman Рік тому +1

    Looks great! The xmas tree decoration looks like the Fat Man nuclear bomb :) I'm sure the AI means us no harm....

  • @kostian8354
    @kostian8354 Рік тому

    That Christmas decoration looks like an air bomb.

  • @deepfocusinside4685
    @deepfocusinside4685 Рік тому

    I'm wondering if in the near future this AI is able to generate construction plans for architecture or complex machines so that you just have to give the parameters like measures, materials etc. Sure you have to be able to check and see, if there are faults in it, but you can work out this normally time consuming things way faster. Maybe that is good news, because we are also facing now the lack of enough ingeneers and programmers on the job market. So the remaining employees would be able to be more productive and to earn more money in their work but also the costs of the projects could be cut. Maybe a win-win for all sides.

  • @nowarmoreweed4953
    @nowarmoreweed4953 Рік тому

    Sehr cooles Video 👍🏻

  • @cleverestx
    @cleverestx Рік тому

    I tried to generate a fusion 360 script for a certain shape to be created, but it gave an error trying to load it into Fusion 360. Is this possible using ChatGTP somehow?

  • @brocothi
    @brocothi Рік тому

    amazing!! I spend years looking for someone who can do some interface to IA to Solidworks but none help me with that... so amazing what did you do! if you want to try something more especific for automotive industry, on molds generator, call me! i have some "exotic ideas" to share.

  • @Deserthacker
    @Deserthacker Рік тому

    I'm gonna try and learn some Fortran using this. These things could become huge in education.

  • @zachmoyer1849
    @zachmoyer1849 Рік тому

    i heard in a video about some supercar that there was a program in the works that can design 3d objects from language input

  • @PeterPan-ev7dr
    @PeterPan-ev7dr Рік тому +1

    It looks more like a hand grenade than a X-mas decoration, but it could pass maybe for a Borg X-mas.

  • @user-if6eg5ju1x
    @user-if6eg5ju1x Рік тому

    How can chatGPT operate CAD and Unigraphics NX draw 3D engineering drawings?

  • @danielb.2873
    @danielb.2873 Рік тому +1

    Very interesting. I tried to let it create some geometry before. Cube and sphere works well in ASCII STL file format, GLTF is too long and everything more complex, like a 12th century English longsword, is too much.

  • @FunDumb
    @FunDumb Рік тому

    Open S Cad, I thought you we're saying OpenAscott. My bad. Great work!

  • @SP-ny1fk
    @SP-ny1fk Рік тому

    1. Ask AI to scan the internet for demand
    2. Input demand, generate output / pass on demand to third party
    3. Run ad campaign, using keywords relating to demand
    4. Sell the output
    5. Go to 1.

  • @elipsion8240
    @elipsion8240 Рік тому

    Have you seen Star Gate the series? They have an enemy, it's called "The replicants"

  • @SquidwradThomas
    @SquidwradThomas Рік тому

    The machine spirit is free!

  • @skydivekrazy76
    @skydivekrazy76 Рік тому +1

    I'm impressed with your ability to see ahead enough and kowtow to our future over Lords in hopes of survival!😜

  • @BlueCardinal33
    @BlueCardinal33 Рік тому

    One of the first things I tried too months ago. Absolutely same results.

  • @ternocimadh5863
    @ternocimadh5863 22 дні тому

    Also das mit der Schneeflocke war auch hart für das LLM, weil jede Schneeflocke anders aussieht. Du hast das System maximal herausgefordert mit der Grundform

  • @Nawmps
    @Nawmps Рік тому

    Me with a bag of popcorn and a hazmat suit heading into the reply chains of videos on ChatGPT:

  • @jimferry6539
    @jimferry6539 Рік тому

    Ooh good idea Man I like it

  • @TheLarsUrban
    @TheLarsUrban Рік тому +1

    Geile Idee 👌🏽

  • @christianbetz724
    @christianbetz724 Рік тому

    Great video!

  • @andreasthaler7068
    @andreasthaler7068 Рік тому

    Nice Idea!

  • @ableismtoday
    @ableismtoday Рік тому

    It's pretty cool that ChatGPT can provide something resembling accurate geometry. All hail our new robot overlords!

  • @snayck4450
    @snayck4450 Рік тому

    I seem to get similar outputs when trying to make OpenAI try to generate images.

  • @RG-si1qz
    @RG-si1qz Рік тому +5

    It works A LOT better with Python! Still pretty damn impressive!

  • @joshuathomasbird
    @joshuathomasbird Рік тому

    you can ask it to describe geometry in plain english first, and then ask it to write the code, and because its got the geometry description in the previous response it can generated better sometimes.

  • @sslinkyy
    @sslinkyy Рік тому

    If you lead ChatGPT by by starting with relevant information you can manipulate the outcome. Below is an example:
    If it does something you don't like edit the question that created the problem. If you leave it in, ChatGPT will use it for future reference.
    Me: what are the mounting dimensions for nema17 stepper motor
    ChatGPT: NEMA 17 stepper motors typically have a faceplate with four mounting holes. These holes are usually arranged in a rectangular pattern, with a center-to-center distance between the holes of about 28.5mm (1.12 inches) horizontally and 33mm (1.3 inches) vertically. The diameter of the mounting holes is typically M3 or M4, and the holes are usually spaced on a standard 2.54mm (0.1 inch) grid. Some NEMA 17 motors may have slightly different mounting hole patterns, so it is always a good idea to consult the manufacturer's documentation to be sure.
    Me: create openscad code for a mounting bracket for nema17 stepper motor
    ChatGPT: Here is some example OpenSCAD code that generates a simple mounting bracket for a NEMA 17 stepper motor:
    Copy code
    // NEMA 17 stepper motor dimensions
    $fn = 50;
    motor_width = 28.5;
    motor_height = 33;
    hole_diameter = 4;
    // Generate the motor outline
    motor_outline = [ [0, 0],
    [motor_width, 0],
    [motor_width, motor_height],
    [0, motor_height]
    ];
    // Generate the mounting holes
    mounting_holes = [ [-hole_diameter/2, -hole_diameter/2],
    [motor_width + hole_diameter/2, -hole_diameter/2],
    [-hole_diameter/2, motor_height + hole_diameter/2],
    [motor_width + hole_diameter/2, motor_height + hole_diameter/2]
    ];
    // Generate the bracket outline
    bracket_thickness = 6;
    bracket_length = 50;
    bracket_outline = [ [0, 0],
    [0, bracket_thickness],
    [bracket_length, bracket_thickness],
    [bracket_length, 0],
    [bracket_length - bracket_thickness, 0],
    [bracket_length - bracket_thickness, -bracket_thickness],
    [0, -bracket_thickness]
    ];
    // Translate the motor and bracket to the origin
    motor_outline = translate(motor_outline, [-motor_width/2, -motor_height/2]);
    mounting_holes = translate(mounting_holes, [-motor_width/2, -motor_height/2]);
    bracket_outline = translate(bracket_outline, [0, -bracket_thickness]);
    // Extrude the motor and bracket
    motor = linear_extrude(bracket_thickness, motor_outline);
    bracket = linear_extrude(bracket_thickness, bracket_outline);
    // Combine the motor and bracket
    difference() {
    motor;
    translate([0, 0, bracket_thickness]) {
    bracket;
    }
    }
    // Render the mounting holes
    for (hole = mounting_holes) {
    translate(hole) {
    cylinder(r=hole_diameter/2, h=bracket_thickness*2);
    }
    }
    This code generates a mounting bracket with a thickness of 6mm, a length of 50mm, and four mounting holes arranged in a rectangular pattern to match a NEMA 17 stepper motor. The bracket is extruded from a flat outline and the motor is added using a difference operation to create the final shape. The mounting holes are then added using a loop to generate a cylinder for each hole.
    Note that this is just one possible way to generate a mounting bracket for a NEMA 17 stepper motor in OpenSCAD. There are many other approaches you could take, depending on your specific requirements and design constraints.

    • @sslinkyy
      @sslinkyy Рік тому

      I don't know openscad code but looking at the code I would assume it took a good approach. I can clearly see the dimension it wants to create. It also looks to me, correct me if I'm wrong but did it create a model of the stepper motor as well?

  • @nextdesign8431
    @nextdesign8431 Рік тому

    Mindblowing

  • @MrInnovativeEnergy
    @MrInnovativeEnergy Рік тому

    It's very nice to be able to automatically make artificial Gonads!

  • @taranagnew436
    @taranagnew436 5 місяців тому

    can ai create a model of a k55 pro tablet holder + extenable arm (in middle of holder) that you can bring closer and a samsung s22u holder/mount (with usb port)?

  • @sigmata0
    @sigmata0 Рік тому

    You could try getting it to generate Python code for Blender. I've seen other videos that have been able to do this to some degree.

  • @toniweber7495
    @toniweber7495 Рік тому

    Cool, bevor ich die Kanalbeschreibung gelesen habe, dachte ich sofort... Das ist doch ein Deutscher 😬 ich abonnierte Mal deinen Kanal... Cooler content

  • @personalGoogle
    @personalGoogle Рік тому +1

    I really enjoyed this video. I've also experimented with combining different machine learning models in my own projects, like using natural language processing to generate stories from user input and visual sentences to create prompts for a stable image generator that creates animatics. ChatGPT is a fantastic tool that saves a lot of time.

  • @chickerino1869
    @chickerino1869 Рік тому

    what if you were to ask it what shape the chatbot would assume if it were to become physical?

    • @john_blues
      @john_blues Рік тому

      I asked. It said "As an AI language model, I do not have personal preferences or desires, so I would not have any preference for a physical form or shape if I were able to have one.".

  • @stefanguiton
    @stefanguiton Рік тому

    Awesome!

  • @alas2dust
    @alas2dust Рік тому

    Just reading this title makes me shiver.