SketchUcation Plugin Store

 

 

[Plugin] Zorro2 (beta)

Re: [Plugin] Zorro2 (beta)

Postby David_H » Wed Jan 28, 2009 7:32 pm

Gracias Senor Zorro. How can our village ever repay you? :mrgreen:
Please, register (free) to access all the attachments on the forums.
If I make it look easy. . .rest assured--it probably is.
User avatar
David_H
Top SketchUcator
 
Posts: 2285
Joined: Wed Nov 28, 2007 9:31 pm
Location: Salt Lake City, UT
Name: David Hunter

Re: [Plugin] Zorro2 (beta)

Postby chango70 » Wed Jan 28, 2009 7:42 pm

Quick one. I've deleted the old zorro ruby from plugins folder. How come under Tools menu I see 2 zorros?
chango70
 
Posts: 587
Joined: Tue Mar 25, 2008 3:06 pm
Location: London

Re: [Plugin] Zorro2 (beta)

Postby BubbaLove » Wed Jan 28, 2009 8:47 pm

I've deleted the old zorro ruby from plugins folder. How come under Tools menu I see 2 zorros?


I'm seeing the same thing Chango70...
"Success consists of going from failure to failure without loss of enthusiasm." - Churchill
BubbaLove
 
Posts: 715
Joined: Fri Nov 16, 2007 4:19 pm
Location: Furniture capital of the world!
Name: David Love

Re: [Plugin] Zorro2 (beta)

Postby Pilou » Wed Jan 28, 2009 10:43 pm

"main_menu.add_item("Zorro")" must be "main_menu.add_item("Zorro2")"
Last edited by Pilou on Thu Jan 29, 2009 12:54 am, edited 1 time in total.
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10067
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby chango70 » Wed Jan 28, 2009 11:37 pm

Its not just Zorro. I've deleted a redundent obj importer (can't remember which) yet it still shows up in my menu?!?
chango70
 
Posts: 587
Joined: Tue Mar 25, 2008 3:06 pm
Location: London

Re: [Plugin] Zorro2 (beta)

Postby Gaieus » Thu Jan 29, 2009 10:35 am

It may have been Jim's obj importer (at least that's the only one I know of)
Gai...
User avatar
Gaieus
Administrator
 
Posts: 27639
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby schorradt » Thu Jan 29, 2009 2:54 pm

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:
Code: Select all
...
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://blog.simkea.de/
schorradt
 
Posts: 30
Joined: Wed Nov 21, 2007 12:31 pm
Location: Marburg - Germany
Name: Henry Schorradt

Re: [Plugin] Zorro2 (beta)

Postby Whaat » Thu Jan 29, 2009 3:30 pm

schorradt wrote: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.
Whaat
 
Posts: 967
Joined: Wed Nov 14, 2007 9:51 pm
Location: Saskatchewan, Canada
Name: Dale Martens
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby schorradt » Thu Jan 29, 2009 3:33 pm

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
Please, register (free) to access all the attachments on the forums.
__________________________
http://blog.simkea.de/
schorradt
 
Posts: 30
Joined: Wed Nov 21, 2007 12:31 pm
Location: Marburg - Germany
Name: Henry Schorradt

Re: [Plugin] Zorro2 (beta)

Postby plot-paris » Thu Jan 29, 2009 6:20 pm

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!!! :berserk:
User avatar
plot-paris
 
Posts: 1554
Joined: Tue Apr 01, 2008 10:15 am
Location: London
Name: plot-paris
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby chango70 » Thu Jan 29, 2009 8:15 pm

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


LOL thats it!
chango70
 
Posts: 587
Joined: Tue Mar 25, 2008 3:06 pm
Location: London

Re: [Plugin] Zorro2 (beta)

Postby chango70 » Thu Jan 29, 2009 8:39 pm

So how do u get rid of it then?
chango70
 
Posts: 587
Joined: Tue Mar 25, 2008 3:06 pm
Location: London

Re: [Plugin] Zorro2 (beta)

Postby Gaieus » Fri Jan 30, 2009 12:02 am

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...
User avatar
Gaieus
Administrator
 
Posts: 27639
Joined: Sat Oct 20, 2007 8:24 am
Location: Pécs, Hungary
Name: Csaba Pozsárkó
Operating system: Windows
SketchUp version: 2013
License type: Pro
SketchUp use: historical reconstruction
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby AcesHigh » Fri Jan 30, 2009 3:24 pm

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
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: [Plugin] Zorro2 (beta)

Postby Whaat » Fri Jan 30, 2009 3:40 pm

AcesHigh wrote: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
Whaat
 
Posts: 967
Joined: Wed Nov 14, 2007 9:51 pm
Location: Saskatchewan, Canada
Name: Dale Martens
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby kwistenbiebel » Fri Jan 30, 2009 4:58 pm

