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] Cutting Windows script

    Scheduled Pinned Locked Moved Plugins
    27 Posts 13 Posters 42.0k Views 13 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.
    • jenujacobJ
      jenujacob
      last edited by

      this is awesome!!! thanks didier!!! 😄
      happy new year!!!

      1 Reply Last reply
      Reply Quote 0
      • kmeadK
        kmead
        last edited by

        Didier:
        Many thanks for what I hope becomes another great tool. I ran into the attached problem at startup of SU after installing your new ruby.

        I am on a Mac, OSX 10.4.11 with a PPC chip. I will check on my Intel Mac tomorrow after I get back to work.

        All the best.

        Karl


        Picture 1.jpg

        I created Dilbertville, sorry about that...

        1 Reply Last reply
        Reply Quote 0
        • Didier BurD
          Didier Bur
          last edited by

          Hi,

          Kmead: I've PM'ed you an updated script. Tell me if it works.
          Cheers,

          DB

          1 Reply Last reply
          Reply Quote 0
          • B
            Ben Ritter
            last edited by

            Thank you for your generosity.

            1 Reply Last reply
            Reply Quote 0
            • A
              amadex
              last edited by

              @kmead said:

              Didier:
              Many thanks for what I hope becomes another great tool. I ran into the attached problem at startup of SU after installing your new ruby.

              I am on a Mac, OSX 10.4.11 with a PPC chip. I will check on my Intel Mac tomorrow after I get back to work.

              All the best.

              Karl

              Hi Didier, it happens the same with me... How can I solve this?

              tkx

              1 Reply Last reply
              Reply Quote 0
              • Didier BurD
                Didier Bur
                last edited by

                @ Amadex: look at the top of this topic, I've released a Mac version.
                Tell me if it's OK.

                DB

                1 Reply Last reply
                Reply Quote 0
                • G
                  gerdwillemen
                  last edited by

                  Didier

                  I also tried your "mac version. I also get an "error" report.
                  Could you help ?

                  See error report in attachment

                  Thanks

                  Gerd


                  error cutting report.jpg

                  1 Reply Last reply
                  Reply Quote 0
                  • mariochaM
                    mariocha
                    last edited by

                    Just to let you know that the Mac version works fine here.

                    The whole thing is a 3 step process;

                    1. define as cutting window
                    2. put it on a wall
                    3. right-click window and select "Cut wall from window" then parameters.
                      Also works on several windows at a time.
                      Many well deserved thanks to the author !

                    %(#008000)[Mario C.
                    Every rule has exceptions, but some.]

                    1 Reply Last reply
                    Reply Quote 0
                    • P
                      paddyclown
                      last edited by

                      Hi

                      I tried to add this plugin to SUv8 Pro & got this message:
                      Error Loading File cutting_windows.rb
                      (eval):719: compile error
                      (eval):610: syntax error, unexpected ',', expecting kEND
                      faces_and_heights[0].pushpull (faces_and_heights[1]), false
                      ^Error Loading File yaml.rb
                      no such file to load -- date

                      Does anyone have an idea what is going on ?
                      Thanks in advance folks,

                      1 Reply Last reply
                      Reply Quote 0
                      • TIGT
                        TIG Moderator
                        last edited by

                        Perhaps it's time to look up my 'HolePunchTool' [ http://forums.sketchucation.com/viewtopic.php?p=271170#p271170 ] which does a similar job BUT has far more bells and whistles - and works relatively seamlessly and has had few error reports...

                        TIG

                        1 Reply Last reply
                        Reply Quote 0
                        • P
                          paddyclown
                          last edited by

                          TIG, yes, thanks, actually I have been trying to use your tool, but sadly it doesn't work for some unknown reason... I followed the instructions which seem pretty clear & can't get it to work 😞

                          I have made a component that glues to "any" & has cut opening checked but when i try & use it (ie it is in place on a face of a 'wall' & i r-click & choose punch ) I get this message 'no suitable punching component selected, exiting'... maybe i have just not understood the procedure


                          file test

                          1 Reply Last reply
                          Reply Quote 0
                          • P
                            paddyclown
                            last edited by

                            ... sorry i pressed the submit button too fast...
                            Thanks for any guidance..

                            best


                            screenshot

                            1 Reply Last reply
                            Reply Quote 0
                            • TIGT
                              TIG Moderator
                              last edited by

                              Your cutting component is not made properly its axes are the wrong way round.
                              It's clear from the Component's thumbnail in the Component Browser which is looking at the 'top' of it and not the 'front', as it should for any 'cutting' door/window/etc
                              When you make any 'cutting component' it must either be made 'flat' on the ground or already on a face.
                              If it's made on a face Sketchup assumes you want it to be 'cutting' and it sorts out the axes for you. Otherwise make it so that its z/blue axis will be facing square out of any face you might subsequently place it on.
                              A cutting component's axes look different from a standard component as there's a blue 'X' added to it
                              Then when you place your properly made cutting component on a face it should cut a hole in that face - so any transparent or open areas will be 'see-through' - if the wall has two faces you'll see the back-face of the other side.
                              If you then use my HolePunchTool on the component it punches through the inner face too, adding linked reveals etc...
                              Here's your component fixed and a version punched...
                              Compare it with the original...Capture.PNGhole punch test [fixed].skp

                              TIG

                              1 Reply Last reply
                              Reply Quote 0
                              • P
                                paddyclown
                                last edited by

                                😳 ok, sorry, just tried for myself & got it finally sorted...
                                thanks for your help TIG

                                1 Reply Last reply
                                Reply Quote 0
                                • sandropasquaS
                                  sandropasqua
                                  last edited by

                                  Hi Didier,

                                  I'm sorry but i cannot see the command line in the right clic menu...

                                  I've tried with two component

                                  Do you have any suggestion?

                                  ThanksWindows cut test.skp

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

                                    the windows isn't cutting holes in the walls after installed.

                                    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
                                    • 2 / 2
                                    • First post
                                      Last post
                                    Buy SketchPlus
                                    Buy SUbD
                                    Buy WrapR
                                    Buy eBook
                                    Buy Modelur
                                    Buy Vertex Tools
                                    Buy SketchCuisine
                                    Buy FormFonts

                                    Advertisement