• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] GreyscaleMode

Scheduled Pinned Locked Moved Plugins
133 Posts 56 Posters 146.4k 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.
  • P Offline
    plot-paris
    last edited by 9 Sept 2008, 06:41

    @dave r said:

    ...but suppose one could choose some sort of filter factor. Suppose that you want to simulate a 25 Red filter. You might choose Red from a list of filters which would give green colors lower values (make them darker) while reds would tend to be higher values.

    do I understand it correctly that with this method you could even create a sepia effect (with some colours standing out of course πŸ˜‰ ). that would be such a cool thing!

    1 Reply Last reply Reply Quote 0
    • D Offline
      Dave R
      last edited by 9 Sept 2008, 09:59

      I hadn't thought of it that way but I suppose since we're asking for the moon...

      I was really thinking more of "filters" for controlling values of gray to preventtwo adjacent colors from looking like the same value of gray. I'm sure you've seen the example from the old photography texts of the red, green and yellow apples shot through different colored filters on black and white film. I tried to find that photo in a quick Google search but came up empty.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by 9 Sept 2008, 10:14

        @dave r said:

        I hadn't thought of it that way but I suppose since we're asking for the moon...

        I was really thinking more of "filters" for controlling values of gray to preventtwo adjacent colors from looking like the same value of gray. I'm sure you've seen the example from the old photography texts of the red, green and yellow apples shot through different colored filters on black and white film. I tried to find that photo in a quick Google search but came up empty.

        I'm sure it can be be done, although I don't know the math involved in filtering/masking colors. To combine the ideas, a set of filter settings could be saved as a preset - named Sepia, or Black & White, as examples.

        off to day job... later.

        Hi

        1 Reply Last reply Reply Quote 0
        • M Offline
          Matt666
          last edited by 9 Sept 2008, 15:05

          @unknownuser said:

          or Black & White,
          Hey !! That is exactly what I wanted to ask !! πŸ˜„ β˜€
          The same render that "Hidden lines" tool of the "Face Style" Toolbar... But we can color some entities !!!
          Great 😍 😍
          Thank you Jim !

          Frenglish at its best !
          My scripts

          1 Reply Last reply Reply Quote 0
          • U Offline
            utiler
            last edited by 9 Sept 2008, 22:13

            wow, this is becoming bigger than i thought....

            purpose/expression/purpose/....

            1 Reply Last reply Reply Quote 0
            • D Offline
              DonVid
              last edited by 12 Sept 2008, 15:47

              Greetings Jim:

              This plugin is a great addition. We can now insert
              a pdf from Lay Out and import it into cad programs
              like Vector and make a BW presentation on the actual
              Construction Documents.

              Thanks,

              DonVid


              Constr. Docs.1.pdf

              1 Reply Last reply Reply Quote 0
              • U Offline
                utiler
                last edited by 12 Sept 2008, 22:30

                too right Jim, and nice work.
                this little script portrays a nice soft presentation to both schematic and final design....

                purpose/expression/purpose/....

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 12 Sept 2008, 23:28

                  I made 2 small updates:

                  1. Right-clicking Groups and Components gives you the Revert Color option.
                  2. Implemented the suggested grey color calculation of: color = 0.3 * red + 0.59 * blue + 0.11 * green

                  Download it from the first post of this thread.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    Dave R
                    last edited by 12 Sept 2008, 23:41

                    Hi Jim,

                    Thanks for the update. I see when opening the script that you have added the math. I don't see the Revert color option when clicking on a component, though. Is it just me?

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by 12 Sept 2008, 23:50

                      @dave r said:

                      Hi Jim,

                      Thanks for the update. I see when opening the script that you have added the math. I don't see the Revert color option when clicking on a component, though. Is it just me?

                      I get the Revert on Components. I honestly didn't try it until just now... but it does work. Now, if each individual Face in the Component is colored (as opposed to having the default color), you need to open the Component and right-click a face.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        Dave R
                        last edited by 12 Sept 2008, 23:54

                        Oh, I see. I almost never paint components. I always apply the material to the faces so I didn't understand at first. Now I do.

                        Thank you.

                        Dave

                        Etaoin Shrdlu

                        %

                        (THERE'S NO PLACE LIKE)

                        G28 X0.0 Y0.0 Z0.0

                        M30

                        %

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          sketchupjockey
                          last edited by 13 Sept 2008, 00:32

                          very cool, thanks

                          1 Reply Last reply Reply Quote 0
                          • U Offline
                            utiler
                            last edited by 15 Sept 2008, 03:17

                            thanks for the update Jim, too cool....

                            purpose/expression/purpose/....

                            1 Reply Last reply Reply Quote 0
                            • ton baetenT Offline
                              ton baeten
                              last edited by 27 Sept 2008, 01:34

                              Jim,

                              This is really a great plugin.
                              I have already used it for some presentationdrawings and it works fine.
                              Today I was playing with it again to define a nice match between specific colors and their grey-scale-representation and now, for the first time, I tried to go back and forth between grey-mode and color-mode and..........
                              it isn't possible (my mac or my partial blindness maybe ?).
                              The color mode in the pop-up menu is greyed out (so not functional) and I cann't find any 'revert color' option anywhere under my right mouse button. Neighter when selecting a group nor when going into the group and selecting seperate faces nor within the color-picker. 'Undo' doesn't do the trick either.
                              Nowbody mentionned this 'problem' before, so I guess I must be overlooking something.
                              Please help me look in the right direction to find my way back into color.

                              By the way, I really like the fact that your plugin doesn't effect the standard face colors (back and front) so you can high-light special details in one or two vivid colors. Whatever additions you ever make to this pugin, please keep that possibility in.

                              greetings,
                              Ton

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                plot-paris
                                last edited by 27 Sept 2008, 11:46

                                @unknownuser said:

                                ...my way back into color.

                                a great title for a book, Ton πŸ˜„

                                hope you (and Jim) will be able to solve the problem.

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  Jim
                                  last edited by 27 Sept 2008, 11:53

                                  Ton, thanks for the feedback.

                                  Can you open the Ruby Console and reproduce the issue? I would like to see if any errors are being shown in the Ruby Console.

                                  Hi

                                  1 Reply Last reply Reply Quote 0
                                  • ton baetenT Offline
                                    ton baeten
                                    last edited by 28 Sept 2008, 21:22

                                    Jim,

                                    Just a short message for now.
                                    Thank's, you pointed me in the right direction, the problem is solved.
                                    I have another larger SU project to finish first and had to solve another domestic 'grey-scale' problem at the same time.

                                    Will come back asap to fill you in with more details.

                                    greetings,
                                    Ton

                                    1 Reply Last reply Reply Quote 0
                                    • L Offline
                                      linea
                                      last edited by 29 Sept 2008, 13:30

                                      Thanks Jim

                                      As I reading this thread, I couldn't really see that I'd use this script but I now think it could be very useful!

                                      Jon

                                      1 Reply Last reply Reply Quote 0
                                      • U Offline
                                        utiler
                                        last edited by 29 Sept 2008, 20:38

                                        You should do that Jon, it opens up a world of possibilities ......

                                        purpose/expression/purpose/....

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          Phil Rader AIA
                                          last edited by 1 Oct 2008, 03:21

                                          This script is absolute genius. For working drawings which you want to print out in black and white I used to have to export color jpg images and then manually convert them to grey scale in photoshop. Now it's all internal to SU. Badda Boom Badda Bing. I love it.

                                          http://www.philrader.com

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

                                          Advertisement