AcesHigh wrote: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.
kwistenbiebel
 
Posts: 2668
Joined: Thu Nov 22, 2007 6:13 pm

Re: [Plugin] Zorro2 (beta)

Postby Burkhard » Fri Jan 30, 2009 6:17 pm

Nice icon schorradt, but it does not work in parallel view ( on mac )
User avatar
Burkhard
Premium Member
Premium Member
 
Posts: 865
Joined: Sat Nov 17, 2007 12:45 pm
Location: Germany
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby schorradt » Fri Jan 30, 2009 6:52 pm

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://blog.simkea.de/
schorradt
 
Posts: 30
Joined: Wed Nov 21, 2007 12:31 pm
Location: Marburg - Germany
Name: Henry Schorradt

Re: [Plugin] Zorro2 (beta)

Postby AcesHigh » Wed Feb 11, 2009 4:26 am

Whaat wrote:
AcesHigh wrote: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
Please, register (free) to access all the attachments on the forums.
Last edited by AcesHigh on Wed Feb 11, 2009 3:54 pm, edited 1 time in total.
AcesHigh
 
Posts: 428
Joined: Wed Mar 05, 2008 1:58 pm

Re: [Plugin] Zorro2 (beta)

Postby bellwells » Wed Feb 11, 2009 7:19 am

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
bellwells
 
Posts: 560
Joined: Thu Nov 15, 2007 12:55 am
Location: Colorado
Name: Ron Wells

Re: [Plugin] Zorro2 (beta)

Postby Chris Fullmer » Wed Feb 11, 2009 7:31 am

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
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6699
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby bellwells » Thu Feb 12, 2009 2:38 am

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
bellwells
 
Posts: 560
Joined: Thu Nov 15, 2007 12:55 am
Location: Colorado
Name: Ron Wells

Re: [Plugin] Zorro2 (beta)

Postby bellwells » Fri Feb 13, 2009 7:59 pm

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
bellwells
 
Posts: 560
Joined: Thu Nov 15, 2007 12:55 am
Location: Colorado
Name: Ron Wells

Re: [Plugin] Zorro2 (beta)

Postby Chris Fullmer » Fri Feb 13, 2009 8:24 pm

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
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6699
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby bellwells » Fri Feb 13, 2009 9:14 pm

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
bellwells
 
Posts: 560
Joined: Thu Nov 15, 2007 12:55 am
Location: Colorado
Name: Ron Wells

Re: [Plugin] Zorro2 (beta)

Postby Chris Fullmer » Fri Feb 13, 2009 9:41 pm

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
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6699
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby Burkhard » Fri Feb 13, 2009 9:55 pm

[quote="bellwells"].. I zorro sliced a cube, activated the section cut tool, selected "Slice Model at Section" and erased said section cut, but nothing. quote]

Try the simple way...leave Zorro and use just the Sketchup sectionplane. Select the plane after the end position and run the script. For me it has nothing to do with zorro ;)
User avatar
Burkhard
Premium Member
Premium Member
 
Posts: 865
Joined: Sat Nov 17, 2007 12:45 pm
Location: Germany
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby Chris Fullmer » Fri Feb 13, 2009 10:16 pm

Ahh, I second what burkhaard says. I don't start zorro first or anything. just make a section plane, then right click on it to find the slice option.

Chris
Lately you've been tan, suspicious for the winter.
All my Plugins I've written
User avatar
Chris Fullmer
SketchUp Team
 
Posts: 6699
Joined: Wed Nov 21, 2007 3:21 am
Location: Davis, CA
Name: Chris Fullmer
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: landscape architecture
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby Burkhard » Fri Feb 13, 2009 10:37 pm

...and it works also with some beers ;)
User avatar
Burkhard
Premium Member
Premium Member
 
Posts: 865
Joined: Sat Nov 17, 2007 12:45 pm
Location: Germany
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: interior design
Level of SketchUp: Advanced

Re: [Plugin] Zorro2 (beta)

Postby bellwells » Sat Feb 14, 2009 12:40 am

Oh, I see. I was thinking you could "zorro" the model in any plane desired and then R-click "slice section" to achieve a section cut normal to that plane.

Apparently this script does NOT work with my beer.

Edit: I changed beer and everything is working fine....Thanks.
Ron
bellwells
 
Posts: 560
Joined: Thu Nov 15, 2007 12:55 am
Location: Colorado
Name: Ron Wells

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need SketchUp Books, Models, Styles or Textures? Check out our One Stop Shop for SketchUp.

Premium Members get 20% discount!

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: bastien33, fth, joewood, juandaye, pmaturan and 6 guests