Renerabbitt

Members
  • Posts

    4031
  • Joined

  • Last visited

Posts posted by Renerabbitt

  1. 3 hours ago, amddrafting said:

    Morning

    first off, mike is the man, love it when I get to read through his approach on anything macros...I believe he may still do ruby training so hit him up :)
    I would add in some variables in the beginning in case you ever expand your method and maybe some conditions.
     

    
    
    # Copyright Rabbitt Design 2024
    ##########################################################################################
    # Rabbitt Design assumes no liability for the accuracy of the occupancy calculations or 
    # any consequences arising from the use of this script. Users are responsible for verifying 
    # the appropriateness of the occupancy loads and ensuring the script functions as intended 
    # in their specific use case.
    ##########################################################################################
    
    #Use by putting a statement in your text box/polyline label/room_label
    #%$occupancy="Educational"%
    #Occupant Load:%occupancy_load%
    
    ##########################################################################################
    # Occupancy Load Constants
    # Note: Load values are in square feet per person
    OCCUPANCY_LOADS = {
      assembly: 15,    # Areas for public gatherings (e.g., auditoriums, dining areas)
      business: 100,   # Typical office spaces
      educational: 20, # Classrooms and educational facilities
      factory: 50,     # Industrial and manufacturing spaces
      high_hazard: 500,# High hazard areas with minimal occupancy
      institutional: 240, # Hospitals, care facilities
      mercantile: 30,  # Retail and sales floors
      residential: 200,# Living areas in residential settings
      storage: 300,    # Storage areas with limited occupancy
      utility: 500     # Miscellaneous and utility buildings
    }
    
    # Calculate Occupancy based on predefined occupancy type and defined area
    def calculate_occupancy(room_area)
      # Normalize occupancy type
      load_factor = OCCUPANCY_LOADS[$occupancy.downcase.to_sym] rescue nil
      if load_factor.nil?
        raise "Occupancy type '#{$occupancy}' is not defined or incorrect."
      end
    
      # Calculate occupancy
      occupancy = (room_area.to_f / load_factor).round
      occupancy
    end
    
    # Conditionally determine the room_area based on whether 'room' is defined
    room_area = if defined?(room)
                  room.internal_area
                elsif defined?(internal_area)
                  internal_area
                else
                  area  # Fallback to just 'area' if the other two are not available
                end
    
    # Call the function with room_area, assuming $occupancy is defined elsewhere
    final_occupancy = calculate_occupancy(room_area)
    final_occupancy  # This line implicitly outputs the result

    You could use this in your room label or in a text box or in a polyline label

    In either you could need:

    %$occupancy="Educational"%

    Occupant Load:%occupancy_load%


     

    For instance. this will set the appropriate variable call
    image.png.14f31ea5506cb456c1264888aa80e114.png

  2. 58 minutes ago, CAuserBarb said:

    reeded

    very challenging to do as you would need all door sizes in order to keep the reeds the same size when a cabinet is 24" wide vs 9" wide for instance. Best approach here is using a reeded material so that it is generative based on width

    • Upvote 1
  3. 14 minutes ago, flightcrazed said:

    That's probably my sloppy drawing :). Here's another view.  Highlighted area is what i'm tryna figure out. Can i put header above plates (so i don't reduce the headroom from 7'3")? And is 7'3" even reasonable for living quarters upstairs (the only living quarters in this building)?

    well, 6'8 is code minimum because its allowable...same height of clearance as a door which we all have to walkthrough.
    Without knowing the implications of the structural change its possible you could put a flush beam, consult an engineer. 

  4. 13 minutes ago, flightcrazed said:

    Thanks @Renerabbitt for the help here.  Sorry it's the white section with 7'6" measurement depicted here i'm struggling with.  The 7'6 is top of the plate, 7'3 would be bottom (of top). Do i need a header under that as well?  I'm nervous having such little head room as it is for moving furniture up the stairs.

     

    Much appreciated!

    This is a code minimum is what I am referring to:
    image.thumb.png.12c32110c635496f6823e745ae8f3b04.png
    It looks as if you have a structural support above your first riser which requires 6'8 min.
     

  5. 43 minutes ago, Michael_Gia said:

    I would gladly give up the ability to customize Toolbars if it meant the out of the box Toolbars would just stay put and not go all wonky on me. 
     

    I’m at my wits end with this crap. 
     

    I use keyboard shortcuts for most tools anyway. 
     

    Anyone willing to join the chorus on this rant? 

    haha, this is a mac problem only. I know Ryan Gardner has put in some serious time with chief for a patch

  6. 32 minutes ago, westvale said:

    I don't seem to be able to switch from auto exterior dimensions to auto interior dimensions... what am I missing?

    Screenshot 2024-04-17 at 10.20.08 AM.png

    take a look at what DB said or you can customize your toolbar and add the auto interior dimension tool

  7. 30 minutes ago, westvale said:

    Can anyone tell me what setting to change?

    I believe you might be using the auto exterior dimension tool as opposed to the auto interior dimensions tool. 
    For setting the auto interior dimensions tool, go to your active dimension defaults and change auto room settings to surfaces

  8. 25 minutes ago, agriffiths said:

    appreoiated

    please post your .plan file so we can take a look. Can't tell about the railing without seeing the plan though I have some guesses. For your stairs, draw the stairs using alternate draw mode(right mouse click) This will draw the stairs down, thus changing the reference elevation

  9. 20 minutes ago, agriffiths said:

    appreciated

    best if you post your plan file. The return roof plane has been moved so the baseline is not snapped to your main wall layer. There are some other things a bit off as well possibly. try posting the .plan

  10. 1 hour ago, wesdutka said:

    I have this problem where some of the foundation walls are transparent in cross section?  Not sure why...using X15.1505573877_crosssection.thumb.jpg.9d203ba094a8a96353fea5b4bd18255f.jpg

    Use the auto detail function. this is correct as you this is a cross section view and the cutting plane goes through your foundation walls. Auto detail will poulate a CAD polyline with fill that matches your settings for those walls.

  11. 2 hours ago, Cadwork22 said:

    I've been entering distance/angle in the input line command set as azimuth.  I've entered 3 points as seen in the image, when I input the third line it juts right.  I am trying to create a plot real quick for a client.

     

     

     

    azimuth.png

    didn't quite understand the question, can you explain the problem further?

  12. 1 hour ago, CDalton said:

    I have a complicated roof I am trying to draw and it is not working out.  Is there someone who could help me, I don't want them to do it, but help me through it so I can learn?  I am wiling to pay? 

    Certainly, although you might post your plan here so everyone could benefit from the guidance. Sometimes if a roof is simple enough we will do it and demonstrate the methods used in a video and share it back

  13. On 4/11/2024 at 3:45 PM, stevenyhof said:

    but I have also spent time building tools, solids, materials that help me where Chief's automation fails

    you should share these..as a community we come up with some pretty cool solutions but we have to know the problem :)
    I always love a good challenge

  14. Happy to take care of any of your Chief Macro needs. Custom conditional macros that drive custom schedules and much more.  Automatic and user configurable pricing systems, custom schedules, callout linking systems, external file based macros and much more. 
    image.thumb.png.5522eee6ed2869ebdea4e8312156222c.png

  15. 15 minutes ago, SLStructures said:

    I ended up clicking things and figuring it out. Haha. Camera was in Vector mode. 

     

    However maybe you can help me with anything issue. Trying to insert a floor covering and I can't. The kitchen isn't exactly a room, because one side is open. I tried doing "Floor Material Region" but still having a hard time putting in a floor covering. Not giving me the option when I click on my material. 

    would need to know more about this, a floor material region should work just fine or split your room with a room divider

  16. 19 minutes ago, SLStructures said:

    Evening!

     

    New user here to Chief! I have manage to design a kitchen and get through most of it. However, I can't get any "textures" to show. That cabinets I am picking wood grain colors and in the sample it shows the wood grain, but it doesn't show it on my 3D view. It's just showing "brown" color without the grain. 

     

    Also, same with the countertops. They are grey, but without the granite pattern to them. 

     

    Any assistance? 

     

    Thanks!

    you are either using a rendering mode or camera that is vector based or you have textures turned off. I am guessing the former. Which camera are you using?

  17. 38 minutes ago, VHampton said:

    Thank you Doug.

     

    Please excuse the delay in getting back.

     

    Your post was greatly appreciated. This is going to be a huge help in the future. 

     

    The project which I started the thread with got the ok by the municipality, but your precision script is all the better particularly since it hones in on the exact glazing.

     

    Much appreciated! - Val  

    That script wasnt quite all the way there, it was missing a lot of calcs. The following script is far more accurate but still wont work for shaped windows or custom muntins:
     

    Quote
    # Copyright Rabbitt Design 2024
    
    # Option to include a detailed breakdown as the very first line
    include_breakdown = true # Change this to false if the breakdown is not needed
    
    # Define a method to calculate the true area of glass considering the correct frame dimensions and muntin adjustments
    def calculate_true_glass_area_with_option(include_breakdown, width, height, frame_side_width, sash_side_width, sash_bottom_width, sash_top_width, muntin_width, num_lites_horizontal, num_lites_vertical, type)
      # Start building the breakdown explanation if required
      breakdown_explanation = "Detailed Breakdown:\n" if include_breakdown
    
      # Adjust for frame width for net dimensions
      net_width = width - (2 * frame_side_width)
      net_height = height - (frame_top_width + frame_bottom_width)
      
      if include_breakdown
        breakdown_explanation += "Adjusted net width: #{net_width}, Adjusted net height: #{net_height}\n"
      end
    
      # Initialize additional sash reduction variables as Measurement objects for consistent operation
      additional_sash_reduction_width = 0.in
      additional_sash_reduction_height = 0.in
    
      # Adjust for sash dimensions based on window type
      case type
      when 'Left Sliding', 'Right Sliding'
        additional_sash_reduction_width = sash_side_width
      when 'Single Casement', 'Double Casement', 'Triple Casement'
        extra_sashes = type == 'Single Casement' ? 0 : type == 'Double Casement' ? 1 : 2
        additional_sash_reduction_width = sash_side_width * extra_sashes
      when 'Double Hung', 'Single Hung'
        max_sash_width = [sash_bottom_width, sash_top_width].max
        additional_sash_reduction_height = max_sash_width
      end
    
      # Apply additional sash reductions
      net_width -= additional_sash_reduction_width
      net_height -= additional_sash_reduction_height
    
      if include_breakdown
        breakdown_explanation += "After sash adjustment - Width: #{net_width}, Height: #{net_height}\n"
      end
    
      # Calculate the initial glass area
      initial_glass_area = net_width * net_height
    
    # Adjust for muntins if applicable, correcting the unit compatibility issue
    if num_lites_horizontal > 0
        # For horizontal muntins, calculate the total reduction in area
        # The height adjustment for each muntin is its width; this needs to be multiplied by the total width it spans
        effective_width = width - (2 * frame_side_width)  # Total width spanned by the muntin
        if ['Left Sliding', 'Right Sliding', 'Double Casement'].include?(type)
            # Adjust for additional side sash width in certain window types
            effective_width -= sash_side_width
        end
        total_muntin_area_horizontal = muntin_width * effective_width
        # Instead of subtracting from net_height, we calculate area reduction directly
        net_area_reduction_horizontal = total_muntin_area_horizontal * num_lites_horizontal
        breakdown_explanation += "Area reduced by horizontal muntins: #{net_area_reduction_horizontal}\n" if include_breakdown
    else
        net_area_reduction_horizontal = 0.in * 0.in  # No reduction if no horizontal muntins
    end
    
    if num_lites_vertical > 0
        # For vertical muntins, calculate the total reduction in area
        effective_height = height - (frame_top_width + frame_bottom_width)
        if ['Double Hung', 'Single Hung'].include?(type)
            # Adjust for the larger of the top or bottom sash widths in hung windows
            effective_height -= [sash_bottom_width, sash_top_width].max
        end
        total_muntin_area_vertical = muntin_width * effective_height
        # Calculate area reduction directly
        net_area_reduction_vertical = total_muntin_area_vertical * num_lites_vertical
        breakdown_explanation += "Area reduced by vertical muntins: #{net_area_reduction_vertical}\n" if include_breakdown
    else
        net_area_reduction_vertical = 0.in * 0.in  # No reduction if no vertical muntins
    end
    
    # Calculate the initial glass area without muntin adjustments
    initial_glass_area = net_width * net_height
    
    # Adjust the initial glass area by subtracting the muntin area reductions
    adjusted_glass_area = initial_glass_area - net_area_reduction_horizontal - net_area_reduction_vertical
    
    # The corrected approach ensures compatibility by calculating area reductions directly and subtracting them from the total glass area
    if include_breakdown
        return breakdown_explanation + "Final adjusted glass area: #{adjusted_glass_area.round(2)}\n"
    else
        # If no breakdown is required, just return the adjusted final area
        return adjusted_glass_area.round(2)
    end
    
      if include_breakdown
        breakdown_explanation += "Final glass area: #{initial_glass_area}\n"
        return breakdown_explanation
      else
        # If no breakdown is required, just return the final area
        return initial_glass_area
      end
    end
    
    # Usage of the function with all needed parameters plus the include_breakdown option
    # Remember to replace the placeholders with actual values/measurement objects for width, height, etc.
    result = calculate_true_glass_area_with_option(include_breakdown, width, height, frame_side_width, sash_side_width, sash_bottom_width, sash_top_width, muntin_width, num_lites_horizontal, num_lites_vertical, type)
    
    # 'result' will either be a detailed breakdown (as a string) or the final glass area (as a measurement), depending on the include_breakdown flag.

     

  18. 17 minutes ago, flightcrazed said:

    Thanks @Renerabbitt!  Seems redundant to add the mesh in front of Cor-A-Vent and also have Vulcan so I'm not sure if that's a best practice. Perhaps just putting the mesh in front of the Cor-A-Vent is good enough? 

    well since you are making the argument, arguably if your substrate or insulation is not a combustible issue then the vulcan vent is your fire stop and should suffice as that is the "vent" to the building envelope

  19. 2 hours ago, GeneDavis said:

    Just watched one of @Renerabbitt's excellent YouTube videos, the one about numbering cabinets in install sequence to help with delivery and installation, and he shows towards the end how he has his fillers, a cabinet-category item type, in a separate schedule.

     

    He does not show how this separate schedule gets generated, and I'd like to know.

     

    In my example I want to schedule all bathroom cabinetry separately from kitchen.

     

    So, how does one do this?

    Fillers and partitions are there own category, so just remove them from the cabinet schedule and include them in another schedule but remove base/full/wall cabinets

  20. 32 minutes ago, stevenyhof said:

    I checked out streamyard, but is it simple for non video conferencing people to connect on their end? Seems it needs to be done in a browser and depending on their devise, what browser is best to use. Have you run into any issues with that?

    it doesnt have some features of zom, but easy to work with and yes just runs through a browser and they keep adding features