Scripting/processing question..
-
Is there a way I can invoke Sketchup via the command line somehow? I want to output a string, then have Sketchup open a file, create some text objects, and process the text via Chris Fullmer's Shape bender along a specific sub-object -- and then export.
-
Hi,
I suggest posting this question on Developers forum here... http://sketchucation.com/forums/viewforum.php?f=180
Also images sometimes explain better than text so that might be useful. I myself am not sure what is it that you are trying to do for example.
anyways hope you can get help...cheers!
-
Thanks to whoever moved the thread. We will probably be doing this in 2D via some CSS, but it would be nice to know if this sort of thing is possible.
Renderiza:
Here is an example. You might be a company selling a common household item or trinket with an engraving, and you want to show your customers how that item will potentially look like. -
Anyone?
-
Yes, what you're trying to do should be possible. All ruby scripts get loaded when SU starts.
The problem with the shapebender example though is that shapebender requires human interaction. It could be tweaked to work without human interaction though, if you could programmatically define what it needs to be run (a straight line, an object to bend, and a curved line to use as the bending template), write that into the script, and then make sure your base model had all those elements in it.
-
Interesting thought. We ended up doing it differently, but I now need that for something else. Thanks, Chris. I will try this method. Now I just need to figure out how to stick Sketchup into CentOS!!!
-
I think people have pretty good success with getting SU to run under WINE. I've never seen anyone try CentOS. Good luck!
Advertisement