[Plugin] Zorro2 (beta)
-
This forum came up when I was searching about bug splats related to exploding components. I found a solution to the bug splats I was getting with my own plugin and maybe it will help diagnose the problems people are having on this forum.
Assume the following component structure:
Component_A
Component_AA
Component_AB
Component_ACI was exploding from the top down with a recursive function, so I would explode Component_A, using ComponentInstance.explode which returns an entities object containing what was the component before I exploded it. I would then loop through that entities object and continue exploding any component instances I found. When I'd try and explode the first child (Component_AA) I would bug splat.
I found that it had to do with an entities observer that I had at the model level (which was my only entities observer). Once I got rid of the observer my code started working fine; no more bug splats!So maybe Zorro2 or some other plugin on the computer of people who are experiencing bug splats is using an Entities Observer.
Hopefully this helps someone out there and hopefully this was the right place to post this. -
Maybe you must start a thread about that on the section Developpers' forum
-
I have problems as well, I have managed to cut my model after exploding everything and then making one big group, then it does the slicing but it doesn't delete anything afterwards? it's like it only creates an intersect with model line at the section plane?
-
Hi there,
I am trying to download the Zorro2 software, however I am just getting a text edit file. Is it compatible with Macs?thanks a bunch
-
I am a mac user and I am trying to download Zorro2 for a building section. However when I open the download it's giving me a 'text edit' file. Which I can't save in my plug ins folder.
Help please!!
Thanks a bunch -
@pogo_2u said:
I am a mac user and I am trying to download Zorro2 for a building section. However when I open the download it's giving me a 'text edit' file. Which I can't save in my plug ins folder.
Help please!!
Thanks a bunchHello!
I'm mac user too, generally when you download a ruby file (.rb extension) from Safari the program add .txt extension to the file, you must delete the .txt extension to the file and to leave the filename so: Zorro2.rb
Example: *******.rb.txt (delete the last extension .txt) >> ********.rb
Then, place the Zorro2.rb in your plugins folder of SU, perhaps OSX ask you for permissions to copy the file in the plugins folder, enter your user password and OK.I hope that help you, Bye!
-
When I click to download it, it is opening in text edit, so I re-save to my plugins folder with the .rb extension and it isn't showing up. Should I be saving differently? I really can't figure out what I'm doing wrong.
Thanks for your help so far!Hello!
I'm mac user too, generally when you download a ruby file (.rb extension) from Safari the program add .txt extension to the file, you must delete the .txt extension to the file and to leave the filename so: Zorro2.rb
Example: *******.rb.txt (delete the last extension .txt) >> ********.rb
Then, place the Zorro2.rb in your plugins folder of SU, perhaps OSX ask you for permissions to copy the file in the plugins folder, enter your user password and OK.I hope that help you, Bye![/quote]
-
Awesome plugin. Works great with the section plane and with the straight zorro tool.
I was getting bugsplats when I used the section plane (on very simple models). De-activated another plugin (openstudio), and now it works fine.
--
Karen -
Kool, this will help me get a good section for my assignment
-
@kwalkerman said:
Awesome plugin. Works great with the section plane and with the straight zorro tool.
I was getting bugsplats when I used the section plane (on very simple models). De-activated another plugin (openstudio), and now it works fine.Karen
Also when using any tool that changes the models entities with instances you need the Outliner to be closed or at least rolled-up - otherwise a known bug in SUp can cause it to crash...
-
TIG, is this working on SU 8? I'm getting crashes on XP without any other plugins installed.
-
Works OK for me with the Outliner closed ?
-
No dialogs open (including Outliner). I even tried disabling Dynamic Components, Sandbox Tools, Solar North, and Photo Textures.
I'll try again tomorrow after a fresh restart. By the way, same results on SU7.
Split at section cut seems to work. Just cut tool that crashes.
-
Ruby Console Messages ???
-
No ruby console messages before the crash, but I realized that I wasn't using it correctly. When I used the cut tool I was picking points at the edge of a cube, and I thought I had to pick 3 to define a plane, vs. just two. So here is how I made it crash.
- draw a rectangle and extrude to a box
- select the Zorro tool
- click on one of the top edges of the box
- next click on the opposing side
- now click on the same point as above
- and last, click on the bottom edge on the same side of the box
This crashes it for me. I have a screen shot of what it looks like before the click that causes the crash. There doesn't seem to be anything special about where on the edge of the box I draw my cut lines for the crash to occur. When I use to tool as intended, single cut line beyond the geometry, then everything works fine.
By the way, what would be really cool new feature for Zorro for me is to have the "slide model at section" create separate groups out of the trimmed parts vs. throwing them away. Could have the new groups named something like "mygroupname_cut". An extra cool feature would be to create the plane at the cutting edge so the new groups are still solid. This would kind of be the anti-outer shell, allowing you to split a volume into two. Even with SketchUp Pro this would still be a useful tool. Right now I can't draw a section plane and split into two groups. I have to create a big box to use as a cutting volume, vs. a more simple cutting plane.
-
@maritozo said:
I'm doing it just as the tutorial says
first "add section cut face"
and the "slice model at section"
but even though my model doesn't have any groups, when it is cutting "group #n (29 or 31 most of the times)" the sketch up crashes
i've got a deadline in college, really need this to work out!
anyone can help?
thanks!Same problem here! Can anyone help?
Best regards,
Sanio
-
@chimbalo said:
After a few hours I figure it out how to fix the bug splat, I have a heavy model, every time that I started using the slice tool my model crashed up, I tryed exploding the model, chainging to newer sketch up, etc etc etc. At the end I took all the model and grouped up whith out the cuting plane, after I slice it, and was the solution for the problem, now it doesn't matter how heavy is the file, the plug in ,work fine. sorry for my bad english, I hope is useful for you.
Thank You, Sir!
That worked for me!!
Best regards,
Sanio -
Hi there!
I just downloaded your Zorro2 plugin, I don't have a clue how to install it on my computer! Any advice?
-
@jhearne said:
Hi there!
I just downloaded your Zorro2 plugin, I don't have a clue how to install it on my computer! Any advice?Like most scripts the .rb file is put into the Sketchup Plugins folder.
When you restart Sketchup you get a new menu item 'Zorro' - for details of where this is and how to use the tool please see the useful .pdf guide, that you can download from the same page that you got the .rb file - i.e. the first post in this thread... -
THANK YOU FOR YOUR SOFTWARE!!!
cheers
carlos
Advertisement