Learn Python for Grasshopper - Full Course for Beginners - Free

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 79

  • @marialuizagomestorres6875
    @marialuizagomestorres6875 2 года назад +10

    by far one of the best tutorials ever of python in grasshopper thank you so much!! looking forward for a full course! Would totally invest in one!

  • @martinohnmacht7979
    @martinohnmacht7979 2 года назад +5

    Please!!! More of these Tutorials! It makes so much fun and you've the talent to teaching it great!!! Thanks for this video.

    • @KarlSingline
      @KarlSingline  2 года назад +3

      You're welcome. Glad it helped.

  • @bakurigogua8042
    @bakurigogua8042 Год назад +1

    It is a very useful and comprehensive tutorial indeed. Thx Karl. Please, keep up doing tutorials like this(Python for GH).

  • @naitiksharma9728
    @naitiksharma9728 Год назад +1

    Thank you for this video, would love to see more on Python for Grasshopper

  • @nikolaliang9173
    @nikolaliang9173 25 дней назад

    Thank you for your tutorial! It helps a lot😁

  • @MarcsYoutube
    @MarcsYoutube 2 года назад +1

    Nice, you have my Game of Life component installed. I always wondered, whether anybody even tried it. Now I know!
    Great introductory video, Karl. Châpeau!

    • @KarlSingline
      @KarlSingline  2 года назад +1

      Ah I wondered if you subscribed.. funny thing is, I've written my own GoL script to follow this one and found yours while researching.. like 2 years ago. Ha ha.

    • @MarcsYoutube
      @MarcsYoutube 2 года назад +1

      @@KarlSingline I've been a long time subscriber. ;)

  • @JT11111
    @JT11111 5 месяцев назад +3

    Karl I asked chatGPT and it said to import rhino as rh then the first line of baker function write sc.doc = rh.RhinoDoc.ActiveDoc and it worked, but idk why that is

  • @marcinbrzezicki1860
    @marcinbrzezicki1860 2 года назад +1

    Thank you for this tutorial. This was my first contact with python is gh, and it seems it was a really compressed tutorial.

    • @KarlSingline
      @KarlSingline  2 года назад

      Glad it was helpful!

    • @mariaopatek3330
      @mariaopatek3330 2 года назад +1

      Well said! Greetings from Politechnika Wrocławska!

  • @bdeconcept383
    @bdeconcept383 2 года назад +2

    I was looking for that, this is gold! thank you

  • @quarkmax9426
    @quarkmax9426 2 года назад +1

    太棒了,这个视频让我如此开心,非常感谢!

  • @untuckedshirts
    @untuckedshirts 2 года назад +4

    Love the chapter markers, thank you!

  • @Architect54
    @Architect54 Год назад

    You are the best Karl. Thank you so much. Can you please prepare videos on attractors and space syntax... Thanks again

  • @mendavenda
    @mendavenda Год назад

    Wow, Karl. This intro was superb, I’d really like to see more. If you ever create a Udemy course or similar - let us know!

    • @KarlSingline
      @KarlSingline  Год назад +1

      Very soon!

    • @mendavenda
      @mendavenda Год назад

      Glad to hear it! Adding you on LinkedIn, in order to stay in the know!
      Where will you be hosting the course?
      Regards David

  • @yilangliang5208
    @yilangliang5208 2 года назад +1

    This is really cool and well introduced :))) TYTY

  • @paco9207
    @paco9207 2 года назад +1

    Thank you for the concise turorial, Karl! To build on what you covered I would like to learn how to access, read and manage list and data tree input to python components. Also, I do not understand the syntax of Rhino common or other libraries yet. While after lots of research I assume it has something to do with classes, to begin with it is dificult to differentiate between methods and instances and how to use them. In contrast to the well documented scriptsyntax, I am lost in the Rhino API. I subscribed in hope for an advanced tutorial.

  • @elsapaemen1242
    @elsapaemen1242 Год назад

    50:24 Hi, thanks for thé tutorial, however I keep getting a SyntaxError when trying to append the geometry list. It says: ‘unexpected token ‘geo’. Do you know what the reason is? I did define the geo as an empty list but it doesn’t seem to recognize it…

    • @KarlSingline
      @KarlSingline  Год назад

      Hmm, hard to say without seeing the code.. are you sure you don't have a typo and the empty list is created before the for loop?

  • @jakubwlodarz
    @jakubwlodarz Год назад

    That's IT!!! THANK YOU soo MUCH!

  • @adebar875
    @adebar875 Год назад +2

    Great Stuff... Got an Error on Rhino 7 when trying the bake function. It didn't bake anything and when I close Rhino and Grasshopper I got an Error Message saying it couldn't load scriptcontext. Doesn't seem to be an unusual error, you can find some similar posts on different forums but none is clearly soluted.
    Anyway, thanks a lot!

    • @topspap
      @topspap 10 месяцев назад

      Hi, i'm facing the same problem, Nothing is being baked!!. Did you find a solution to it ?

    • @thefractalends7971
      @thefractalends7971 7 месяцев назад

      @@topspap Add this line of code in the baker() function
      sc.doc = Rhino.RhinoDoc.ActiveDoc
      the whole baker() function is now this:
      def baker():
      for k in range(len(geo)):
      brep = rg.Brep.CreateFromBox(geo[k])
      attr = rd.ObjectAttributes()
      attr.ColorSource = rd.ObjectColorSource.ColorFromObject
      attr.ObjectColor = color[k]
      sc.doc = Rhino.RhinoDoc.ActiveDoc
      sc.doc.Objects.AddBrep(brep,attr)
      I had the same problem, then it worked after I added that line of code in the function. I use the variable color instead of colour, but that was just for preference.

    • @thefractalends7971
      @thefractalends7971 7 месяцев назад

      import Rhino first

  • @poulet9560
    @poulet9560 2 года назад +2

    Dear Karl, it is a really useful tutorial. Nevertheless I faced an issue while I was trying to bake as you do it. The code was not crashing but nothing was happening. I manage to get it working by adding 2 simple lines. By looking to your screen, it looks like you have a "live update" of your geometry when you move the attractor point in Rhino. How do you do that? On my side the update is done only when I release the point... Is this linked to a grasshopper setting? Is this can explain why I had to add extra script lines? Thank you in advance for your answer.

    • @KarlSingline
      @KarlSingline  2 года назад

      what time in the video are you talking about

    • @poulet9560
      @poulet9560 2 года назад

      @@KarlSingline around 57:10 for example , when you move the gumball. On my side, the model is changing only when I release the attractor point (gumball), not in real time. Is there a setting somewhere to be selected to get real time update in gh?

    • @KarlSingline
      @KarlSingline  2 года назад

      I don't change any settings outside whats shown in the video. Are you using Rhino 6 or 7, I'm on latest build 7..

    • @poulet9560
      @poulet9560 2 года назад

      @@KarlSingline I am on Rhino 7 as well. Interesting! I will dig a bit more ;-)

    • @KarlSingline
      @KarlSingline  2 года назад

      @@poulet9560 did you make the point via "reference a point"?

  • @islandersean2213
    @islandersean2213 2 года назад

    Any online classes I can sign up to learn grasshopper. Thanks

  • @stefanguiton
    @stefanguiton 4 месяца назад

    Excellent

  • @yutakared338
    @yutakared338 Год назад

    hi Karl, great work thank you! Could you let me know why my color of point are black even with the custom preview used? thanks!

  • @HammerTho
    @HammerTho 2 года назад

    How to get the exstra line in Grasshopper and put the icon there?

    • @KarlSingline
      @KarlSingline  2 года назад

      Not sure exactly what you are asking?

    • @HammerTho
      @HammerTho 2 года назад

      @@KarlSingline Sorry, my english. You show icon on York pythonobject and as a programicon up top on menu. How do yoy make your own menu and place the icon?

    • @KarlSingline
      @KarlSingline  2 года назад +1

      @@HammerTho you can click and drag any 24x24 png onto the python component to give it its own icon

  • @BMBijoutiers
    @BMBijoutiers 2 года назад

    Thank's a lot really helpful...and i love Tasmania

  • @codedvoxels
    @codedvoxels 2 года назад

    Great intro !

  • @peterpen5415
    @peterpen5415 2 года назад

    Thank you, it''s help me a lot

  • @jonkrusell372
    @jonkrusell372 2 года назад

    Super useful!

  • @jonathanhutchinson5649
    @jonathanhutchinson5649 2 года назад +5

    Karl, this is a great video. I still feel that content wise Rhino + Python is light on the ground, especially when it comes to bridging the gap from beginner to being a more autonomous programmer. Things which you cover like script context to bake out the object isn’t really documented so well, and that need to go from GUID to ObjRef. Would you do more pure Rhinocommon for Rhino stuff? Creating in depth commands etc?

  • @Esiddig
    @Esiddig 2 года назад

    Hi , I followed your tutorial , but there is something not working

    • @alvarobalderramac
      @alvarobalderramac Год назад

      same here. is it an error saying object has no attrubute 'append'..

    • @daydarasensei12
      @daydarasensei12 Год назад

      @@alvarobalderramac append is native to python so there is no way it is what's causing your bug. did you import all libraries correctly?

  • @ethereal-fortress39
    @ethereal-fortress39 Год назад

    be cool to see how GPT can work with this to do some more complex geometry ..

  • @rhinoceros-f8s
    @rhinoceros-f8s Год назад

    It was awesome. Thank you so much...

    • @KarlSingline
      @KarlSingline  Год назад

      I’m working on a new online course for the new python in Rhino 8.

  • @JT11111
    @JT11111 5 месяцев назад +2

    Karl its not baking

  • @JT11111
    @JT11111 5 месяцев назад +3

    Karl its really not baking here

  • @daydarasensei12
    @daydarasensei12 Год назад

    I wonder what your definition of "beginner" is tbh lol. I know some python already and still I could barely keep up with you.
    Good work anyway.