BrownTiger

Members
  • Posts

    739
  • Joined

  • Last visited

Posts posted by BrownTiger

  1. 
    
            def to_full_inches
    		self.round
    	end
    	
    	def to_full_ftin
    	    arr = self.round(0).divmod(12)
    		"#{arr[0]}'-#{arr[1].round}\"" 
    	end
    

    Last two methods to complete the class.

     

    So that entire ceiling_height:

     

    require "FloatExtended.rb"

    (ceiling_elevation-floor_elevation).to_full_ftin + " CLG.HT."

  2. Here is my class FloatExtended.rb to be placed into C:\Users\<name>\Documents\Chief Architect Premier X# Data\Scripts

    class Float
        def to_ftin(n=16)
    		arr = self.divmod(12)
      	    inch_frac = ((arr[1]-arr[1].floor)*n).round.quo(n)
    		result = case inch_frac
    		when Rational(1.0)
    			"#{arr[0]}'-#{arr[1].ceil}\""
    		when Rational(0.0)
    			"#{arr[0]}'-#{arr[1].floor}\""
    		else
    			"#{arr[0].floor}'-#{arr[1].floor} #{inch_frac}\""
    		end
    		result
        end
    	
    	def to_inches(n=8)
      	    inch_frac = ((self-self.floor)*n).round.quo(n)
    		result = case inch_frac
    		when Rational(1.0)
    			"#{self.ceil}\""
    		when Rational(0.0)
    			"#{self.floor}\""
    		else
    			"#{self.floor} #{inch_frac}\""
    		end
    		result
    	end
    end
     

    Using it is very simple, this macro would be two liner.

     

    require "FloatExtended.rb"

    width.to_ftin

     

    or

    209.to_ftin

     

    For your case the line "#{self.floor} #{inch_frac}\"" needs to be changed into "#{self.floor}" + "/" + "#{inch_frac}\""

  3. You can not block walls.

     

    You can select exterior walls with roof planes and rotate them as much as you want. Attached windows and doors will move with the structure.

     

    I do not build foundation until the end after roof planes are set, software in general does good job deriving the foundation. 

  4. Dragging one to the next to eliminate it will work but it can be hard to get it to do that at times.

     

    I have his on my pet peeves list. Chief: Fix this so it is easier to drag collapse, or adjust dimensions. And this rectange does not oddly moves sideways....

  5. >Characters in a string are numbered 0,1,2,3,4,5......

     

    Techncally these are not "characters", it is an array. ...and  divmod produces array of a quotient and modulus. 

    There are typed as Float's.

     

    See

        http://ruby-doc.org/core-2.3.0/Numeric.html#method-i-divmod

     

    One can also do

     

    a,b = width.round.divmod(12)

     

    I recommend you to create your own extended class Float and save it into 'FloatExtended.rb' under Documents\ChiefArchitect v8\scripts. This will allow You instead of putting dreaded logic in every macro to use include file... 

     

    require 'FloatExtended.rb'

    //after that you couldimmediately use...

    width.to_ftin(16) 

    //instead of a giant macro you now can use one liner

  6. Thank you

     

    Obviously if you have 48 ft wall that should be framed in sections of 12', chief architect under-counts 3 studs in addition to likely to report 2 x fir plate 48' or 1 x pt fir plate. (not sure) If I am framing in length of 8' - it will under-counts 5 studs / per wall. 

     

    Chief really need to allow to specify wall framing section length.  And draw it on the model.

     

     

    Here is Buy List... 

     

     

    post-4512-0-91443000-1459189997_thumb.jpg

     

     

    >And I'm not sure what you mean by framing looking "way not realistic".

     

    When was last time you have seen a house framed with 46' sections of wall.  Would it be stable enough to lift. Where would builder get 46' 3" fur plate?

     

     

     

  7. This is something that is probably easy..

     

    1) How can I tell Chief architect to frame 46' wall into 96" sections. And because estimating lumber part is not estimating properly.

     

    In addition framing looks way not realistic.

     

    2) If I move windows header 1.5" from the top plate, would Chief architect figure out to use solid 2x4 or 2x6 instead of top cripples?

     

    B

  8. >Set stud spacing through Build Framing dbx.  Select the desired wall(s), Build Framing For Selected Object(s), open Wall Specification dbx, click on Structure tab and check Retain Wall Framing. 

     

    I did not like that method at all. It would require building a few walls at a time. No way to identify that the walls had a different spacing.

    (This is my hobby, I do not sell plans, however all my houzz/castles structures are sound). 

     

    Defining the wall type using textures is a way to go. Not only it allows me to specify stud spacing but also gives the ability to specify a color on the plan.

     

    Thank you, thank you, thank you.

  9. Thank you 

     

    Very odd. Yes you are 100% correct, one can define either 16" or 24" spacing using texture field, defining new wall type 2x4 Fir stud 24". Great.

    I have no issue with the concept that 16" and 24" wall have different wall types.

     

    But you only have choice over fir stud 16" or fir stud 24". Try interior 4 @ 19.2 o.c.? How about 12" o.c. (Softplan does this)

     

    Also chief has the type "Fir framing", but does not seems to understand what fir framing is or may be it is me....?

     

    B

     

    post-4512-0-69053000-1459123721_thumb.jpg

     

     

    post-4512-0-62755800-1459124479_thumb.jpg

  10. Can you specify that two story wall to be [auto] framed @24" o.c.[because of 2x6s]  unlike other load bearing walls that framed at 16" [2x4]. Like where straight  2x4 x 20' not available. Can you specify that some internal wall should be framed at 19.2" o.c. or even 24" so that duct-work can be run inside.  

     

    Just curious.

  11. They should all be on Electrical layer set using electrical annotation. There all other symbols, dimensions, roof planes, furniture, framing, etc details should be turned off. [i keep furniture on during the design]

     

    Same I never turn on electrical on the default layer set. Layout dedicate separate page or two to electrical.