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

    [Plugin] Flatten and Extrude

    Scheduled Pinned Locked Moved Plugins
    46 Posts 11 Posters 38.9k Views 11 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.
    • G Offline
      gavvy
      last edited by

      thomthom
      πŸ˜’
      I tride this plugin .The groups in the group can't be faltten
      Is it a better idea to flatten the group in group,and hold the group of faces?

      to build a city ,i always use clf_greeble_2.rb πŸ˜„

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Currently it doesn't dig into nested groups. It only works on the edges directly inside the selected group/component.
        Will change that later.

        Thomas Thomassen β€” SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • G Offline
          gavvy
          last edited by

          @thomthom said:

          Currently it doesn't dig into nested groups. It only works on the edges directly inside the selected group/component.
          Will change that later.

          πŸ˜„
          zorro tool is a good EXAMPLE

          1 Reply Last reply Reply Quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            Hm. My city has just stopped at 31% (and SU is unresponsive). But I gues there are limitations also (file size and edge count) so maybe I shouldn't be so eager and clean the file up a bit before I try.
            πŸ˜‰

            Gai...

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @gaieus said:

              Hm. My city has just stopped at 31% (and SU is unresponsive). But I gues there are limitations also (file size and edge count) so maybe I shouldn't be so eager and clean the file up a bit before I try.
              πŸ˜‰

              Can you send me the model for debugging?

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • D Offline
                dtrarch
                last edited by

                TT
                It seemed useful to be able to flatten selected objects (groups components etc) to adjusted (TIG's)heights above default Z height zero.
                Then select and extrude +/- as wanted.
                A multi-Z height selection.
                Just an idea for consideration.

                dtr

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  roof-builder.png

                  Been trying to find a way to triangulate Roofs from 3d plans. Will never be perfect, but "good enough" to do the bulk work and get a rough idea of the shape.

                  Think the name of this plugin isn't fitting any more. It's doing much more building than flattening. "BuildUp"?

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • GaieusG Offline
                    Gaieus
                    last edited by

                    @thomthom said:

                    ...Can you send me the model for debugging?

                    Sure - see your PM (when I finish this post). But in fact, the file is still a mess as everything is connected with everything (street ends for instance are "closed") and also it's a rather large piece of the city (and where I cut it out from the whole city plan, there are a bunch of open ends, too) so no wonder it didn't really work.

                    Wherever I cleaned up a bit and grouped separately, it worked just fine.

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • GaieusG Offline
                      Gaieus
                      last edited by

                      And the roofing also looks promising!
                      πŸ˜‰

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • pilouP Offline
                        pilou
                        last edited by

                        you have a very cool roof maker from flat plan and many more roofs actions in 1001bit πŸ˜‰ (expand the roof menu)

                        Frenchy Pilou
                        Is beautiful that please without concept!
                        My Little site :)

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          @unknownuser said:

                          you have a very cool roof maker from flat plan and many more roofs actions in 1001bit πŸ˜‰ (expand the roof menu)

                          True, but that's a generic roof. All the existing roof tools make generic roofs. This is to generate accurate-ish roofs from 3D plan data.

                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply Reply Quote 0
                          • pilouP Offline
                            pilou
                            last edited by

                            Cool! β˜€
                            Does your plug can generate roof from surface like this? (1001bits don't πŸ˜‰


                            roof.jpg

                            Frenchy Pilou
                            Is beautiful that please without concept!
                            My Little site :)

                            1 Reply Last reply Reply Quote 0
                            • thomthomT Offline
                              thomthom
                              last edited by

                              @unknownuser said:

                              Cool! β˜€
                              Does your plug can generate roof from surface like this? (1001bits don't πŸ˜‰

                              No, not from just a flat face. You need edges defining the shape and height of the roof. The starting geometry is a bunch of wireframe edges of the building, where the layer of the edges defines their role.
                              RoofBuilder.png

                              Thomas Thomassen β€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                My surface was "Flat" on the ground πŸ˜‰
                                Just with some flat round arc lines
                                So your plug manage only straight lines?

                                Or I missunderstand : you must have first roofs or these are calculated?


                                cone.jpg

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  @unknownuser said:

                                  My surface was "Flat" on the ground πŸ˜‰
                                  Just with some flat round arc lines
                                  So your plug manage only straight lines?

                                  It shouldn't matter if they are curves. But observe the edges in my screenshot. They are above the ground level. And you also need to specify the layer the edges are on.

                                  Also - note that I've not released the version that generates the roofs yet. Screenshot was only a teaser.

                                  But what I'm trying to explain is that it won't make a roof from a flat surface. You need the wireframe of 3D lines.

                                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

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

                                    I think he means a bit like my manual method for making an even 3D roof from a 2D plan [ http://forums.sketchucation.com/viewtopic.php?p=200498#p200498 ], BUT you'll just tell this tool which are the ridges by picking them, plus entering a ridge height or one slope's angle... and it automatically does the rest for you ?
                                    If you have drawn all of these lines in 3D then you could simply use 'make-faces' on them to generate the roof without doing anything else and messing on with layers etc ?

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      @tig said:

                                      If you have drawn all of these lines in 3D then you could simply use 'make-faces' on them to generate the roof without doing anything else and messing on with layers etc ?

                                      That's the thing - the edges are not clean planar edges that you draw yourself. It's from CAD plans done by mapping companies. The examples I have shown in the screenshot are particular clean and neat geometry, often it's much worse than that. And I often get these plans where there a hundreds or even in the thousands of buildings on the plan. Doing that manually is horrible boring work.


                                      3Dplan.png

                                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                      List of my plugins and link to the CookieWare fund

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

                                        If they are already a set of co-vertexed 3D edges for each roof then why not use 'make-faces' on them all to make the roof ? They are layered so easy to select... I'm not clear to me why you need extra tools for this.
                                        I can see that a tool to convert a 2D plan to a 3D roof might have uses for unequal roof slopes etc...

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • thomthomT Offline
                                          thomthom
                                          last edited by

                                          @tig said:

                                          If they are already a set of co-vertexed 3D edges for each roof then why not use 'make-faces' on them all to make the roof ? They are layered so easy to select... I'm not clear to me why you need extra tools for this.
                                          I can see that a tool to convert a 2D plan to a 3D roof might have uses for unequal roof slopes etc...

                                          Because often they aren't connected. You just have a non-planar loop making up the building boundary with an edge hovering in free space above it to indicate the roof pitch.

                                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                          List of my plugins and link to the CookieWare fund

                                          1 Reply Last reply Reply Quote 0
                                          • utilerU Offline
                                            utiler
                                            last edited by

                                            @unknownuser said:

                                            Cool! β˜€
                                            Does your plug can generate roof from surface like this? (1001bits don't πŸ˜‰

                                            Yes, it does, Pilou....

                                            purpose/expression/purpose/....

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

                                            Advertisement