sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Color Sensor

    Scheduled Pinned Locked Moved SketchyPhysics
    5 Posts 3 Posters 605 Views 3 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.
    • P Offline
      Physicsguy1
      last edited by

      I highly doubt it is possible, but i would love to see a color sensor. One that outputs a variable depending on the color. maybe it could sense the object color beneath the object?

      1 Reply Last reply Reply Quote 0
      • P Offline
        Physicsguy1
        last edited by

        Here is an example of what i want it to do, without the complicated mechanics behind the movement.


        example.skp

        1 Reply Last reply Reply Quote 0
        • MALAISEM Offline
          MALAISE
          last edited by

          Hi =Physicsguy= 👍

          Color sensor's idea is very interesting. I had suggested a similar idea using a mechanical sensor (switch). The question is: how to read this sensor information and link it to drive motor, hinge.... ?

          Ps: may be a full colour spectrum ( I mean RGB coding) could be used, we could see the box rotates according
          a colour's law angle. Black : 0, full White :255 -> 90°.

          MALAISE

          La Connaissance n'a de valeur que partagée

          1 Reply Last reply Reply Quote 0
          • C Offline
            CPhillips
            last edited by

            Color detection probably isnt going to happen. But it is possible that (in a future version) you could tag an object as "red" or whatever and then do something based on that color.

            So in your example you could put a nocollison cube on the bottom. Then if it was touching the black or white squares the onTouch could do something.

            1 Reply Last reply Reply Quote 0
            • C Offline
              CPhillips
              last edited by

              @malaise said:

              Hi =Physicsguy= 👍

              Color sensor's idea is very interesting. I had suggested a similar idea using a mechanical sensor (switch). The question is: how to read this sensor information and link it to drive motor, hinge.... ?
              MALAISE

              Mechanical sensors are now possible if you use an object with an onTouch field.

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

              Advertisement