• Content Count

  • Joined

  • Last visited

Community Reputation

72 Excellent

About BrownTiger

  • Rank

Profile Information

  • Gender
  • Location
    Land of Eves
  • Interests
    3D models
    BS EE, MS CS
    Hardware VLSI Design, Android / IOS
    C++, WTL, STL, QT, Kernel, Boost, SmartCards,
    ADF, Oracle, MySQL, Java, Ruby, Python,

Recent Profile Visitors

751 profile views
  1. BrownTiger

    Macro ir Ruby

    I am sorry, I type and fix staff faster than I think, so must have fixed it even without noticing. It took whole 3 minutes to create these demo plans. >ConvertToFeetInches(height.to_f,16, "-", "-", true) .... 1. I assumed you locally defined this ConvertToFeetInches function right? 2. Generally I do not like this object cast .to_f, reminds me of the old days of ADA. 3. It would have made more sense for CA to implement .to_ftin... Instead of us embedding local converter functions. Just my $.02 4. .to_in ... makes no sense to me because it gives you the decimals. I fully dig .to_mm or .to_m because they are decimals, but what in the heck is 7.23" really is, why would someone want decimal representation of an empirical unit? ( Same, If someone in the past game me a plan where a part was dimensioned: 10 3/16 mm I would have told him where exactly to put that design). 5. Where our instrument nonius is 10 (e.g. 0.01 mm) no point. The reason I am saying this I have learned not to convert and use decimals with metric and fractions with imperials. Even if software uses for some reason that internally it should never be a default display.
  2. BrownTiger

    Macro ir Ruby

    If your window scheduler did not get updated just delete it and regenerate.
  3. BrownTiger

    Macro ir Ruby

    Lol. Thank you Kbird1. I had no idea that someone really orders windows to 1/16th. Last time I ordered instead of 3072 I got 9072. Beautiful window three times the width after 4 month of waiting. You do not have to use the label, and it does show up in the scheduler. Here I added another macro windowGoldenRatio and custom OIF, that informs a designer that the window [or may be a building] has an incorrect factor. WindowTest.plan #Macro: windowGoldenRatio result = "" referenced ? obj = referenced : obj = owner result ="Golden ratio [1:1.618]: This Window =[1:" + (obj.height / obj.width).round(2).to_s + "]\n" result
  4. BrownTiger

    Macro ir Ruby

  5. BrownTiger

    Macro ir Ruby

    You sure, you selected the window? WindowTest.plan (X12)
  6. BrownTiger

    Macro ir Ruby

    Example code: WindowLabel.txt I am not an architect. And this is my hobby.
  7. BrownTiger

    Glass Roof

    My college every single auditorium in the lecture hall had it, and that was built like 40 years ago. While most could not tell it was a steel structure with a parapet roof, with drain channels on outside and in the middle so it could be cleaned safely without a crane. Amazing structure, very thick rubber inserted into the C channels. They had to install sound dampening shutters, because you could not hear a word prof was saying during a rain.
  8. BrownTiger

    Non-C.A. Electrical Resources for Permits

    Unblock in the empty plan or CAD detail and draw extra line. What they are asking is not that big of a deal. They just want to make sure correct the correct breakers been installed. TYP any room require 15A breaker. TYP kitchen require two circuits of breakers TYP garbage disposal and dishwasher each require a dedicated breaker. Bathroom(s) require 20A but they could be connected to each other. For the rest let's say 4T HVAC takes 20A, for any contiuesly running device you multiply by 1.25. : 20A x 1.25 = 25A (therefore you need 30A breaker) Same for sump pump, same for sewage pump, same for water heater, same for wall oven [let's say Bosh based on web page require 14A -> 20A breaker ) This is not an astrophysics.
  9. BrownTiger

    Non-C.A. Electrical Resources for Permits

    Something I did for fun many years ago. BT ElectricalPanel.calibz
  10. BrownTiger

    Fishy emails looking for architectural services

    You can normally easy tell nigerian princes or princesses - Dangle/speak of large amounts of money as a bling upfront. Too good to be true, really if you have 2mil hire local architect. - Someone will be very sick or in the hospital or has cancer - They travel and have little time. - Suggest a business check as the only method of payment upfront... - Give you an address that misrepresent the property or individual. - Have verified facebook account with a phone number traceable to some odd african nation. - Throw a lot of details upfront but really vague on details, when you ask. - Suggest they can only meet in two weeks when they will be back in town. - Suggest that it is their rich uncle who will be paying. .... I do not do floorplans for anyone. But encountered plenty "nigerian princes"'... One email all it takes to see right through them. Any above sentences, they are on my s list.
  11. BrownTiger

    Ruby Ceiling macro question X12

    Lol, thanks. $FtIn.denominator = 8 I was going to define in the room lable macro and reuse $FtIn class in other places.
  12. BrownTiger

    Ruby Ceiling macro question X12

    Thank you very much. # #Macro: roomLabel #X12 Room Macro. Defined global $FtIn #BT Output: 13'-0" CLG.HT. # referenced ? obj = referenced : obj = owner height = (obj.ceiling_elevation-obj.floor_elevation).round(0) if defined?($FtIn).nil? then $FtIn = $FtIn.unit = "'-\"" $FtIn.use_fractions = true $FtIn.denominator = 8 $FtIn.show_trailing_zeros = true end result = $FtIn.apply(height) + " CLG.HT." LabelTest.plan
  13. BrownTiger

    Ruby Ceiling macro question X12

    What is the correct or suggested way to create a ceiling macro in X12? (Let's say I want it displayed as x'-y") Like this for example: #================================================== height = (owner.ceiling_elevation-owner.floor_elevation).round(0).to_in arr =height.divmod(12) result ="#{arr[0]}'-#{arr[1].round}''" + " CLG.HT." #=================================================== Or there is a better way to display 12'-5" without the use of divmod? Define a custom NumberFormarter? etc. Just looking for suggestions?
  14. My rules: 1) No CATs to any computers. Only between router, access points, NAS storage. 2) PoE CATs to cameras as I have no plans to change batteries on two story building. WiFi 6 All the way. With upcoming 6Ghz bandwidth channels it will get much better.