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!
    Mac User? | Join the Rayscaper Beta for Mac Learn More

    [Plugin] Export 2d with Alpha

    Scheduled Pinned Locked Moved Plugins
    148 Posts 42 Posters 143.9k Views 42 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.
    • thomthomT
      thomthom
      last edited by

      view.html.write_image
      http://code.google.com/apis/sketchup/docs/ourdoc/view.html#write_image

      As of SU8, if you use the hash variant for the arguments you can specify transparency.

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply
      Reply Quote 0
      • honoluludesktopH
        honoluludesktop
        last edited by

        Thanks, I see that the api notes that the method applies to v6.0+. How can that be correct?

        1 Reply Last reply
        Reply Quote 0
        • thomthomT
          thomthom
          last edited by

          @honoluludesktop said:

          Thanks, I see that the api notes that the method applies to v6.0+. How can that be correct?

          The method is old, but the transparency argument is new.

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply
          Reply Quote 0
          • D
            donnasanta
            last edited by

            Thank you Thom Thom!
            New to SketchUp 8 (1) month. Had the 'no transparency in 2D export" problem. Found SketchUcation β˜€ , found your plug in πŸ˜„ , fixed my problem.

            Thank you very much.

            -Donna

            1 Reply Last reply
            Reply Quote 0
            • thomthomT
              thomthom
              last edited by

              πŸ˜„ πŸ‘

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply
              Reply Quote 0
              • J
                JGA
                last edited by

                Brilliant, works a treat. Thank-you

                Regards,
                JGA

                1 Reply Last reply
                Reply Quote 0
                • B
                  bupaje
                  last edited by

                  Thank you for this. Opens up a lot of possibilities. πŸ‘

                  Burt
                  Stormvisions

                  1 Reply Last reply
                  Reply Quote 0
                  • B
                    bupaje
                    last edited by

                    I have a suggestion for this great plugin (if still in development). πŸ˜„

                    Would it be possible to export multiple layers as a series of png's? I see that ImageReady CS2 has an option to import a series of images to layers, which can then be saved out as a psd file. This would make SketchUp great for blocking in some layers -say foreground/midground/background elements and individual objects, then opening in Photoshop to do paintovers with the objects seperated by layer.

                    Burt
                    Stormvisions

                    1 Reply Last reply
                    Reply Quote 0
                    • S
                      sank64
                      last edited by

                      Takk for det!

                      1 Reply Last reply
                      Reply Quote 0
                      • mooshonovM
                        mooshonov
                        last edited by

                        Hey thom and thanks for this great plugin.

                        I need to produce some 2d transparency alpha maps. Installed TT_lib2 folder along side tt_lib and tt_export.rb into the plugins directory.

                        Don't have the dialoug which you mark "Transparency" while exporting png from file>export>2d graphic.

                        many thanks

                        **V-Ray for SketchUp eBook author

                        Buy your copy now at vfsbook.com**Licensed Instructor
                        Chaos Group Partner
                        CEO @ V-Ray Israel

                        1 Reply Last reply
                        Reply Quote 0
                        • thomthomT
                          thomthom
                          last edited by

                          @mooshonov said:

                          Don't have the dialoug which you mark "Transparency" while exporting png from file>export>2d graphic.

                          See the description again in the first post. The menu is not located under File, it is "View -> Export 2d".

                          Thomas Thomassen β€” SketchUp Monkey & Coding addict
                          List of my plugins and link to the CookieWare fund

                          1 Reply Last reply
                          Reply Quote 0
                          • Rich O BrienR
                            Rich O Brien Moderator
                            last edited by

                            Thom,

                            Ever notice some funny screen cropping using this?

                            Download the free D'oh Book for SketchUp πŸ“–

                            1 Reply Last reply
                            Reply Quote 0
                            • thomthomT
                              thomthom
                              last edited by

                              Cropping? It exports the incorrect area?

                              Thomas Thomassen β€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply
                              Reply Quote 0
                              • Rich O BrienR
                                Rich O Brien Moderator
                                last edited by

                                Exactly, if I play with resolution size at times it'll crop away some of the image. But I'm keeping the the same ratios.

                                Download the free D'oh Book for SketchUp πŸ“–

                                1 Reply Last reply
                                Reply Quote 0
                                • thomthomT
                                  thomthom
                                  last edited by

                                  Can you post a reproducible example?

                                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                  List of my plugins and link to the CookieWare fund

                                  1 Reply Last reply
                                  Reply Quote 0
                                  • JClementsJ
                                    JClements
                                    last edited by

                                    Rich, I'm not sure if I understand the issue. Would the following help?

                                    1- Open SU.

                                    2- Use the Film&Stage Plugin, create a camera, edit the Aspect Ratio of the camera, and adjust the window according so there aren't any gray bars.

                                    3- Now close and reopen SU. Open your model. Pan and tweek your model within the confines of the window. Now export using the width value in pixels of the value assigned to the camera of Film&Stage in Step 2.

                                    John

                                    John | Illustrator | Beaverton, Oregon

                                    1 Reply Last reply
                                    Reply Quote 0
                                    • Rich O BrienR
                                      Rich O Brien Moderator
                                      last edited by

                                      Thanks John. I'll try that later when I'm at PC. Hope all is well with you πŸ‘

                                      But, to clarify about using this tool. Let's say I have SU maximised and the workspace resolution is 1600x1200. So the export must follow 4:3 to export the scene correctly? Otherwise cropping will occur? This would be my normal approach but at times exporting at larger resolutions resulting in cropping.

                                      Is it possible that an onscreen doodad be added, not those grey bars, to reflect the capture zone? I notice Thea Exporter add 'Rule of Thirds' overlay πŸ˜‰

                                      Download the free D'oh Book for SketchUp πŸ“–

                                      1 Reply Last reply
                                      Reply Quote 0
                                      • mooshonovM
                                        mooshonov
                                        last edited by

                                        @thomthom said:

                                        @mooshonov said:

                                        Don't have the dialoug which you mark "Transparency" while exporting png from file>export>2d graphic.

                                        See the description again in the first post. The menu is not located under File, it is "View -> Export 2d".

                                        THANKS!

                                        **V-Ray for SketchUp eBook author

                                        Buy your copy now at vfsbook.com**Licensed Instructor
                                        Chaos Group Partner
                                        CEO @ V-Ray Israel

                                        1 Reply Last reply
                                        Reply Quote 0
                                        • dereiD
                                          derei
                                          last edited by

                                          Feature request:

                                          Hy thomthom I use this plugin a lot and sometimes I need to work faster with it. So, if you don't mind, I would like to request some features for it.

                                          -cross-session save of chosen parameters
                                          -actual screen size image export
                                          -now, if resolution doesn't match with screen, it clips out the model (is like the height of image tries to fit the screen, and clips from width). Is it possible to fit the model instead?

                                          Also, I would like to better explain to me what exactly "0.9" value from "compression" parameter means, now I let it like it is because I have no idea what values I could input and how it will change the image.

                                          Thanks for taking this into consideration.

                                          DESIGNER AND ARTIST DEREI.UK

                                          1 Reply Last reply
                                          Reply Quote 0
                                          • thomthomT
                                            thomthom
                                            last edited by

                                            @unknownuser said:

                                            Also, I would like to better explain to me what exactly "0.9" value from "compression" parameter means, now I let it like it is because I have no idea what values I could input and how it will change the image.

                                            It's how much a JPEG will be compressed.

                                            I'll make notes of the requests and see what I can do.

                                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                                            List of my plugins and link to the CookieWare fund

                                            1 Reply Last reply
                                            Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better πŸ’—

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 6 / 8
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement