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

    [Plugin] GreyscaleMode

    Scheduled Pinned Locked Moved Plugins
    133 Posts 56 Posters 146.4k Views 56 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.
    • Dave RD Offline
      Dave R
      last edited by

      Andrew, you have a point about the potential for blandness. (I think I just made up a word.)

      I'm sure it would add to the complexity of the plugin 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. This would give you the ability to tune the grays to prevent some colors from being too close together on the gray scale.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        Here's another example of using the Grayscale Plugin. This is raw SU output.

        http://img.photobucket.com/albums/v506/weekender410/RBT.jpg

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • utilerU Offline
          utiler
          last edited by

          Awesome Dave!!!

          purpose/expression/purpose/....

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            Thank you Andrew. There's not much color in this model anyway but I like the effect with the grey scale option. I like that the wood grain still shows this way, too.

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • plot-parisP Offline
              plot-paris
              last edited by

              @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
              • Dave RD Offline
                Dave R
                last edited by

                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

                  @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

                    @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
                    • utilerU Offline
                      utiler
                      last edited by

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

                      purpose/expression/purpose/....

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

                        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
                        • utilerU Offline
                          utiler
                          last edited by

                          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

                            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
                            • Dave RD Offline
                              Dave R
                              last edited by

                              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

                                @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
                                • Dave RD Offline
                                  Dave R
                                  last edited by

                                  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

                                    very cool, thanks

                                    1 Reply Last reply Reply Quote 0
                                    • utilerU Offline
                                      utiler
                                      last edited by

                                      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

                                        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
                                        • plot-parisP Offline
                                          plot-paris
                                          last edited by

                                          @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

                                            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
                                            • 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