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

    Cutting_windows.rb

    Scheduled Pinned Locked Moved Developers' Forum
    28 Posts 7 Posters 5.2k Views 7 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
      plessis
      last edited by

      bonjour Didier,

      J'epère je peux me faire comprendre.
      Oui, je colle bien sur la surface.
      Je l'ai essayé une dixaine fois avec des fenêtres du components en avec des fenêtres qui j'ai dessiné

      hans

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

        Hans,
        Send me a SKP example with a component that causes a problem, I'll check it

        DB

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

          Didier,

          c'est pour moi la premiere fois que je visite ce Forum.
          Comment il faut faire ca, envoyer un example.

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

            Chèr Didier,
            Jéspère que ca marche.

            hans


            test cutting_windows.rb.skp

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

              Hans,
              It works. I suppose you didn't click on the first point again when defining the cutting outline.


              SKP with cutting component OK

              DB

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

                Hello Didier,

                Thanks for your efforts,
                Alas, it doesn't work.
                I'm sure that I have selected with 5 clicks.
                This morning I have tried also the option "" ...by face "
                and ...by points. But both methods don,t work.
                After selecting one way or the other I have turned the component 90 degrees
                and placed it with the move tool in the wall.
                Nothing happends ???
                I have a lot of plugins but this is the only one with problems.

                Hans

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

                  Hi Plessis,
                  Is it working with the file I've attached ❓
                  If yes, this means you had a problem when making th component cut.
                  If no, it is a Sketchup config problem or something independant of the script itself.
                  Hope this helps,

                  DB

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

                    hello Didier,

                    Thanks,

                    Even with the attached file I'm not successfull.
                    Perhaps it is a SU config problem.
                    I don't know how to solve that.
                    Bad luck for me !
                    In the future I have to cut first the holes
                    and after that I can place the windows / doors.
                    Such as I did it in the past

                    Hans

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

                      Hello Didier,

                      I think I have found it.
                      When I " intersect with model "
                      and after that the selected face erase IT WORKS !

                      Hans

                      Ahh no !!! Not wih thick walls.!!!

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

                        Plessis,
                        You mean you placed components on walls and these walls were groups ?

                        DB

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

                          Didier,
                          The walls are no components or groups.
                          I was too enthusiastic.
                          It works not.

                          Hans

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

                            Keep trying, there's absolutely NO reason it cannot work for you and it works for others.

                            DB

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

                              I seem to be having a problem myself with this Didier.

                              I am using your posted skp to test.
                              Using your window component included I right click, click the four corners in a clockwise direction then finish with a fifth click on the 1st point.

                              I get the 4 pink squares until I click outside the component on finishing.
                              If I double click and open the component, the axis is sat on the plane where the pink boxs were.

                              Placing the window on the wall does not cut.
                              Am I missing a step?

                              http://dmdarchitecture.co.uk/

                              1 Reply Last reply Reply Quote 0
                              • GaieusG Offline
                                Gaieus
                                last edited by

                                Didier, you can embed Flash during the post, can't you? (True it needs to already be somewhere on the net).


                                EmbedFlash.png

                                Gai...

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

                                  Hi,

                                  @unknownuser said:

                                  Placing the window on the wall does not cut. Am I missing a step?

                                  Yes. Once the component has been placed on the wall, you must "tell" SU where the window will be (in the width of the wall).
                                  Right-click, select "window and wall / Cut wall from window".
                                  Watch this little flash anim:
                                  (sorry, SWF extension not allowed, so it is zipped)

                                  [flash=654,438:3o0ia8b4]http://www.crai.archi.fr/RubyLibraryDepot/Ruby/cutting_windows_1.swf[/flash:3o0ia8b4]


                                  cutting_windows_1.zip

                                  DB

                                  1 Reply Last reply Reply Quote 0
                                  • GaieusG Offline
                                    Gaieus
                                    last edited by

                                    The controls should be within the flash file. I can't open pure flash files here in my office but I1ll have a look at home.

                                    Also I don't use Wink but Coen does so I'll let him know about this and he can give you some advice maybe.

                                    Gai...

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

                                      @unknownuser said:

                                      you can embed Flash during the post

                                      Sorry, I didn't noticed that 😳
                                      Let's see if it works.

                                      EDIT: I only see the wink logo when embedding that:
                                      ...flash=654,438]http://www.crai.archi.fr/RubyLibraryDepot/Ruby/cutting_windows_1.swf[/flash...

                                      DB

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        Jorgensen
                                        last edited by

                                        Hi Didier

                                        I'm having some problems when I enter distance from inner face of wall.

                                        My wall is 400mm, and when I enter 230mm, it places the window 2300mm from the face - there seems to be some small bug here ? I know, I can just enter 23mm, then it's ok, but just wanted to let you know. Nice script 😄

                                        Jorgensen

                                        sketchup pro 2016 16.1.1449 64 bit | windows 10 pro | i7-3770k @3.5 GHz | 16gb ram | gtx 780 ti / gtx 980 ti | nvidia driver 368.39

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

                                          @unknownuser said:

                                          when I enter 230mm, it places the window 2300mm from the face
                                          😲
                                          YESSSS, you're the winner of the bug-hunt-down-contest !
                                          Will publish a patch asap,

                                          DB

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

                                            Hello Didier,

                                            Thanks for your excellent flash.
                                            Now , it works very good. Just a little problem
                                            with entering the distance

                                            bye Hans

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

                                            Advertisement