[Plugin] Zorro2 (beta)
-
@unknownuser said:
"main_menu.add_item("Zorro")" must be "main_menu.add_item("Zorro2")"
-
It may have been Jim's obj importer (at least that's the only one I know of)
-
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
-
@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.
-
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
-
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!!! -
@gaieus said:
It may have been Jim's obj importer (at least that's the only one I know of)
LOL thats it!
-
So how do u get rid of it then?
-
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.
-
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.
-
@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
-
@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. -
Nice icon schorradt, but it does not work in parallel view ( on mac )
-
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. -
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.
-
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
-
@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:inadd_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
-
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.
-
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?
-
Have you tried removing all other plugins except the new zorro?
Chris
Advertisement