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

    [Plugin] Add comments to your file

    Scheduled Pinned Locked Moved Plugins
    104 Posts 20 Posters 18.5k Views 20 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.
    • inteloideI Offline
      inteloide
      last edited by

      Hello,

      Just post new version, thanks to Aerilius, lots of code improvments were done.
      Glro, please try with this version to see if all your bug are gone.

      NB : I tried to implement a text editor that can support bold, italic, etc. I tried with nicEdit, ckEditor, but it's very complicated (for me) as SU traps some events and style feature...I think, with simple text it ok enough. nevertheless, I would like some colours... 🎉

      Inteloide

      Humanity will do a huge step when the IT professionals will understand that computers are tools...

      1 Reply Last reply Reply Quote 0
      • kenK Offline
        ken
        last edited by

        Nice plugin. When I was trying to learn Ruby, I had tried to make a plugin to open a text editor. Never got it to work.

        And Thanks

        Ken

        Fight like your the third monkey on Noah's Ark gangway.

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

          @inteloide said:

          Hello,

          Glro, please try with this version to see if all your bug are gone.

          e

          yes, it works perfectly now

          thank you

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

            Hi Interloide
            A just super script and thank you. 👍 👍 👍

            dtr

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

              where is the comment stored ?

              since i don't see a file, i suppose it is somewhere in the data base of the computer

              if so, it implies that the comment is available only on the computer that issued it, no?

              i would like the comment to be available on another computer, to transmit both the comments linked to the model, and the model itself

              for example, a text file with the same name as the sketchup model; if found in the directory, it would be showed in sketchup

              would you consider it as additional option to your plugin?

              1 Reply Last reply Reply Quote 0
              • inteloideI Offline
                inteloide
                last edited by

                @glro said:

                where is the comment stored ?

                since i don't see a file, i suppose it is somewhere in the data base of the computer

                if so, it implies that the comment is available only on the computer that issued it, no?

                i would like the comment to be available on another computer, to transmit both the comments linked to the model, and the model itself

                for example, a text file with the same name as the sketchup model; if found in the directory, it would be showed in sketchup

                would you consider it as additional option to your plugin?

                Hello,

                The comment is saved within your model (the .skp file, if you want) so you can get it on every computer where the plugin is installed) !

                Just simple as this ! 😉

                Inteloide

                Humanity will do a huge step when the IT professionals will understand that computers are tools...

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

                  @inteloide said:

                  Just simple as this ! 😉

                  Inteloide

                  simple... sounds magical to me...
                  and it fits perfectly my need

                  thank you again

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

                    @glro said:

                    sounds magical to me...

                    You can store pretty much any data you want in the model. That how most of the plugins retain information over time.
                    You can even attach data to entites like edges, groups, faces, components, materials, layers, etc ! The API is really powerfull.

                    25% off Skatter for SketchUcation Premium Members

                    1 Reply Last reply Reply Quote 0
                    • inteloideI Offline
                      inteloide
                      last edited by

                      @jiminy-billy-bob said:

                      The API is really powerfull.

                      Sure ! API/Sketchup is just soooo powerful !

                      I would like to add more possibility to the plugin, like :

                      • Change font colour and type
                      • Add image (for example by selecting an area in the model and the plugin make a screen shot of it and insert it in the comments)

                      But for that I need support from somebody who can help me programming the javascript (to include nicEdit or ckEditor).
                      If somebody could help me on that...

                      Inteloide.

                      Humanity will do a huge step when the IT professionals will understand that computers are tools...

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

                        Maybe add your plugin to github so we can help you easily?

                        25% off Skatter for SketchUcation Premium Members

                        1 Reply Last reply Reply Quote 0
                        • inteloideI Offline
                          inteloide
                          last edited by

                          Hum, could be an idea, even if I'm not familiar with github (Just subscribe and look a bit complexe for me).
                          But the issue I have is more a link between Javscript libraries like Jquery/nicEdit and Sketchup than a pure javascript issue.
                          So I think here is the best place to get help.

                          Well it's my opinion...maybe not the best ;o)

                          Inteloide

                          Humanity will do a huge step when the IT professionals will understand that computers are tools...

                          1 Reply Last reply Reply Quote 0
                          • W Offline
                            watkins
                            last edited by

                            Downloaded the plugin, and it looks useful, but no toolbar. I'm running SU V8.

                            Kind regards,
                            Bob

                            1 Reply Last reply Reply Quote 0
                            • inteloideI Offline
                              inteloide
                              last edited by

                              Hello Bob,

                              Could you please tell me more about the issue :
                              On which OS are you (MAC/PC).
                              Have you check that the toolbar is active (View/Toolbars) ?
                              Do you have access to plugins through the Plugins menu ?

                              Inteloide

                              Humanity will do a huge step when the IT professionals will understand that computers are tools...

                              1 Reply Last reply Reply Quote 0
                              • inteloideI Offline
                                inteloide
                                last edited by

                                Hello,

                                New features comming soon !!!

                                Comming soon

                                Add as many tab as you want !

                                Inteloide

                                Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                1 Reply Last reply Reply Quote 0
                                • BoxB Offline
                                  Box
                                  last edited by

                                  An excellent addition to an already useful plugin.

                                  But you know people are going to start asking for things like, can you link a comment to a specific layer/scene/component etc etc

                                  1 Reply Last reply Reply Quote 0
                                  • inteloideI Offline
                                    inteloide
                                    last edited by

                                    @box said:

                                    An excellent addition to an already useful plugin.

                                    But you know people are going to start asking for things like, can you link a comment to a specific layer/scene/component etc etc

                                    Then I would say : why not ! 😉
                                    Let's me finish tabs feature, then I will have a look at other additional features.
                                    But any idea is welcomed !
                                    Inteloide

                                    Humanity will do a huge step when the IT professionals will understand that computers are tools...

                                    1 Reply Last reply Reply Quote 0
                                    • W Offline
                                      watkins
                                      last edited by

                                      Dear Inteloide,

                                      Well, I must have been doing something silly because it's all working just fine.

                                      Thanks for the swift response.

                                      Kind regards,
                                      Bob

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

                                        @inteloide said:

                                        @box said:

                                        An excellent addition to an already useful plugin.

                                        But you know people are going to start asking for things like, can you link a comment to a specific layer/scene/component etc etc

                                        Then I would say : why not ! 😉
                                        Let's me finish tabs feature, then I will have a look at other additional features.
                                        But any idea is welcomed !
                                        Inteloide

                                        the tabbed version will be a big enhancement; one tab per scene, for example...

                                        would it be possible to put an active internet link in the comments window?

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

                                          A tabbed version will above all increase the complexity of the plugin. Users could want that tabs represent scenes, others maybe specific entities etc.? A developer's challenge is to come up with a solution that is universally applicable but doesn't increase the complexity of code and UI too much. That is what makes it so interesting 😉

                                          1 Reply Last reply Reply Quote 0
                                          • F Offline
                                            function
                                            last edited by

                                            very cool indeed

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

                                            Advertisement