sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    What is the easy way to cut part of image?

    Scheduled Pinned Locked Moved Developers' Forum
    5 Posts 2 Posters 526 Views 2 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.
    • V Offline
      vincenz
      last edited by vincenz

      Hi,

      have polygon from Sketchup model, and want cut the corresponding parts of images which saved on my harddisk. Have tried RMagick, it works ok with ruby, but doesn't work in the Sketchup: require 'RMagick' ->false

      My question is: what is the easy way to do that?

      vinc.

      1 Reply Last reply Reply Quote 0
      • T Offline
        tomot
        last edited by

        @vincenz said:

        Hi,

        have polygon from Sketchup model, and want cut the corresponding parts of images which saved on my harddisk. Have tried RMagick, it works ok with ruby, but doesn't work in the Sketchup: require 'RMagick' ->false

        My question is: what is the eary way to do that?

        vinc.

        There are ways to place images and textures onto 3d objects within SU. So you don't need to use RMagick. Secondly and more important: even though RMagick is written in Ruby, you can't assume, just because Ruby is used in Sketchup, therefore RMagick can talk to or work within SU.

        That's because the SU ruby API is different from the RMagick API.
        have a look at the following lecture for more explanation.
        http://video.google.com/videoplay?docid=7495955179002248300&vt=lf&hl=en

        [my plugins](http://thingsvirtual.blogspot.ca/)
        tomot

        1 Reply Last reply Reply Quote 0
        • V Offline
          vincenz
          last edited by

          hm, let me try to figure out :

          1. it is impossible to use RMagick in SU, right?
          2. there are ways to cut off images within SU, any concret points?
          3. thanks for the link to that theoritical lecture about API.

          vinc.

          1 Reply Last reply Reply Quote 0
          • T Offline
            tomot
            last edited by

            @vincenz said:

            hm, let me try to figure out :

            1. it is impossible to use RMagick in SU, right?
            2. there are ways to cut off images within SU, any concret points?
            3. thanks for the link to that theoritical lecture about API.

            vinc.

            1. right
            2. I use Photoshop normally
              but maybe the following video will help you?
              http://uk.youtube.com/watch?v=HHsRRLCAOm8&feature=related

            [my plugins](http://thingsvirtual.blogspot.ca/)
            tomot

            1 Reply Last reply Reply Quote 0
            • V Offline
              vincenz
              last edited by

              Thanks for the answer!

              If I have to make the texturing procedure automatically, may be in one way: using Magick++ to produce DLLs, then using Ruby script in SU to call them. At least am trying to do so...

              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