[Plugin] Simple Shell (scaled copy)
-
@dave r said:
And while I'm being a pain, would it be possible to have an option to make the inner shell part of the selected group/component instead of its own component or group?
Maybe it wouldn't be Simple Shell, then.
So you want a Group in a Group, or 2 Groups in a Group?
Either way, I don't think moving Groups in this way is directly supported by the API, and there may be a bug involved if not done right. But I'll see what can be done.
-
Actually, I'd rather not have the inner shell made as a group at all. I'd rather it be part of the selected group, or better in my case, component. Better, it could be an option to have it made into a separate component/group and if the selected thing is a component, make a component. If it is a group, make a group.
Here's a quick example of where it would be nice to have the shell be part of the selected C/G.
I made a simple sphere to test the plugin. After getting the shell, I decide to cut it open to make a sort of bowl. I had to explode the shell and then cut and paste in place the shell into the Sphere group before slicing off the top with a cutting surface. If the shell geometry was loose inside the selected G/C, there'd be no need to explode, cut and paste in place because the shell would be part of the selected component definition.
Not that it makes any difference but I used the circle from the Follow Me path as the cutting plane and didn't delete the edge of the circle.
-
Ah, version 6 compatibility - should be fixed now.
-
Yes I have the Menu JF Simple Shell
Here the code in Ruby Console after I select the group and call the plug by the Menu
and enter some measures in the Dialog box
(same result with the direct Ruby console commands)Error; #<ArgumentError; wrong number of arguments(2 for 1)> C;/Program Files/Google/Google SketchUp 6/Plugins/jf_simple_shell.rb;30;in `start_operation' C;/Program Files/Google/Google SketchUp 6/Plugins/jf_simple_shell.rb;30;in `simple_shell' C;/Program Files/Google/Google SketchUp 6/Plugins/jf_simple_shell.rb;2 C;/Program Files/Google/Google SketchUp 6/Plugins/jf_simple_shell.rb;2;in `call'
-
Works fine now in the V6
You rocks!
I don't retry with the V8 and V7
Edit : works also with the V7
-
@Dave, I would like to keep the created shell as a Group. This is so the operator can make sure the shell does not intersect with anything else before moving on. There may be scaling or other adjustments (snoothing, reverse faces) that should be done, too. This allows the operator the most choices on the next action.
One small thing I will have the plugin do is to select the created shell Group as the last step. Then at least it is ready to explode if you want.
For shelling a Component, right now you could open the Component, select all, make it a Group, shell it, then explode again. I know it's not optimal, but is one way to do it.
It's possible to make the plugin work on a selected surface as well as a selected Group, so then you could open the Component, make the selection, and generate the shell; which is fewer steps. This is something I want the script to do, so it'll be available soon either way.
-
Hi Jim
FYI: ?
I get this error loading SU 7.1 free with the script installed per your first thread posted.
Error Loading File jf_simple_shell.rb
C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:1: syntax error
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
^
C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:2: syntax error
<html xmlns="http://www.w3.org/1999/xhtml">
^
C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:3: syntax error
<head>
^
C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:5: syntax error
<title xmlns="http://www.google.com/ns/jotspot">Download Attachment</title>
^
C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:6: syntax error
<style xmlns="http://www.google.com/ns/jotspot">
^
C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:19: syntax error
content: ".";
^
C:/Program Files/Google/Google SketchUp 7/Plugins/jf_simple_shell.rb:70: syntax error
<body xmlns="http://www.google.com/ns/jotspot">
^
dtr -
dtrarch,
That looks like a HTML file.
Try right-clicking this link, then select Save Link As (or Save Target As) to download the file.
-
Updated to create a shell from selected surface, in addition to a selected Group.
-
Cool! But the same with scale from a opposite point will be also useful
-
Jim
Somehow I did download the html.
Your link worked perfect and thank you so much
OK for SU V8 pro too.
Very handy tool.Dave #2
-
Hi,
Cool. It reminds me my old Object
here: http://forums.sketchucation.com/viewtopic.php?f=180&t=11677 -
Thanks sahi,
Yes, my plugin is almost exactly the same as yours - I may not have written another if I knew one already existed.
One reason it couldn't be found is the topic lacks the [Plugin] text that is used by the Plugins Index, and so is not listed. I have requested the mods add the tag so the plugin will be listed.
-
@jim said:
One reason it couldn't be found is the topic lacks the [Plugin]
That's my fault. I have not posted it here. (But that was long ago 2008)
-
Thank you very much! I can see many uses for this plugin!!
-
Group Many timesοΌbut can;t workβ¦β¦
at last
it works on the componentβ¦β¦
whyγγγγγγγγγ -
-
Yesterday I start fiddling around with a small test project that thickens a surface. I've not uploaded it here at SCF yet, but it's available at BitBucket if you should be interested.
https://bitbucket.org/thomthom/shell/ -
It works well on the simple stuff I just tried it on. Very cool, thanks. (Now, I make a request about Solid Inspector...)
-
Let me know of cases where it is not working so wwell. I have also trief only with simple stuff.
Advertisement