[Plugin] Shell
-
Ruby is one of the easier languages to get to grips with. It might be a nice project to try out with if you're keen to give it a shot. I'd recommend you look at the tutorials on Ruby itself first - there's a 15min tutorial over at the website for Ruby. Then we got some tutorials and guides over here you can refer to.
-
hi, its been a couple of days since i lasted replied, been busy learning some basics in sketchup ruby api, from the 3 scripts i made so far, with the tuts for chris have been a great help, slowly getting to grips with it. It seems straight forward, for the basic stuff, i once did one that was alittle to much and got alot of syntax errors lol so i scraped and started again lol.
Thanks, goes to chris for his Video TUTs, on basic scripting.
Looking forward in seeing others help out the noobies, with vid tuts its a fast way to learn, also i found checking how some other plugins work has helped me learn a few things.
-
When it comes to releasing a plugin I recommend you read this first:
http://www.thomthom.net/thoughts/2012/01/golden-rules-of-sketchup-plugin-development/ -
Thank you Thomthom, very handy plugin.
-
Just found this plugin through the new Sketchucation Plugin Store and WOW! This is just what I was looking for. I've had unusual non-manifold models in the past that I ended up exporting to MeshMixer to generate shells for 3D printing. This will keep me in Sketchup, Thanks!
-
@thenewhobbyist said:
Just found this plugin through the new Sketchucation Plugin Store and WOW! This is just what I was looking for. I've had unusual non-manifold models in the past that I ended up exporting to MeshMixer to generate shells for 3D printing. This will keep me in Sketchup, Thanks!
I'm surprised of how many people use this experimental plugin. I wonder if they don't know that Joint Push Pull exists - maybe because of its somewhat unusual name.
But I'd recommend that over this one.
http://sketchucation.com/forums/viewtopic.php?t=6708 -
Thom Thom,
Joint Push Pull is excellent but it does one thing that is to force the generated mesh to keep the same number of edges and average shape of faces from the initial set of faces. This makes the plugin create unparallel faces.
As I tried to tell you about 1 year ago, your plugin is better at creating faces at an absolute distance from the initial ones, and then connecting them to make a continuous shell.
In the preview state it is absolutely brilliant... then sometimes it fails to generate the geometry shown in the preview...
For a regular shape JPP is accurate, for a mesh that does not need to be parallel to the original one, JPP is also better, but for creating a mesh wich is absolutely parallel, one has to use Normal Push Pull and then connect the faces manually (wich I recently discovered, can be easier if one uses extend trim faces plugin).
If both faces are absolutely parallel a lot more tasks are easier:
- Creating Openings fast by using push pull, hole punch tool, or double cutting components;
- Drawing of construction layers on sections;
- Changing wall thicknesses, for instance, by redesigning exterior of building, and remake exterior thickness on the fly;
- Designing stuff with fixed thickness panels, for instance objects made of plywood with a fixed thickness;
Sorry for insisting on this, but it would make my day if this plugin would become stable, and your plugin, with more development, could be the thing many of us need!
Thank you for your time and best regards,
JQL
-
Thom Thom,
I used your great plugin in the past without any problems..But now I receive this message after Sketchup startup: "Error Loading File tt_shell.rb; undefined method `to_l' for nil:NilClass"
Deleting it and re-install didn't solve the issue..
Any Ideas?HW
-
hm... sound like there's a problem with the settings stored.
What version of TT_Lib2 do you have by the way?
-
TT_Lib2 V.2.7.1
-
hm... I'll see if I can find out what it is. Too bad that these startup errors doesn't output line numbers...
-
Oh - can you try this: (Assuming you have Windows)
Create a .bat file with this command:
"C:\Program Files\Google\Google SketchUp 8\Sketchup.exe" > debug.txt
Adjust the path to your Sketchup installation and execute it. That will start SketchUp and output errors to a file. Make sure to close SketchUp first before opening the file.
[mod=:3ka9vm6y]I adjusted a typo in TT's text & added "" around the command - now will work in a PC .bat or .cmd file...
TIG[/mod:3ka9vm6y] -
..Hm, I'm on a Mac. Maybe something similar can be done with terminal & system log..but I'm absolutely no expert on this.
The system log gives the following information after startup (not sure whether this is useful at all): "SketchUp.app/Contents/MacOS/SketchUp and /Applications/Google SketchUp 8/SketchUp.app/Contents/PlugIns/Skp2AcadSection.plugin/Contents/MacOS/Skp2AcadSection. One of the two will be used. Which one is undefined." -
hm.. then it will take some more digging. I'll see if I can work out what it is.
Btw, could you fill out your profile information to include your OS and SketchUp version?
-
Thomthom, I just installed this on my Mac in the correct Plugins folder and it loads without a problem.
-
I think it could be related to corrupted setting data. Not sure though...
-
Hi, deleting the Sketchup preferences in the library seems to have solved the issue. Works fine again.
-
Thanks for the info. I'm still trying to track down where it might have failed.
-
Hi - brilliant plugin - seems to be working for simpler shapes, but i can't get it to work for the attached file. I put in the shell thickness, then double click (or press return) and the shell just doesn't 'set' - when I click elsewhere the shell has disappeared. Help massively appreciated as I'm working to a deadline. Any ideas?shape that i cannot shell.skp
-
Yea, this plugin is in very early stages - an experiment. I've not had time to work on it. I'd recommend you try Fredo's JointPushPull instead: http://sketchucation.com/forums/viewtopic.php?t=6708
Advertisement