sketchucation logo sketchucation
    • Login
    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!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Namesets and bounding boxes

    Scheduled Pinned Locked Moved Developers' Forum
    17 Posts 4 Posters 2.0k Views 4 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.
    • J Offline
      Jim
      last edited by

      Chris,

      You can create nested Groups by using add_group to another Group's entities. Here is a screenshot of a model and the code that made it.


      nested.jpg

      Hi

      1 Reply Last reply Reply Quote 0
      • chrisglasierC Offline
        chrisglasier
        last edited by

        Thanks Jim.

        One aspect of designing Namesets as a kind of remote control is highlighting the components or groupings in the display. So, in your example, you can highlight the group, but as far as I can see to highlight parts of the group you need to explode it. If that is true, maybe I would be better off keeping with just top level components highlighting them individually in the way you showed me before.

        Bounding boxes3.jpg

        Maybe I am just thinking aloud - but if you have any pearls of wisdom I would be pleased to have them.

        My regards

        Chris

        With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

        1 Reply Last reply Reply Quote 0
        • chrisglasierC Offline
          chrisglasier
          last edited by

          @manofskill said:

          Thanks for inviting me to this thread. I think I understand what you are trying to accomplish with Namesets and why it would be so powerful ...

          Your reaction, very welcome of course, took me by surprise, so please give me some time to think about what's what, ... and for others to register an interest?

          Kind regards

          Chris

          With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

          1 Reply Last reply Reply Quote 0
          • M Offline
            manofskill
            last edited by

            If you double click the group, then you 'go into' that group. Now you can select the individual groups within. So you don't have to explode everything, just double click till you get to the geometry you wanted.

            But I'm not sure how you would simulate a double click in ruby.

            ManOfSkill
            http://SketchyQuestions.blogspot.com

            Ask about SketchUp: SketchyQuestions.com

            1 Reply Last reply Reply Quote 0
            • chrisglasierC Offline
              chrisglasier
              last edited by

              @manofskill said:

              But I'm not sure how you would simulate a double click in ruby.
              There's the rub!

              Chris

              With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

              1 Reply Last reply Reply Quote 0
              • M Offline
                manofskill
                last edited by

                @chrisglasier said:

                There's the rub!Chris

                HaHa! That's a funny pun!

                Anyways, is there a dedicated ruby expert willing to take these sort of questions? I don't want to assume anything of Jim.

                ManOfSkill
                http://SketchyQuestions.blogspot.com

                Ask about SketchUp: SketchyQuestions.com

                1 Reply Last reply Reply Quote 0
                • chrisglasierC Offline
                  chrisglasier
                  last edited by

                  facer sent me a PM, some of which he said I could post here:

                  @unknownuser said:

                  Chris,
                  Industry Foundation Classes (IFC's) are the building blocks for products in CAD programmes.
                  Do your "Namesets" have any link or connection with IFC's that are
                  used by these CAD programmes?

                  Leading lights in the Architectural World like Paul Seletsky of SOM and Kimon Onuma of Onuma Inc often refer to diagrams - see http://www.aecbytes.com/viewpoint/2008/issue_37.html and https://www.onuma.com/products/ - that show data passed back and forth between Excel spreadsheets and IFCs. Namesets is a modern automated alternative to spreadsheets and so in this sense it has similar links.

                  But a nameset is a model rather than a digital version of a ledger and therefore fits more naturally. Each name represents something physical (as with IFCs), and exists to receive or report data from various people who have an interest in it - owner, designer, authority, manufacturer, builder, user, cleaner and on and on. There is no requirement to think about files, sheets, columns and rows, formulae, CSVs, cut and paste ...

                  We would welcome your support in the further development of namesets.

                  Chris

                  With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                  1 Reply Last reply Reply Quote 0
                  • chrisglasierC Offline
                    chrisglasier
                    last edited by

                    facer sent me a PM, some of which he said I could post here:

                    @unknownuser said:

                    Chris,
                    Industry Foundation Classes (IFC's) are the building blocks for products in CAD programmes.
                    Do your "Namesets" have any link or connection with IFC's that are
                    used by these CAD programmes?

                    Leading lights in the Architectural World like Paul Seletsky of SOM and Kimon Onuma of Onuma Inc often refer to diagrams - see http://www.aecbytes.com/viewpoint/2008/issue_37.html and https://www.onuma.com/products/ - that show data passed back and forth between Excel spreadsheets and IFCs. Namesets is a modern automated alternative to spreadsheets and so in this sense it has similar links.

                    But a nameset is a model rather than a digital version of a ledger and therefore fits more naturally. Each name represents something physical (as with IFCs), and exists to receive or report data from various people who have an interest in it - owner, designer, authority, manufacturer, builder, user, cleaner and on and on. There is no requirement to think about files, sheets, columns and rows, formulae, CSVs, cut and paste ...

                    We would welcome your support in the further development of namesets.

                    Chris

                    With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      morisdov
                      last edited by

                      It would be nice if you can clearly and simply explain what is the problem your solution solves.
                      Components are organised in standard component libraries - your solution adds an additional hierarchy tree to organise components ? which "type" of sketchup user benefits the most from this add on ?

                      Other 3D CAD tools have extensive RDBMS systems linked to them, decades old legacy and enrichment. Sketchup came very late to this party and it will not compete with the old monsters.
                      The key might be identifying an existing one specific "type" of a sketchup niche user and tailoring your solution for his way of workflow - not airplanes design, archeology maybe ?

                      Moris

                      1 Reply Last reply Reply Quote 0
                      • chrisglasierC Offline
                        chrisglasier
                        last edited by

                        @morisdov said:

                        It would be nice if you can clearly and simply explain what is the problem your solution solves.

                        Well I will try but maybe you don't see the problem as a problem!

                        What you are doing is helping Sketchup modelers, what I am trying to do is to help John and Jane use Sketchup models to ease their daily toil (an idea relevant to this forum and good for modellers I think).

                        At http://www.ted.com/index.php/talks/kevin_kelly_on_the_next_5_000_days_of_the_web.html Kevin Kelly explains that the Web used to be about linking computers, now it is linking pages but it is gradually restructuring to link data. Data belongs to physical things. And physical things can be represented by models.

                        Not everyone needs models to do their work, but generally models are helpful, essential in a design where nothing else but a site and ideas exist. Ideas for things like baths can be represented by nouns, their generic names but they only become recognisably unique and useful when they have an address and some functionality; that is what a nameset gives them.

                        If you believe data linking is the future (consider where Google is going before dismissing) then data must be accessible to all. In this case, it is crazy to enter a value in the VCP, if the only way to extract it is by using an exporter and passing it to "die" (unclickable) in an Excel cell. What would be good is a Sketchup method to trap such data and store it directly in plain text so that it can be automated to link up with other data on the Web, for example, a building design stored essentially as links to building products + their xyz's.

                        @morisdov said:

                        Components are organised in standard component libraries - your solution adds an [color=#008080][b]additional hierarchy tree to organise components ?

                        A nameset does not add anything to Sketchup except the dialog with a few callbacks. It provides its own separate hierarchies by assembling names associated with specific tasks (one of Gaieus' digs perhaps). The association can be physical, temporal and so on, or a combination as a nameset can have devices to link and cross link. If the association is physical, the names can be used to pick up models and position them, if temporal the models can be animated.

                        @morisdov said:

                        Other 3D CAD tools have extensive RDBMS systems linked to them, decades old legacy and enrichment. Sketchup came very late to this party and it will not compete with the old monsters.

                        Gee come on. This sounds like the senator who raved that man would not enter space until the next century (the year before Gagarin did), or the "toy" personal computer and monster mainframe, or hundreds of others similar. I never imagined you as a stick-in-the-mud.

                        Please don't take offense, I am happy to discuss such things with you

                        Chris

                        With TBA interfaces we can analyse what is to be achieved so that IT can help with automation to achieve it.

                        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