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

    Should Trimble write plugins?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    43 Posts 17 Posters 842 Views 17 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.
    • daleD Offline
      dale
      last edited by

      I'll ask the dumb question that I may get notorious for.
      What (perhaps technically) is the difference between adding a functionality to the core of the product versus doing this using a plugin? (understanding that not everybody has access to the core code)
      I have many more dumber questions, but I will start here.

      Just monkeying around....like Monsanto

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

        @dale said:

        I'll ask the dumb question that I may get notorious for.
        What (perhaps technically) is the difference between adding a functionality to the core of the product versus doing this using a plugin? (understanding that not everybody has access to the core code)
        I have many more dumber questions, but I will start here.
        A plugin typically uses the Ruby API. This is slower than native C++ code used by the main app, although on simple tasks the time taken will not be that noticeable...
        SketchUp has core additions like the 'solids' tools, and native Pro only exporters etc are also coded separately from the Ruby API.
        Sometimes the Sketchup guys have decided to provide extra functionality built into the core code, and sometimes in the form of API 'script' add-ons.
        We must assume that this is to do with their in-house resources and also what knock-on changes they might need to do to the core-code to accommodate any new functions - which can can be avoided by using the API connectivity... From the users view point the only major difference would be the API's slower execution; which, as I said, with a simple process might well go unnoticed by the user anyway...

        TIG

        1 Reply Last reply Reply Quote 0
        • jeff hammondJ Offline
          jeff hammond
          last edited by

          @tig said:

          like the 'solids' tools

          booltools was a super awesome plugin.. solid tools are ok..

          but having solid tools is way better than having booltools.. they work better/faster/more options/way more stable..

          does that make sense?

          dotdotdot

          1 Reply Last reply Reply Quote 0
          • dukejazzD Offline
            dukejazz
            last edited by

            They can't upgrade for ever
            maybe toolpacks is a better way for them.

            1 Reply Last reply Reply Quote 0
            • daleD Offline
              dale
              last edited by

              Thanks Tig and Jeff, Yes this all makes sense.
              I guess my question comes, as I have heard John Bacus state both at BaseCamp and in the forums, in particular in reference to 32 versus 64 bit discussions, that a major rewrite of the core would be necessary to accomplish this.
              So could is it a case where, when you start changing certain functions within the core coding, it has implications serious and otherwise) both within the core code, and API scripts?

              Just monkeying around....like Monsanto

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

                If it's a properly designed API, it shouldn't happen (but could). That's also the advantage of an API, a "programming interface", that it's a stable set of commands to connect to the core (no matter what algorithms work in the core or whether the core is rewritten etc.). All SketchUp features would ideally be written by using its API, where as processing-heavy algorithms (intersections, ray casting) would be added as API methods.

                I think we can distinguish here two questions:
                • Whether Trimble-provided tools should also use the API (and be equal to plugins).
                • Whether the API and tools should be based on a scripting language or a compiled (binary) language (C++). Actually that soon won't make much speed difference anymore, since modern scripting languages are executed as super-fast binary code (produced by just-in-time compilers).

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

                  Individual 'staffers' have written plugins and I hope that continues.

                  I think 'Trimble' should at least 'vet' scrambled rbs both free and commercial.
                  When we add 'plugins' it's to enhance their product in our workflow, having supplied both the API and the scrambler, I think they have a 'duty of care' to the end user to at least check the safety/security of those plugins.

                  john

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                  1 Reply Last reply Reply Quote 0
                  • Mike AmosM Offline
                    Mike Amos
                    last edited by

                    I see no conflict with Trimble writing plugins. If you take the basic ui as a start and then add 'packs' of plugins that would tailor the program to different uses (architecture for example), there could be a defferent sketchup for users in different professions. Always acknowledging that there will be writiers of scripts from within the user community. It might even be a method of increasing the sales of pro and be something that could (note use of the word COULD) be used to keep the cost of pro down, another method of increasing sales.

                    I would be a fan of this type of system as long as the age old issues of the core could be addressed. A more stable sketchup with hopefully 64 bit support and more control of the standard of plugins would be very welcome so perhaps a more stable system plus support for independent script writers would be a decent balance.

                    I agree that a ui full of wasteful icons would be a detrimental step so possibly this idea would make others happy too?

                    1 Reply Last reply Reply Quote 0
                    • AdamBA Offline
                      AdamB
                      last edited by

                      What is this Obsession SketchUp users have with 64bit?

                      Its not going to "make it more stable" or "make it faster".
                      I don't know who fed you guys this idea, but they should be slapped. And told to stand in the corner.

                      There are some areas of SketchUp internals that (I suspect) could do with some refactoring and would likely result in less memory use and therefore better performance and stability, and with a code base this old, I can well understand the concerns "Team SketchUp" may have with the 'nuke and re-pave' option.

                      Developer of LightUp Click for website

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

                        64bit should rather be seen as "another possibility" for those programs who need it. It does not mean that every program has to become sooner or later a 64bit version, without technical reasons or advantages. In fact, some/many programs are purposely released as 32bit version where it is faster or lighter on memory.

                        1 Reply Last reply Reply Quote 0
                        • jeff hammondJ Offline
                          jeff hammond
                          last edited by

                          @adamb said:

                          What is this Obsession SketchUp users have with 64bit?

                          Its not going to "make it more stable" or "make it faster".
                          I don't know who fed you guys this idea, but they should be slapped. And told to stand in the corner.

                          not sure but i pretty much guarantee if/when sketchup goes 64bit, they (trimble) will sure as shlt be touting "now 64 bit!!!!" 😉

                          dotdotdot

                          1 Reply Last reply Reply Quote 0
                          • Mike AmosM Offline
                            Mike Amos
                            last edited by

                            If you use larger or more sophisticated models you will need 64 bit support and it will not go away because some folk get personal when others mention it. If you want 32 bit fine, I happen to want 64 bit support. Now if you want to go and stand in the corner it is your prerogative. Personally I go for the right to chose. Clear enough kiddies?

                            1 Reply Last reply Reply Quote 0
                            • jbacusJ Offline
                              jbacus
                              last edited by

                              @mike amos said:

                              If you use larger or more sophisticated models you will need 64 bit support

                              Really, you won't. Memory isn't the bottleneck that needs widening to make larger and more sophisticated models.

                              john
                              .

                              "...exaggerate the essential and leave the obvious unclear." --Vincent Van Gogh

                              John Bacus
                              jbacus@sketchup.com

                              1 Reply Last reply Reply Quote 0
                              • jiminy-billy-bobJ Offline
                                jiminy-billy-bob
                                last edited by

                                @jbacus said:

                                Really, you won't. Memory isn't the bottleneck that needs widening to make larger and more sophisticated models.

                                We wouldn't run out of memory when rendering with Vray...

                                25% off Skatter for SketchUcation Premium Members

                                1 Reply Last reply Reply Quote 0
                                • andybotA Offline
                                  andybot
                                  last edited by

                                  re: 32bit versus 64 -- So how come moderately large files take ages to open in Sketchup, versus in other software I use that is 64bit, super large files open very fast.

                                  re: plugins -- I do hope that sketchup devs and other Trimble teams will write plugins, otherwise, I could imagine that this ecosystem would start to get less attention and resources, if it's not being used by the makers and owners of SU.

                                  http://charlottesvillearchitecturalrendering.com/

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

                                    @unknownuser said:

                                    So how come moderately large files take ages to open in Sketchup[...]

                                    Something takes long (=time, not memory), apparently there is a lot of CPU processing involved.
                                    Compare for example exporting a big model to stl vs. importing from stl. It seems SketchUp takes more time to initialize its internal model data structures, which can't be compared to other softwares.

                                    1 Reply Last reply Reply Quote 0
                                    • andybotA Offline
                                      andybot
                                      last edited by

                                      @aerilius said:

                                      @unknownuser said:

                                      So how come moderately large files take ages to open in Sketchup[...]

                                      Something takes long (=time, not memory), apparently there is a lot of CPU processing involved.
                                      Compare for example exporting a big model to stl vs. importing from stl. It seems SketchUp takes more time to initialize its internal model data structures, which can't be compared to other softwares.

                                      Interesting. So you think SU would take a long time to "think" about a model regardless of the bit depth of its files? Well, seeing how bogged down SU can get with loads of plugins, I guess it makes sense that the content of a model file can bog down SU as well. It just seems that there are an awful lot of events in SU that just "take the long way 'round". Oh well, so SU is fast and nimble ...until it's not.
                                      Which I suppose argues against Trimble adding yet more plugins to an already sluggish program (at higher poly-counts of course - which is what terrain data is for example...)

                                      http://charlottesvillearchitecturalrendering.com/

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

                                        What I got out of the base camp video is they will shortly institute some type of rules / control on plugins because they were spending too much times on working problems they ( plugins ) were causing. Expect this as one of the first changes since it must have been an issue before Trimble

                                        1 Reply Last reply Reply Quote 0
                                        • jeff hammondJ Offline
                                          jeff hammond
                                          last edited by

                                          @mac1 said:

                                          What I got out of the base camp video is they will shortly institute some type of rules / control on plugins because they were spending too much times on working problems they ( plugins ) were causing. Expect this as one of the first changes since it must have been an issue before Trimble

                                          yeah.. something like that sounds cool..
                                          i also think it be nice if they gave a set of (suggested) guidelines for plugins which will be available to the public..

                                          "we recommend using modeless operations unless there's no other options (then make sure the user knows when they're back in sketchup)… try to keep popups to a minimum.. users don't want to answer a bunch of yes/no questions upon leaving the tool.. one step undoable.. etc.."

                                          and maybe offer more in the way of UI help to the writers.. make it easier for them to obtain consistent UI between SU, their plugins, and other writer's plugins..
                                          especially for the lesser used plugins.. if you don't use them super often then you'll often forget exactly how to use them when you need them.. which can more often than not be attributed to foreign UI elements/conventions..

                                          then, for good measure, put a couple of their own out every year as examples to these guidelines.. or, as a sort of testing ground for ideas that may/may not be brought into the core app itself..

                                          dotdotdot

                                          1 Reply Last reply Reply Quote 0
                                          • jeff hammondJ Offline
                                            jeff hammond
                                            last edited by

                                            re:64 bit

                                            if making sketchup 64 bit will allow sketchup to have real thumbnails with those big beautiful quick look previews then that alone makes me 100% back it..

                                            a whole lot of work for a little bit of joy.. so what 😆

                                            dotdotdot

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

                                            Advertisement