Making chainsaw robot, carving logs

3.1M views287

    Check out for 50% off your first month of any crate!
    The robot arm I used:
    Please consider supporting these projects through my patreon:
    When I was offered the opportunity to beta test an upcoming robotic arm from Tormach, I knew exactly what I wanted to do with it. CNC chainsaws baybeeeeee. Aside from being fundamentally awesome, it is a very interesting software problem. Since I didn't have to build the arm I was able to focus the project and the video on the software challenges of making something like this work. Thank goodness I didn't have to build the arm because the software almost killed me. I can imagine all kinds of next steps for this creation like machining textures with the chainsaw or cutting topiaries. I hope you like it!
    * Low Polygon Labrador Model:
    * RRT GIF:
    Other great things (your purchase helps support this channel):
    * I use a glowforge pro for rapid prototyping and it's great. You can $500 off a Glowforge pro here:

    Published on 13 days ago


    1. Stuff Made Here

      Hope you enjoy this robot as much as I do 🙂. A big thanks to everyone who helps to make these projects possible through their patreon support. If you'd like to help me make more projects like this (and get more behind the scenes content, an AWESOME discord, livestreams, etc) check out

      1. Steve J

        Hey, you should try an offset grinder with the chainsaw blade. You could probably do more intricate cuts. Just a thought. I could NEVER figure out how to do all that you did.

      2. HACKS. GEAR

      3. HACKS. GEAR

      4. Michael McGregor

        Your videos are awesome! Idea: Mirroring programming While the saw is attached to the arm, have a zero point. Have a professional carver carve something while the arm records the movements. Once they are done, save the the program. Now, every time you place the log and robot arm at zero, you can just run that program... would be awesome! Mass produce famous carvers works at a fraction of the price.

      5. Michael McGregor

        Your videos are awesome! Idea: Mirroring programming While the saw is attached to the arm, have a zero point. Have a professional carver carve something while the arm records the movements. Once they are done, save the the program. Now, every time you place the log and robot arm at zero, you can just run that program... would be awesome! Mass produce famous carvers works at a fraction of the price.

    2. Roma Belov

      а она сама себе харакири не сделает пока будет что то выпиливать?

    3. JustOneAsbesto

      I think you mistitled the video. It should be called "Haircut robot v 2.0"

    4. Mirnich 10

      For whenever or never you will make dog from a log you miss two key things... Lubrication to the chain (that is why it was heating) and different chainsaw bar shape. It is funny how we always try to predict all small details and forget something major (still can't believe you tried to cut wood without oil).

    5. Kamala Nenavath

      I love it

    6. Stephen Cervantes

      Hey why don’t you turn the saw vertically. That’s how lots of the cuts are made when humans do chainsaw log art ? It would solve issues for getting into those tight spaces you have when the saw blade is turned horizontally. Like maybe you start horizontal get off the bulk then rotate for the detail .. let me know if you think this is a good idea ! :)

    7. random crap

      When’s the collab with lpl and your lock

    8. Mark Pulver

      ___ wow ___ super cool. Well Done Sir!

    9. A O

      I can't believe the wife is impressed

    10. Gareth Jones


    11. Christian Buzzio

      Hi! One very common way to overcome the non-global maximum search is to add simulated annealing, it follows the same principle as the annealing of metals by adding some randomness to the calculation of the gradient descent (or ascent, it depends on how you pose your problem) in such a way that some times the optimizer makes a decision against what would be optimum locally.

    12. robdude1969

      14:30 - thumbs up if you roll USfilm while you work.... how else do you think I found this video?!?!

    13. MrJacobegg

      With as many comments as this has, I'm guessing you won't see those but, in the off chance you do: look into Particle Swarm Optimization to help with your problem of getting stuck in local maxima. PSO will sample tens to thousands of points from your vector space, in a single run, then moves all of those points around in the problem space for some configurable period of time, eventually converging around the collective swarm memory of the lowest (or highest) point observed by any member of the swarm. This helps avoid the problem of tunnel vision from sampling a single point in each run, as with gradient descent. You can also combine PSO with gradient descent (or ascent) to get the best of both worlds.

    14. YanTing Cheng

      If a kid likes video games, is Kiwico gonna give a gaming station? LOL

    15. Derek Jones

      I love how you assume people will not be paying attention to your speaking to look at the hilarious web pages you have opened up xD. Keep up the good work!

    16. Trion3

      man im impressed of what he managed to get programed automatically speaking as someone who works with robots every day. i do have some thoughts on things you might want to look in to if it is possible to do on that robot, and that is 1) defining the shape of the tool that the robot is using and 2) defining the work space of the robot, that is setting limits on where the robot is allowed to move to

    17. Filip Milojevic

      This is the first thing you've made that really needs a LOTO system

    18. daniel diaz

      Where did this man went to college? He is my life idol of engineering

    19. KaitharVideo

      Remember that time you build a robot that waved sharp implements near your head? *watches the chainsaw robot stab things* yeaaaah

    20. AcidDaBomb

      I want one, but they are expensive, and I can make a worse one for free, all I need is thousands of dollars of equipment.

    21. Nate Hill

      I will be really impressed if you parked that helicopter there using the R/C...

    22. John Brock

      I'm a 30-year mechanical and electrical/software engineer and I continue to be amazed by your breadth of knowledge and ability. Thank you for showing the world what a knowledge of math and science and fun can bring to our lives.

    23. EnergyWolff

      Can you give us a update on your lock for the lock picking lawyer 🥺

    24. Real Change

      This dude right here makes science cool and nerds manly

    25. Fred Scott

      could lose an arm.

    26. Michael

      “They call a cheater, when you have a bolt that’s really stuck, you get way out here... and snap your wrench in half” 😆 wasn’t expecting you to say that but that is a possibility

    27. Gary Gilbenson

      "if i tell it stab yourself in the face, it'll do it!" _processing request_ "what sto-"

    28. Edwin Reyes

      My first video and am loving every minute of it

    29. Korey M

      nice to know we won't be replaced by machines any time soon. additionally it's interesting to see the difference. i'm a software guy so seeing the hardware side of things is fun. the chainsaw was designed by Man for Man. i wonder what a chainsaw designed for a robotic arm would look like.

    30. Christopher Mattera

      I saw you write TWERK when talking about guessing passwords, don’t think you got away with that😁

    31. Korey M

      next time someone asks me about 3d printers and how they work i will tell them to watch this. great example of Gcode!

    32. Jax

      "mark rober on steroids"

    33. Chris Douglas

      you should do a few more carvings with the saw and make the montages into youtube shorts. it would be a great way to quickly grow your channel even more

    34. Richard Pellegrino

      Shane, did I understand you that you employed some sort of auto-optimization for your python? I have never heard of this and a popular internet search engine didn't bring up anything I prob. misunderstood.

    35. Explosion Implosion

      16:33 lol "Fortunately I know a guy with a tree"

    36. Dylan Turney

      i mean, why *NOT* give a robot a chainsaw

    37. roboknight

      That is amazing. Man, there ARE so many ways that must've gone wrong off camera.

    38. medopop2010

      I really want for you to make coding courses channel it would be amazing As I am very interested in the code behind and the algorithm that made these videos happen

    39. Telmo Pena

      Which language do you use to write the code?

    40. Anon nomous

      Does anybody know which iOS app he using for drawing and writing?

    41. Aldreius

      Spend more than 2000 bucks in equipments for saving 2000 bucks of a wood bear, brilliant !

    42. Tony Notstated

      I thought I had a cool shop.

    43. Matthew Heiskell

      Use that robo arm to film some cool camera angles!

    44. kyle zindel

      what monitor/device is he using at 11:27

    45. Kyle Jessop

      "And that's when you get way out here, and break your wrench in half" Sounds like a solid Idea to me!

    46. Raymond Strydom

      What if it were rather a circular saw in place the chainsaw?

    47. nabanitus

      Waiting a robot arm chainsaw haircut.

    48. Ishrat Begum Shaikh

      But can they make robots to make oxygen?

    49. TanK

      I want a workshop like you so that I can spend all my time doing what I love.

    50. Damazy Włodarczyk

      How about the lock? You didn't do shit about it.

    51. Manic141

      I dont like how your chainsaw robot video suggests I watch your haircut machine video. Hahaha

    52. The Beyonder

      We need a horror movie " called killer chainsaw robot "

    53. 36. Yazid Rizki Kurniawan

      Make a drone that will always follow you around on your back so you can unlock third-person perspective

    54. Federico Musci

      and the unpikeable lock?

    55. Skullboy 066

      when you sending the lock to lock picking lawyer ?

    56. Francis Balfour

      6:14 Jackknife* sorry but it bothered me

    57. Edmund Michał

      you cut foam with hot rod

    58. Gies Anthonissen

      what software do you use to program your robots? very Nice videos man!👍

    59. Ace Shott

      Looks like a pile Of shit

    60. Chris Lawrence

      Might I suggest an active suspension R/C truck for a future project? Maybe something like this

    61. Skemooo

      what is teh app/tool he uses to draw on tablet?

    62. Pitbull Gamer81

      Did you have chain oil that might be why it got hot

    63. Jim Marriott

      An E Stop button is never enough safety to go into an industrial kill zone.

    64. Jon France

      When talking about gradient ascent, you reminded me of basically everything I learned about in computational logic. There are *huge* swaths of documentation in the AI field about avoiding local minima (or in your case, local maxima). Dunno how much that would have helped you (or if you already knew) but that would be a great place to look in future endeavors.

    65. Clean Cuts Trees

      Your chainsaw needs oil... dont file down the rakers/depth gague's it wont help I promise

    66. Stephen Southard

      with all this effort you might as well have learned how to carve it yourself. all the same this is really cool to see

    67. La Cai

      im Jelly bout all yar toys at basement! 2020 man cave! ya do have a fridge whit beer in it? that tradition cant be dumped, Billiard table to Robo arm is a good swap!

    68. Viro

      Just task Google AI to figure out the best way to do this

    69. Full Name

      How can I learn to make stuff like you do? This is incredible.

    70. Catharsis

      Awesome sponsorship! I got a 3 month sub for my cousin! Keep it up, excited for the next video

    71. Emilio Roman

      why not put your camera there for some serious broll shots.

    72. skyracer2012

      If you would not port your python code to c++ and use multiple threads you could do it in 1 minute ro so

    73. Evan Noyes

      This was painful to watch. Take down your rakers and sharpen your saw. Chain was probably too tight too

    74. Ryan Chenier-Poulin

      Sounds so monotoned... even the wife rubs off on it lol

    75. Mark Evitts

      use it as a sacrificial mold!

    76. CarEnthusiast

      This is a perfect example of how the robot's productivity gains get eaten up by the amount of programming time. Even manufacturing at factories tends to utilize more than one process to get to the end product.

    77. Annette Texas In particolare, il costante supporto informativo e propagandistico delle nostre attivita risolve in modo inequivocabile la necessita di esperimenti che colpiscono per scala e grandezza. Prima di tutto, la teoria esistente rivela un'urgente necessita di rafforzare i valori morali. La teoria esistente, cosi come un nuovo sguardo alle cose familiari, apre certamente nuovi orizzonti per i compiti fissati dalla societa. Conclusioni banali ma inconfutabili, cosi come prototipi interattivi sono solo un metodo di partecipazione politica e sono stati oggetto di tutta una serie di studi indipendenti.. A experiencia rica e diversificada nos diz que o pensamento racional, diluido em uma boa dose de empatia, exige que analisemos o sistema participativo! O ponto de vista oposto implica que os defensores do totalitarismo na ciencia sejam descritos com o maximo de detalhes possivel. Por outro lado, elevar o nivel de consciencia civica oferece amplas oportunidades para decisoes conceituais autossuficientes e externamente dependentes. Os defensores do totalitarismo na ciencia, superando a dificil situacao economica atual, estao unidos em grupos inteiros de sua propria especie.

    78. just_here to_nap

      Why use a chainsaw at all and not some other more maneuverable wood carving tool

    79. kalhoon

      try a grinder with a wood file disk

    80. Keyaneth Solen

      You are great. I love your videos. I also want one of those arms.

    81. B Ward

      shouldve made a robot arm for the log instead

    82. Филипп Здоров

      Hey, the idea of gradient descent is good. Of cource you can reach some local maximums. But you can try to make many attempts of starting positions and look which will be better

    83. Addison Huy

      Amazing truly job well done.

    84. 13loodyDove

      I'd love to see you tackle fishing. Maybe a self casting, bite detect, and auto real fishing rod. All auto.

    85. Matthew Cecil

      Your chain saw is overheating do to lack of lubrication. Also not professing to be an expert at robotics, but where j work he have huge fixtures mounted on robots and you just have to tell the robot where the new tool center point is wether it is 6 foot off the arm or 6 inches, the robot will move accordingly to that point.

    86. Poeder Ruiker

      What's the music around 1 minute?

    87. Efajigaloop The First

      Have you considered using an air motor for the saw? This should help offload weight from the saw. Also I don't know enough about your workflow here to say for sure, but I know most robot control software allows you to define tools, which could help prevent the "why are you hitting yourself" issue

    88. Thomas Shaddox

      My favorite and most unexpected of the problems was "it turns out that chainsaws can't cut wood."

    89. simon stucki

      wow you sure pick some big hard projects! I admire you perseverance! Also I think you need to file down the anti kickback tooth a bit and maybe sharpen the chainsaw if it doesn't cut wood...

    90. Past Blaster

      17:17 ........Those parts in front of the cutting tooth are called rakers and they need to be progressively shortened as the cutter is filed since the cutter is angled and gets shorter as it is filed .......Time to sharpen the saw basically ................

    91. Sasha black

      This guys inspirational 🤞

    92. Beingshort101

      Make a CNC tattoo thing

    93. Kai Wacker

      He should have a bought a STIHL saw, nit that bullshit ;-)

    94. Barron Cohen2

      You should try to make a self stabilizing bike like that old google April fools video. Probably by using gyros and flywheels.

    95. Knocks Tea

      I know for a fact that time travelling is impossible. SMH would've made a video by now if it was!

    96. Honza Kašík

      I think you could waste less time with unit tests...

    97. Ira Chandler

      Amazing. 22:27 well spent.

    98. Hein Van Gerve

      Great idea. Get a carving bar and chain for the chainsaw. Much smaller tip and shorter

    99. superpole78

      it's amazing how you approach problems from different points of view, until you find the best solution... :)

    100. Rob Rotella

      Awesome video! You need to lubricate and tighten that chain! Also consider removing a few thousandths from the rakers for a faster cut.