• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[Plugin] Add comments to your file

Scheduled Pinned Locked Moved Plugins
104 Posts 20 Posters 18.5k Views
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
    glro
    last edited by 26 Mar 2014, 20:33

    @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
    • J Offline
      jiminy-billy-bob
      last edited by 26 Mar 2014, 20:58

      @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
      • I Offline
        inteloide
        last edited by 26 Mar 2014, 21:08

        @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
        • J Offline
          jiminy-billy-bob
          last edited by 26 Mar 2014, 21:15

          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
          • I Offline
            inteloide
            last edited by 26 Mar 2014, 21:25

            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 29 Mar 2014, 16:22

              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
              • I Offline
                inteloide
                last edited by 29 Mar 2014, 18:31

                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
                • I Offline
                  inteloide
                  last edited by 29 Mar 2014, 23:01

                  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
                  • B Offline
                    Box
                    last edited by 29 Mar 2014, 23:11

                    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
                    • I Offline
                      inteloide
                      last edited by 30 Mar 2014, 05:56

                      @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 30 Mar 2014, 12:37

                        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 30 Mar 2014, 12:52

                          @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 30 Mar 2014, 17:22

                            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 30 Mar 2014, 18:48

                              very cool indeed

                              1 Reply Last reply Reply Quote 0
                              • I Offline
                                inteloide
                                last edited by 30 Mar 2014, 19:14

                                Hello,

                                I can't resist anymore ! Please find here version 1.2.0 for trial (not official for now).
                                Is missing translation (to be added later) so all is in English.
                                Your comments from previous version are not destroyed : they are in "General" tab.
                                To delete a tab just click on red cross that appear when mosue is over a tab label.
                                To add a tab, click on "+" tab
                                Also one important improvements, is the undo stack is not filled with action of comments saving.

                                To be added :

                                • Translation
                                • Tab rename function
                                • Tab position change

                                Please try to add/delete tab to check if all is ok. I spent lot of time to check, but please try yourself.

                                For Aerilius : I try to keep code so big, I'm still ok I think. Let me bet that you will have a look ;o)

                                For Glro/Box, I will try to implement a link between tab and scene (when clicking on a scene, a tab is shown). My main concern is to keep interface simple. Also for hyperlink, I cannot do it without nicEdit (through JQuery). The problem is to manage it, quite complex for me. I tried (some hours) to debug it, unsucessfully. Let's try again, starting from 0...

                                Inteloide


                                Version 1.2.0

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

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Box
                                  last edited by 30 Mar 2014, 20:26

                                  Looks good but I managed to break it for you.

                                  If you create a new tab and Delete the General tab it gives you this error. Generally you wouldn't expect someone to delete the general tab, but I just had to do it to see.


                                  Bug1.JPG

                                  1 Reply Last reply Reply Quote 0
                                  • I Offline
                                    inteloide
                                    last edited by 30 Mar 2014, 20:53

                                    Well done ! Thanks for that !

                                    Here is the correction :
                                    Version 1.2.1

                                    Version history:
                                    1.2.1: Corrected : Avoid error when deleting tab placed before current tab

                                    1.2.0:	Added :		Added possibility to have different tabs
                                    		Optimzed :	Change toolbar name to "Comments (BGSketchup)"
                                    		Optimzed :	Avoid filling "undo" stack with comments saving operation.
                                    

                                    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 31 Mar 2014, 08:21

                                      @inteloide said:

                                      Well done ! Thanks for that !

                                      Here is the correction :
                                      [attachment=0:1thx4yvb]<!-- ia0 -->Comment v1_2_1.rbz<!-- ia0 -->[/attachment:1thx4yvb]

                                      Version history:
                                      1.2.1: Corrected : Avoid error when deleting tab placed before current tab

                                      1.2.0: Added : Added possibility to have different tabs
                                      Optimzed : Change toolbar name to "Comments (BGSketchup)"
                                      Optimzed : Avoid filling "undo" stack with comments saving operation.

                                      very efficient

                                      would be nice to be able to rename the title of the tabs

                                      "espanol" doesn't include "h"

                                      maybe i type rather fast, but the comment get written in the window very slowly; maybe it is my computer

                                      an internet link would be useful for me, because it would enable to attach a cloud hosted document to the model but a link to a scene would not; you can already switch scene using the native scene tabs

                                      the button (icon) doesn't show up the first time after installing the plugin; but it pops up the second time you launch sketcup after installing the plugin

                                      1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        inteloide
                                        last edited by 31 Mar 2014, 17:54

                                        Hello

                                        Rename function added :
                                        Version 1.3.0

                                        Place your mouse on tab name, and a new button appear.
                                        I also added mouse title when over the button to discribe their function.

                                        For hyperlink... you have to be more patient πŸ˜‰
                                        For linking a tab to a scene, I think that people wants to show a tab when user click on a scene. That is quite easy to do with an observer.

                                        For your slow key entry, I save the comment each time you press a key or you left the text area (to catch copy/paste events).
                                        That may slow down system but not as much as I understand from you...

                                        Inteloide

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

                                        1 Reply Last reply Reply Quote 0
                                        • I Offline
                                          inteloide
                                          last edited by 31 Mar 2014, 21:13

                                          Hello,

                                          Just post (on first post) the last version of the plugins, with following improvments :
                                          Corrected : Allow the modification of tab name on first tab
                                          Corrected : Allow special characters in tab name
                                          Corrected : Remove prompt when deleting a tab
                                          Corrected : Hide tabs when showing options
                                          Optimized : Add translation possibility for last adding feature
                                          Optimized : Increase tab "+" size for more accessibility
                                          Optimized : Add border around tab for to distinguish tabs more easily

                                          Enjoy !

                                          Inteloide

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

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

                                          Advertisement