sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Rubyscript: Tutorial Lattice-izer.rb

    Scheduled Pinned Locked Moved SketchUp Tutorials
    sketchup
    11 Posts 6 Posters 8.7k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • EdsonE Offline
      Edson
      last edited by

      EDIT by Coen: Original topic name: 'Wanted: tut on Lattice-izer'. Original forum topic posted to: Ruby forum.

      tig,

      the usage text may seem self-explanatory to you, but i do not get it. a couple of illustrations would help a lot.

      regards.

      edson

      edson mahfuz, architect| porto alegre • brasil
      http://www.mahfuz.arq.br

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        @unknownuser said:

        tig,

        the usage text may seem self-explanatory to you, but i do not get it. a couple of illustrations would help a lot.

        regards.

        edson

        I don't have time for a full tut... Try this...

        Draw a flat 2d face and subdivide it with lines/arcs that 'face'. These line represent the centre lines if your 'lattice'. A lattice can be a latticework screen or with infill panes it's a window.

        Group the lot, select the group and pick Lattice-izer off the menu or right-click context menu.

        Fill in the dialog. You can specify size/depth of lattice frame (about the centrelines). Material for the frame and panes. The available materials in the model are listed and <default> and <no-pane> = open space between lattice framework. You can also keep the centrelines if needed (but why?).

        OK makes the lattice/window...

        If you want a window of a fixed size and you know that the frame will be 100mm make the outer rim/face and offset it by 50mm to get the centres of the edges: erase the outer parts, draw you subdivisions and group: then when the window lattice is made the size is as required...

        TIG

        1 Reply Last reply Reply Quote 0
        • EdsonE Offline
          Edson
          last edited by

          tig,

          thanks for taking the time to help me. you "tut" was good enough. it gave me the basics and i managed to build quite a few lattices from it.

          best wishes.

          edson
          lattice.jpg

          edson mahfuz, architect| porto alegre • brasil
          http://www.mahfuz.arq.br

          1 Reply Last reply Reply Quote 0
          • A Offline
            AcesHigh
            last edited by

            I still dont understand the purpose of the Latticizer.

            To create that same thing Edson did, wouldnt it be easier to draw the rectangles and push-pull them?

            poster-AcesHigh

            1 Reply Last reply Reply Quote 0
            • boofredlayB Offline
              boofredlay
              last edited by

              Please post a link to this script.

              http://www.coroflot.com/boofredlay

              1 Reply Last reply Reply Quote 0
              • david_hD Offline
                david_h
                last edited by

                I can't get Latticizer to work. I am using a group etc etc, The menu comes up but it doesnt do anything. What other Rubies does Latticizer require to function?

                D

                If I make it look easy...It is probably easy

                1 Reply Last reply Reply Quote 0
                • numbthumbN Offline
                  numbthumb
                  last edited by

                  @unknownuser said:

                  Please post a link to this script.

                  You can find it here ( and a "tutorial" also )
                  http://forums.sketchucation.com/viewtopic.php?f=15&t=10720&hilit=latticizer

                  Comfortably numb...

                  1 Reply Last reply Reply Quote 0
                  • david_hD Offline
                    david_h
                    last edited by

                    Yeah. . .I 've been here. I don't know if there are some limits to the group it can do or what. Anyway. .. here's the skp.

                    My question remains. .. what "Sub Rubies" like Sketchup.rb, or others need to be working with Latticizer?

                    Like I said. . I get a menu. I just don't get a lattice!


                    WINDOW GRID.skp

                    If I make it look easy...It is probably easy

                    1 Reply Last reply Reply Quote 0
                    • david_hD Offline
                      david_h
                      last edited by

                      on further investigation, it seems its the geometry that I have drawn there that doesn't make it perform. Latticizer works great on just a simple test. Is it too many lines? The circles in the squares? Any thoughts?

                      If I make it look easy...It is probably easy

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        The geometry is complex with 'island' circles individual lines off and so on...
                        Grouping it into three bits without the circles works - you can add the circles as separate groups later...
                        The central section also failed to work BUT edit>cutting the lines/faces and edit>paste_in_place sorted it - the geometry seemed 'confused' - sometimes edges are 'reversed in the face' and cause unexpected glitches - the Ruby Console reports errors...
                        So, to recap - keep it a bit simpler - no 'island' faces and group parts if needed...
                        It was also on the small side scale up x10 and scale down afterwards to avoid very small faces...
                        Capture.PNG

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • david_hD Offline
                          david_h
                          last edited by

                          That's pretty much how I Figgered it. Thanks for looking at it TIG.

                          D

                          If I make it look easy...It is probably easy

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          Buy SketchPlus
                          Buy SUbD
                          Buy WrapR
                          Buy eBook
                          Buy Modelur
                          Buy Vertex Tools
                          Buy SketchCuisine
                          Buy FormFonts

                          Advertisement