Sun hour analysis using Dynamo and Revit (no Ladybug)!

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 39

  • @Knook69
    @Knook69 ปีที่แล้ว +1

    Thanks a lot for this tutorial, I am happy to see you back!! Take care.

  • @victors.7717
    @victors.7717 ปีที่แล้ว

    Hi Gavin! Awesome tutorial! Thank you very much for sharing.

  • @byDevCreates
    @byDevCreates ปีที่แล้ว +1

    Great tutorial Gavin! Love the description of the video 😉

  • @stefanobennett105
    @stefanobennett105 5 หลายเดือนก่อน

    I am running into an issue where the sun hours report more than possible hours. I set the time range to be 02:00 and 21:00. Most are reported accurately with 13/14 upper limit hours which I verified with local data and summer solstice hours. However, when I do dynamo player and varying faces - I am seeing that the sun hours are 19/20, which can't be possible since the project isn't located in alaska... Also - my dynamo player is picking up bounces from other panels created :(

    • @stefanobennett105
      @stefanobennett105 5 หลายเดือนก่อน

      If it's important to note - I am doing this on pitched roofs - so the surface U/V isn't perfectly trimmed to match the surface profile

    • @AussieBIMGuru
      @AussieBIMGuru  5 หลายเดือนก่อน

      I would suggest visualizing the rays as lines to see what is happening as it sounds like an error caused by the sun angles.
      If you need to divide pitched surfaces you could try working at the plane of the surface although it's a bit different to my approach, would take some extra work beyond what I've covered here.

  • @lennonsc77
    @lennonsc77 ปีที่แล้ว +1

    Once again an awesome tutorial... 😀
    If you don't mind I have a question. I'm unfortunatly getting an error right in the first code block, and I'm really stuck. I have the Orchid package installed and it's apparently creating a conflict, "Multiple definitions for 'Curve' are found", and "Multiple definitions for 'Math' are found". Is there a way to fix this issue, Or do I have to remove the Orchid package?🤔 (p.s. I've already tried putting in "Autodesk.Designscript.Geometry.Curve.Length" and "DSCore.Math.Ceiling" as Dynamo suggested, but then the code block returns a null, and the Surface.PointAtParameter also subsequently can't work...)

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว

      Yes if the DS prefix isn't working then it may require an uninstallation - Orchid uses some classes with similar names that can cause ambiguity in code blocks.

    • @b_rodwell_SGP
      @b_rodwell_SGP ปีที่แล้ว

      Hi I think we are having the same issue I managed to resolve this earlier thanks to the help of ChatGPT and a little trial and error. The issue can lie with multiple packages which use Curve as a naming/ class type which is likely the reason the conflict or issue with how the "Curve" class was referenced, which led to the error we encountered. The code I am now using to get this to work is as below (Line 3 has been changed from Gavin's code in the video the rest I believe is as the Guru himself has shown)
      def GetParams(crv,s)
      {
      len = Autodesk.DesignScript.Geometry.Curve.get_Length(crv);
      inc = len/s;
      cei = Math.Ceiling(inc);
      spc1 = 1/cei;
      spc2 = len/cei;
      seq = spc1/2..1-spc1/2..#cei;
      return [seq,inc];
      };

  • @flaviabrega6162
    @flaviabrega6162 4 หลายเดือนก่อน

    Hi! Amazing, but could i use the same path and principles to calculate the natural luminance inside? Thank you!

    • @AussieBIMGuru
      @AussieBIMGuru  4 หลายเดือนก่อน

      Generally not so much as youd need to work with material properties and incident raybouncing. For that I'd suggest looking into Honeybee and Ladybug tools for Grasshopper.

  • @whddls3807
    @whddls3807 ปีที่แล้ว +1

    This is the one master!
    thank you

  • @udarasachinthana8506
    @udarasachinthana8506 ปีที่แล้ว

    Thank you for sharing this workflow. One question, how can we adopt this workflow to calculate daylight intensity inside the building?

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว +1

      Unfortunately daylight is far more complex and you would need to use an engine such as Radiance at this point. This is supported via Grasshopper/Ladybug, but Autodesk doesn't offer any detailed/accurate tools for this I believe.

  • @sonnguyenxuan685
    @sonnguyenxuan685 ปีที่แล้ว +2

    you're back ;)))

  • @byDevCreates
    @byDevCreates ปีที่แล้ว +1

    Have you also been looking at the Pollination tool by any chance?

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว

      Yes it's great for firms running regular perscribable or heavy studies. If we do more radiation studies I expect to use it more actively.

  • @AntonyNosehy
    @AntonyNosehy ปีที่แล้ว

    Great tutorial, Do you know how can I make ladybug work with dynamo and grasshopper or any package that can assume energy consumption ?

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว

      I believe the honeybee module for ladybug can conduct energy analysis. I havent used it a great deal personally but their website has some tutorials about this, as well as Phil Galvan's channel. Generally Dynamo wont be up to the task so maybe rhino inside revit and grasshopper could be.

    • @AntonyNosehy
      @AntonyNosehy ปีที่แล้ว

      Okay, I got it. could you please how to deal with rayBounce with points not elements as i'm working with parametric form not a modeled one.
      thanks!@@AussieBIMGuru

  • @marwanbeaino5377
    @marwanbeaino5377 ปีที่แล้ว

    Wonderful work Gavin, thanks so much for sharing this ! Have you considered building a script for an isovist analysis ?

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว

      Not currently as grasshopper does this quite well. They have one in the space analysis package for dynamo as well.

  • @ManpreetKaur-ty4ni
    @ManpreetKaur-ty4ni 9 หลายเดือนก่อน

    Hi Sir. Thank you for this video doing dynamo without ladybugs.
    I have one query. I was working on the Al Bahar building in Revit and Dynamo. I watched your video of the same building in Revit. However, I am not able to work on the sun path diagram and analysis since Ladybug doesn't work in Revit 2024. and this video shows an hour analysis. I want to know how can I do that movement of panels with sun movement in Revit and Dynamo.
    I am not able to get that video or related to it something that can solve the issue. Hope you will help me to figure it out.
    Thankyou in advance sir.

    • @AussieBIMGuru
      @AussieBIMGuru  9 หลายเดือนก่อน

      I will have a video on channel next week which shows a node in Crumple that can get the sun directions. This can be used instead of ladybug.

  • @adelehoushyari
    @adelehoushyari ปีที่แล้ว

    Hi Gavin
    I asked a question about it
    I did not understand what node you used to get the view from the sun vector 🙁
    Can you help me?

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว

      In this case I didn't use a dedicated node, I ended up using Python for that part of the workflow. The only way to get a sun vector is to ask a view for its sun direction, so the python node cycles through changing the time of day and getting the sun direction each time.

  • @b_rodwell_SGP
    @b_rodwell_SGP ปีที่แล้ว +2

    For anyone else following along and getting the multiple curves error message, this can occur for multiple packages being installed which call upon Curve as a class or function (don't quote me on that though) I have attached a revised version of the code below which solved the issue for me - hopefully you don't mind me posting this Mr BIM Guru :)
    def GetParams(crv,s)
    {
    len = Autodesk.DesignScript.Geometry.Curve.get_Length(crv);
    inc = len/s;
    cei = Math.Ceiling(inc);
    spc1 = 1/cei;
    spc2 = len/cei;
    seq = spc1/2..1-spc1/2..#cei;
    return [seq,inc];
    };

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว

      Thanks! Yes some packages borrow similar name spaces in design script such as Orchid so in that case writing the full function is needed.

  • @danielmimun8966
    @danielmimun8966 11 หลายเดือนก่อน

    Can you share the Python's script?

    • @AussieBIMGuru
      @AussieBIMGuru  11 หลายเดือนก่อน

      Its over on my github.

  • @Bdizzle304
    @Bdizzle304 ปีที่แล้ว

    is anyone having issues with the script deleting tiles when you run the script after running it before? Ive tried the script I wrote when watching along as well as Gavins script from Github. It worked perfectly for about a month and now its deleting tiles. Please help :(

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว

      Run it via dynamo player. Sounds like an element binding issue which happens if you create elements in a dynamo session.

    • @Bdizzle304
      @Bdizzle304 ปีที่แล้ว

      @@AussieBIMGuru thank you Gavin I'll give that a try and see if that resolves the issue. I was running via Pyrevit before as I'd set the script up on a custom toolbar. Would there be a way of avoiding the elements binding as I'd like to keep using this in practice via the pyrevit plug in we have set up

    • @AussieBIMGuru
      @AussieBIMGuru  ปีที่แล้ว

      @@Bdizzle304 replace all nodes that create elements, dont run in dynamo then run via player. I believe pyrevit unfortunately opens the script so that might be an issue too.