sketchucation logo sketchucation
    • Login
    1. Home
    2. TIG
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    Check out Febhouse | New extensions for Shadow Analysis in SketchUp Download
    TIGT Offline
    • Profile
    • Following 0
    • Followers 13
    • Topics 266
    • Posts 19,853
    • Groups 6

    Posts

    Recent Best Controversial
    • RE: Roof.rb v1

      @davekn said:

      Tig

      Still having the same problems with v3 as with the previous versions.

      The get slope angle works fine & so the script must be working - but as previously said I don't even get the initial info box when trying to draw any of the roofs.
      This must be a Mac thing.

      Dave

      Are you getting any messages in the Ruby Console Window when you try and run it ?
      Are there any other Mac users out there trying this ? Successfully or not ? I don't know of any Mac/PC issues that could be causing this...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @seasdes said:

      TIG
      V1.3 now offsets a gable roof to the side of the polygon used to define the roof.
      Sorry
      Seasdes

      A new one - I haven't managed to reproduce that (yet). As you can see from others comments they aren't getting the problem. Does it always do it, or at certain rotations of the rectangle about the origin? What are the setting you use in the dialog and system are you on ?
      Edit: Found out the cause - looking for a fix. IF you have a manually drawn rectangle - 4 sides, drawn clockwise and the face reversed (down) you get your problem; with the same face if you reverse (up) it before running gable-roof tool the two gable-ends swap over but otherwise the roof is in the right place. Must be trappable and fixable - thinking on it...
      Looking into it now. It shall be fixed...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      Version v1.3 of Roof.rb is now available.
      Click here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1516
      It fixes most of the outstanding bug reports. But keep the feedback coming...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @didier bur said:

      Hi TIG
      Very nice work ! V1.2 is working OK here, both on W2000 and XP.
      It's a pity that I can't translate it to french (script is crypted) 😒 πŸ˜‰
      Regards,

      Since I've copied your cunning techniques you should be able to crack it easily! ?;^)

      Please feel free to make a re-encrypted french version, with a suitable change to the header in which you take the blame for the translation! ?:-| Toit.rb ?
      You could also rework RoofHelp.mht into french - as say ToitAide.mht with the end menu bits reworked to suit, before recrypting...

      Wait for v1.3 to arrive before doing any translating. The fix for v1.2 itself caused a glitch with the materials for some types of gables that I didn't spot before reissuing it yesterday...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      Here's v1.2. Click here: http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1516
      There's now a slight tolerance in checking if the face to make a gable or pyramid roof is rectangular. If the sides are out by less than ~0.2mm in 1000mm it'll still work. However, in that case you might get gables not lining perfectly with the block below.

      I hope this now addresses a few problems. Keep the feedback coming...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      They do (aaargh) especially when I don't get any errors on XP or Vista set-ups almost exactly like yours ...
      BUT it shall be sorted !

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @davekn said:

      Hi Tig

      Yes I downloaded v1 & I have tried drawing a rectangle on the floor but with exactly the same results.

      I had to rename the the V1 download as I have the problem that all downloads apart from zipped files come in as 'download.php'. The original was okay as it came in a zipped file.
      I presume the v1 file is still named roof.rb

      many thanks Dave

      Try the v1.1 zip to be sure...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      davekn

      Have you downloaded v1-1 that fixes some errors ?

      301 Moved Permanently

      favicon

      (www.sketchucation.com)

      This should get you somewhere. However, the accuracy of the 'rectangle' checking is perhaps causing some problems and I'm looking at ways of building in some 'tolerance'. Have you simply drawn a rectangle 'on the floor' and tried that ?

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @alpro said:

      TIG, I'm still getting the same errors, after replacing the current version. Thanks for the quick reply to last post though. Hope you get it figured out, let me know if you need any additional info in regards to my computer specs. Thanks.
      Mike

      Are you sure you overwrote v1.0 with v1.1 ?
      No matter... put this attached file into you Plugins folder. It should fix the problem either way...

      301 Moved Permanently

      favicon

      (www.sketchucation.com)

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @unknownuser said:

      ...I have tried the script as you asked and have posted the results.
      I tried Gable Ended Roof and Hipped Roof.
      Gable ended I picked the top face and one edge and got the attached error
      Hipped roof I get the following info in the ruby box...

      The previous post links to an updated version v1.1 that fixes the A:B glitch. The Gable and Pyramid tools only let you work on a horizontal rectangle. Sometimes what appears to be a rectangle isn't (as far as Ruby is concerned) I'm trying to come up with a 'tolerance' method...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @alpro said:

      TIG, here's a screen shot of my ruby console.
      Mike

      I've posted v1.1 that fixes your problem = http://www.sketchucation.com/forums/scf/viewtopic.php?f=153&t=1516
      Replace the current version with this one.

      At least that error report is fixed. Now for some other errors...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @unknownuser said:

      Just tried this on Vista also with SU Pro latest version and still does not work.

      This is a real mystery... but it shall be solved.

      If you open a new model, open the Ruby Console, make a rectangle, pushpull it into a box, select the top face and an edge belonging to that face (with Shift or Ctrl) and run the tool Roof...Gable..., then accept all of the dialog's defaults with an OK what happens ? Any error or console messages, is there a group made where the roof might be, etc.

      I appreciate that its not working is frustrating for you, BUT it's doubly frustrating for me when it seems to works in identical set-ups elsewhere without any hitch, and you're not giving me many clues as to what's wrong - except that, "it's not working..."

      I appreciate your feedback, but please can it be a bit more detailed...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @rhankc said:

      The only way I can get gable to respond is using a ^ before a specified height. The other techniques dont produce anything...
      After a few roof sessions, (keep making different roof modules) I get the image I posted earlier even though I have the edge and horizontal surface selected. It wont get over the message until I start a new file.

      IF you open a new model, open the Ruby Console and then make a rectangle + push'pulled to a volume, then run Roof...Gable and accept all of the defaults that appear in the dialog what happens ?

      With your 'non-rectangle' error... it's as if multiple editing make what is a rectangle slightly skewed. Maybe I need to build in some 'tolerance' as to what makes a 'rectangle'...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      rhankc

      I think you are misunderstanding how to enter the roof 'slopes'. It is done differently for hip/mansard and gable/pyramid roofs.

      For a hip or mansard/sprocket roof you can only enter the roof slope as an angle in degrees [a number] e.g. 22.5, OR the slope as a ratio [separated by ':'] e.g. 2:5. For these types you CAN'T enter a ridge/apex height using a ^. If you do it should return an error thinking you've entered zero degrees

      For a gable or pyramid roof you can enter the angle or ratio as above OR additionally you can specify the ridge/apex height above the fascia in current units by prefixing it with a ^, e.g. ^1234 (here assuming mm this puts the ridge/apex at 1234mm high). Don't use a units suffix or try '/" - so 1234.5 (in mm) is OK as is 18 (in inches) or 1.5 (in feet) but NOT 1'6".

      When you make a hip or mansard you need to have one horizontal face selected otherwise you'll get error messages.

      When you make a gable you need to select one face that's both horizontal and forms a rectangle, AND also select an edge that's near where you want the 1st gable to be (that's needed to tell the tool which of the rectangle's sides are to form gables and which of them is the 1st one, since you can apply different settings to the 1st and 2nd gables).

      When you make a pyramid you need to select one face that's both horizontal and forms a rectangle, AND also select an edge that's on a side where you want the angle for the slope to be taken from - with a non-square pyramid the two pairs of opposing faces have different slopes so you need to do this to indicate which gets the degrees/ratio you've given. Note that you need to select one of this rectangle's edges even if you intend later to use ^1234 as the height of the apex instead of entering degrees or a ratio, as at the point where you set off the tool has no way of knowing what options you might choose later...

      Your item about it saying inches in the menu prompts and it showing it in feet is a function of SketchUp: if you are working in Architectural units - inches - and you enter 18" it's taken OK but when you reopen the dialog it will show 1' 6" - the prompt simply tells you that your current units are set to inches [or feet or cm or whatever] - SketchUp displays Architectural inches as feet+inches if it's >12".

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      Eric, you had trouble with the .mht file showing images.

      Does you Internet Options > Advanced window look like this ?
      It should.

      http://www.sketchucation.com/forums/scf/sas/Ruby/IOsettings.jpg

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @marne said:

      works perfect for me. thank you, great script.

      i use xp sp 2 and SU 6.0.515 and it works, it must be anything else...

      Thanks for some positive feedback.

      Perhaps it's a script clash - this might show in the Console messages ?
      The script is packed but its classes include:
      class Geom::Vector3d >>> to_flat_angle
      class Geom::Point3d >>> is_on_face?
      class Sketchup::Face >>> offset_eaves(dist)
      and then...
      Roof itself has a class 'Roof' with methods:
      Roof::hip()
      Roof::mansard()
      Roof::gable()
      Roof::pyramid()
      Roof::get_slope()
      Roof::help()

      • plus for data manipulation...
        Roof::ordered_edge_points(face)

      Anyone know of clashing class/methods in other scripts etc ?

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @unknownuser said:

      TIG, I tried it out at home and I get the same results as above.

      Both computers=
      PC
      XP service pack 2
      SU 6.0.515

      Same spec' as I have tested it on and it's perfect ! Very confusing...
      Videos cards [long-shot] ?

      Any Ruby Console Error Messages when it is failing ?

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      Thanks for the feedback so far - even if some of it's reporting problems...

      Can those of you getting problems please report back with PC/Mac ver, SUp version etc and exact nature of problem - e.g. "after dialog nothing gets made and there are no error dialogs either"... [it would help when you get the problems if you have the Ruby Console Window open and copy me in on any errors that pop up there too]... so I can see if there's a common problem...

      Works fine for me (and several others) with PC XP SP2 and Vista SUp 60515.

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      Thanks, have a good weekend too...

      posted in Plugins
      TIGT
      TIG
    • RE: Roof.rb v1

      @ehaflett said:

      TIG, this script is awesome. I tested it out a bit and it did everything I would expect it to do without a hitch. I work mostly in geographically large models where I need to build many houses in a neighborhood or along a steet and this will be a huge timesaver for me, especially on overhangs. I like that I can simply input the rise:run ratio and other desired dimensions and presto (I just need to learn the terminology a bit better, I'm a GIS guy by trade). Great guidance while working with it too, making sure things are selected correctly.

      I did notice that none of the images show up on your help page, is that something I overlooked at install?

      Solid work, thanks.
      Eric

      Thanks

      Not sure about the missing images in the Help mht file... It's a combined file type containing all images and text. What system are you on ? Here's a pdf of it anyway (for some yet to be fixed reason pdfs are about the only file format that won't open via ruby UI.openURL on Vista... so I made something I knew (thought !) would work) ! Unfortunately this pdf is much bigger too and you'll need to open it manually...

      Others please report any probs...

      301 Moved Permanently

      favicon

      (www.sketchucation.com)

      posted in Plugins
      TIGT
      TIG
    • 1 / 1