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

    [Plugin] Zorro2 (beta)

    Scheduled Pinned Locked Moved Plugins
    314 Posts 154 Posters 347.7k Views 154 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.
    • schorradtS Offline
      schorradt
      last edited by

      I added a Feature to your old Version (1.0) to automatic fill faces cut

      Sketchup::set_status_text("Draw cut line, Push SHIFT to: Fill-Face-Automatic", SB_PROMPT)

      maybe you can added in your current Version? 😄 its nice to have

      here is the Code.Snipped:

      
      ...
      if (@key=="shift")
        ents.each {|e|
         if e.typename == "Edge" then
         sel.toggle e
         else
         sel.remove e
         end
        }
      
          self.makeface sel
      end
      ...
      
      def makeface ins
          ss = ins
          total_items = ss.count      # Total count of all selected entities.
          x = 0                       # faces-added accumulator
          z = 0                       # loop count
          notAnEdge = 0               # Accumulator for non-Edges
          ss.each {|e|
            if e.typename == "Edge" then  # find_faces only works on edges.
               x += e.find_faces          # This creates faces if they can created. Returns # faces created.
            else notAnEdge+=1             # Keep track of selections that were not an edge.
               end
            z+=1                          # bump loop counter
          }
      end 
      
      

      http://www.henryschorradt.de/

      1 Reply Last reply Reply Quote 0
      • W Offline
        Whaat
        last edited by

        @schorradt said:

        I added a Feature to your old Version (1.0) to automatic fill faces cut

        Thanks! I actually experimented with this feature, as well. However, I found that half the time, the faces that were automatically created were reversed, which became quite annoying. I suppose I could give the user the option if a certain key is pressed (as you have shown). The shift key would not work since it used for inference locking.

        SketchUp Plugins for Professionals

        1 Reply Last reply Reply Quote 0
        • schorradtS Offline
          schorradt
          last edited by

          Here is my modifed Version of Zorro 1.0.
          with Icons 😄
          Plz use it...
          and please forgive me, that I did without asking changed.
          my Changes:

          • Icon and Cursor
          • Press: Shift -> Fill Faces to Cut
          • Automatic Switch zu perspectiv-view-mode

          Old modifed Zorro-Tool


          http://www.henryschorradt.de/

          1 Reply Last reply Reply Quote 0
          • plot-parisP Offline
            plot-paris
            last edited by

            Amazing!!!

            in the past Zorro.rb has been a really cool toy (and quite an addictive one at that). but now with its parallel-projection capabilities and especially it's section-cut function Zorro is a valuable and indispensable tools (one of those 'how did we manage to live without it'-tools).
            absolutely fantastic, accurate and extremely fast! I love it!!!

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

              @gaieus said:

              It may have been Jim's obj importer (at least that's the only one I know of)

              LOL thats it!

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

                So how do u get rid of it then?

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

                  I don't know. I have a fairly freash install of Windows (and all that follows) so my Plugins folder is still pretty virgin (about 3 or 4 new plugins ever since).

                  Ask Jim maybe.

                  Gai...

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    AcesHigh
                    last edited by

                    I dont know what is happening but Zorro 2 is constantly failing to make any cuts here.

                    in fact, sometimes it ABSOLUTELY refuses to cut anything... even simple models, be them grouped or completely exploded. It starts creating the line, but I click the other end of the line but the line doesnt goes away... it like if I was not clicking.

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      Whaat
                      last edited by

                      @aceshigh said:

                      I dont know what is happening but Zorro 2 is constantly failing to make any cuts here.

                      in fact, sometimes it ABSOLUTELY refuses to cut anything... even simple models, be them grouped or completely exploded. It starts creating the line, but I click the other end of the line but the line doesnt goes away... it like if I was not clicking.

                      Open the Ruby Console Window and tell me what error message you are getting. Thanks

                      SketchUp Plugins for Professionals

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        kwistenbiebel
                        last edited by

                        @aceshigh said:

                        I dont know what is happening but Zorro 2 is constantly failing to make any cuts here.

                        in fact, sometimes it ABSOLUTELY refuses to cut anything... even simple models, be them grouped or completely exploded. It starts creating the line, but I click the other end of the line but the line doesnt goes away... it like if I was not clicking.

                        Did you delete the old zorro ruby from the plugins folder?
                        That solved the issues I had.

                        1 Reply Last reply Reply Quote 0
                        • BurkhardB Offline
                          Burkhard
                          last edited by

                          Nice icon schorradt, but it does not work in parallel view ( on mac )

                          [http://www.ia-plus.de(http://www.ia-plus.de)]

                          1 Reply Last reply Reply Quote 0
                          • schorradtS Offline
                            schorradt
                            last edited by

                            yes i know 😄 the parallel mode is a problem.
                            but i hope to a better version in Zorro 2 ... with my Icon and Cursor 😄
                            and the feature to find faces in Cut ... very nice.


                            http://www.henryschorradt.de/

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bellwells
                              last edited by

                              Dale, when I click on a section cut and select the "Slice Model at Section" nothing happens. I've read the tutorial, but I can't figure out what I'm doing wrong. I only have Zorro2.rb in my Plugins folder so it can't be a conflict with the original one.

                              What a great feature this section option is!! I can't wait to get it working.

                              Ron

                              1 Reply Last reply Reply Quote 0
                              • Chris FullmerC Offline
                                Chris Fullmer
                                last edited by

                                After you do that Ron, try deleting the section plane. Your model should stay cut in half. I guess that is the desired functionality.

                                Chris

                                Lately you've been tan, suspicious for the winter.
                                All my Plugins I've written

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  AcesHigh
                                  last edited by

                                  @whaat said:

                                  @aceshigh said:

                                  I dont know what is happening but Zorro 2 is constantly failing to make any cuts here.

                                  in fact, sometimes it ABSOLUTELY refuses to cut anything... even simple models, be them grouped or completely exploded. It starts creating the line, but I click the other end of the line but the line doesnt goes away... it like if I was not clicking.

                                  Open the Ruby Console Window and tell me what error message you are getting. Thanks

                                  Error: #<ArgumentError: Points are not planar>
                                  C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Zorro2.rb:273:in add_face' C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Zorro2.rb:273:in cut_geometry'
                                  C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Zorro2.rb:107:in `onLButtonUp'
                                  C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Zorro2.rb:273


                                  zorro2.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    bellwells
                                    last edited by

                                    Hi Chris, I tried that but...no luck. I zorro sliced a cube, activated the section cut tool, selected "Slice Model at Section" and erased said section cut, but nothing. I'll keep fiddling around.

                                    Edit: When I erase the section cut the model goes back to being "whole". The section cut always stays normal to the model surface not the Zorro cut.

                                    Ron

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      bellwells
                                      last edited by

                                      The Slice Section feature does not work for me. I've even deleted and reinstalled.....no worky. Am I the only one with this problem?

                                      Ron

                                      1 Reply Last reply Reply Quote 0
                                      • Chris FullmerC Offline
                                        Chris Fullmer
                                        last edited by

                                        Have you tried removing all other plugins except the new zorro?

                                        Chris

                                        Lately you've been tan, suspicious for the winter.
                                        All my Plugins I've written

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          bellwells
                                          last edited by

                                          I hadn't thought to do this, but this didn't work either. Funny, I've never had any problems whatsoever installing and using plugins. I'm obviously doing something wrong.

                                          I've invoked the slice-model option with the section cut plane inside and outside the model. I've tried grouping.....I've tried it with both drinking beer and not drinking beer....I've tried everything. Argggg...

                                          Ron

                                          1 Reply Last reply Reply Quote 0
                                          • Chris FullmerC Offline
                                            Chris Fullmer
                                            last edited by

                                            So the option to slice the model (or whatever its called) does show up though, right? Try opening the ruby console and the running the slice. See if any error messages come up in the ruby console. If they do, post them here. BTW, what version of SU are you using this on?

                                            Chris

                                            Lately you've been tan, suspicious for the winter.
                                            All my Plugins I've written

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

                                            Advertisement