@Bryan K: Thanks for the tips! I've been really busy, so no time to check out the site or complete this resort, so I understand.
Posts
-
RE: Ski Resort Trails
-
RE: What Motivates You?
@kass: Thanks for the info on webdialogs in Sketchup 2015-2016! I was thinking of using webdialogs myself for a script, but I may go with the custom UI toolbox provided here on Sketchucation. And, of course, Sketchucation does wonders for finding answers to scripting problems
@TIG: Helpful as always! Good to know the change from WEBdialogs to HTMLdialogs.
@tomot: Don't worry, I was listening! It seems to me that you're worried that Ruby may not be so prevalent in the upcoming versions of sketchup. I would be worried too if I knew that the API had changed. But, perhaps, Trimble is planning to move to another language? In either case, I'd like to keep a scripting language in sketchup for the pure joy of automation and scripting. I hope when I do decide to migrate, there's still a scripting language in place.
-
RE: What Motivates You?
@tomot Does the api work the same or has it changed from 2014 to 2016-2017?
-
RE: Ski Resort Trails
@Bryan K: Any tips for house modeling? Best practices or workflow?
-
RE: Ski Resort Trails
By the way, I don't know why the inline photos wouldn't show. I've changed that so you can actually VIEW the this time.
-
RE: Ski Resort Trails
@Bryan K: I just looked through your models on your portfolio. I love your houses! They're a little small,, but they pack a punch! Do you make your own furniture or do you use components from the warehouse?
-
RE: RWBY Fans out there?
I like Blue vs Red (Or red Vs Blue). That is a funny show! What are you into now?
-
Ski Resort Trails
I've started a project for a ski resort with several trails. It will eventually have trees, some lifts and a lodge.
Shoutout to TIG and Fredo6 for SuperDrape and TopoShaper respectively!
-
RE: What Motivates You?
@pilou: Interesting phrases! It seems the coding community can get quite exclusive, only those who at least tried to code know, but maybe not those who don't. Once I got the hang of coding in Ruby for Sketchup, my motivation increased.
@Rich O Brian: A painful series of tasks does quite well in motivating someone into automating the task. Even in other applications do I find myself wishing there was a way to automate tasks or even just assigning a macro.
-
RE: Driverless Cars
Whoops! Guess I should rephrase that Thanks, solo!
What I mean was would you want to design the controls or the system for a driverless car or bus. The computer components or the computer station for the attendant. Or would you want to write the code for a driverless car or bus?
-
What Motivates You?
What motivates you to write code for Sketchup? Do you have a go to place for motivation? Quotes, movies, or maybe a story? What inspired you to get started? Where do you go when you can't get motivated to continue a script?
-
RE: Driverless Cars
Would you be interested in designing driverless cars in sketchup or other CAD systems?
-
RE: No Implicit Conversion fron String in Messagebox
TIG, I thought it said that .feet converts feet to inches? (See attachment)
But now it worked. I wonder if it was a typo or am I missing something here.
Thanks!!
-
RE: No Implicit Conversion fron String in Messagebox
OK! I got it to work, thanks to you!
Let me ask you: how did you learn Ruby scripting for Sketchup? Did you use books, videos, search forums? Any tips for new scripters?
-
Driverless Cars
How does everyone feel about driverless cars?
Is there an inherent issue with cars that drive themselves? What about ethical concerns, should a car be asked to make a decision between killing a child or elderly people when an accident is eminent?
Do you think driver less cars will cause society to think less and become more subservient to the government or other entities such as corporations?
-
RWBY Fans out there?
Is anyone a fan of the show "RWBY" or any other show by RoosterTeeth Productions?
Achievement Hunter, Red vs Blue, etc? -
RE: [Req] Dedicated SU onscreen keyboard.
I like it. An on screen keyboard may be be adjustable for laptops with touch screen capabilities.
-
No Implicit Conversion fron String in Messagebox
Hello.
I'm trying to print out two numbers from a script where the user inputs a wall thickness and wall height. An inputbox takes the two prompts and is supposed to spit it out on the screen. However, when I try to get the messagebox to output the two numbers, no output occurs. Instead, I get "Ruby says 0". There is no messagebox that appears
Adding a
.to_s
to each element ininputs
gives a "no implicit conversion from string"Adding a
.to_i
to each element ininputs
gives a "ruby says 0" and the messagebox does not appearI'm using Sketchup Make 2016. I wrote the script on the Ruby Code Editor
By: Alexander C. Schreyer Version: 3.1 (3/6/2013)
If you need any more information, kindly tell me.mod = Sketchup.active_model # Open model ent = mod.entities # All entities in model sel = mod.selection # Current selection Faces = [] f = mod.selection[0] #Create the inputbox prompts = ["Wall Thickness (in):", "Wall Height (ft):"] defaults = [8, 9] inputs = UI.inputbox( prompts, defaults ,'Length Input') #Set the wall thickness and wall height from inputbox to variables thickness = inputs[0].to_i h = inputs[1].to_i UI.messagebox(thickness, h)
-
RE: Apartment Exterior Refurbishment
I like the shadows on the building. The building is a nice design overall