[Plugin] MakeWindow v0.1

[Plugin] MakeWindow v0.1

Postby shaunco » Sat Dec 15, 2007 9:17 am

The attached script allows for the easy creation of window components (split in to interior and exterior components). This script is quite flexible in allowing for the creation of rectangular or arched top windows that are split in to any number of vertical and horizontal panes.

A few notes up front:
  • This is my first SketchUp script
  • This is my first time writing Ruby (been professionally programming in C++ for 15 years)
  • My window "part" terminology is probably wrong
  • This is for creating window components ... my skills are not quite that of TIGs, so this script is not yet cool enough to place a window on an existing wall or to have prompts with dropdowns. For now, it creates windows as components - which can be replicated as needed
  • Please read the usage notes in the .rb file

Feedback is encouraged!
Please get the latest version from the PluginStore...

Download



-Shaun
0

shaunco 
 

Re: MakeWindow v0.1

Postby shaunco » Tue Dec 18, 2007 12:01 am

No feedback? Is this at least working for anyone else?
0

shaunco 
 

Re: MakeWindow v0.1

Postby Mike Lucey » Tue Dec 18, 2007 2:38 am

Shaun,

I've downloaded and thank you for the script. I will have a go at it as soon as I can and get back to you.

Mike
0
User avatar
Mike Lucey 
Mayor
 

Re: MakeWindow v0.1

Postby Didier Bur » Wed Dec 19, 2007 3:06 pm

Hi

Code: Select all
prompts = [$exStrings.GetString("Interior/Exterior [i/e] (materials)"),


The use of '$exStrings.GetString' seems useless to me as long as there's no ".strings" file that come with the script. Or am I wrong somewhere :?:
0
Didier Bur (Bytes Farmer)
Ecole Nationale Supérieure d'Architecture de Nancy (F)
http://rld.crai.archi.fr/rubylibrarydepot/
User avatar
Didier Bur 
 

Re: MakeWindow v0.1

Postby shaunco » Wed Dec 19, 2007 8:26 pm

No, you didn't miss anything... Like I said, this is my first ever Ruby script. I copied the $exStrings.GetString() calls from the SketchUp examples not knowing exactly what it did :? . I will add a .strings file to the next revision.
0

shaunco 
 

Re: [Plugin] MakeWindow v0.1

Postby caddict » Fri May 30, 2008 9:41 pm

Hi Shaun

I've been working with your window script. It is useful and quite flexible. A few questions/comments:

I don't get the interior/exterior idea? how do i easily unite the interior and exterior parts? why not make the whole window as one entity?

the window is created inside a section of wall. this could be useful but maybe not necessary...what's your thinking behind this?

not sure what you mean by cladding...do you mean architrave? that surrounds the window? If I set clad width to zero, it gives a strange result...an unwanted face appears across the whole window

If you haven't lost interest, it is a useful tool and it would be great with a little fine tuning.

hope it's useful feedback

steve
0

caddict 
 

Re: [Plugin] MakeWindow v0.1

Postby Jim » Sat May 31, 2008 12:43 am

Where is $exStrings defined? I must have moved the file. I think a lot of people just copy it blindly, and it just works for most users.
0
Hi

Jim 
Global Moderator
 

Re: [Plugin] MakeWindow v0.1

Postby Jim » Sat May 31, 2008 4:33 pm

Thanks Shaun.

A couple questions:

Why are you drawing a wall section along with the window?

I don't see any difference in an interior and exterior window?

Can you make it remember the previous values in the dialog?

Here's a couple shots of the UI and the windows it generates.
-1
Hi

Jim 
Global Moderator
 

Re: [Plugin] MakeWindow v0.1

Postby nsxdavid » Sun Feb 21, 2010 11:06 pm

This plugin for making windows has been around for awhile, but thought I'd make an update or two.

This version remembers dialog values between uses. Makes this much easier to experiment with.

A couple notes:

The only difference between an interior and an exterior version fo a window seems to be how it names the component and the materials it creates. I guess so you can paint them differently (which makes sense, I suppose). Because it remembers dialog values now, it's easier to create the opposite version.

This works with SketchUp 7.1 without modification, by the way.

-- David
0

nsxdavid 
 

Re: [Plugin] MakeWindow v0.1

Postby troyhome » Mon Feb 22, 2010 1:42 am

thanks!
0
IOviz.com
SU Pro 2017 PC
Thea: latest
vray4SU latest
User avatar
troyhome 
 

Re: [Plugin] MakeWindow v0.1

Postby 3eighty » Mon Feb 22, 2010 6:11 am

A big thank you..Now maybe I can see my soul...
0

3eighty 
 

Re: [Plugin] MakeWindow v0.1

Postby dkapotov » Sat Dec 06, 2014 3:44 pm

Hello.
This plugin doesn't work in SU2015
0

dkapotov 
Premium Member
Premium Member
 

Re: [Plugin] MakeWindow v0.1

Postby TIG » Sat Dec 06, 2014 4:35 pm

I just installed it from the RBZ in v2015 and it worked fine... [PC]
It appears under the Draw menu...

I would expect it to also work on MAC - the code is relatively simple and not OS-dependent ??

What issues are you having ?
How did you install it ?

Remember that it is ~5 years old, so there might better better solutions around by now...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MakeWindow v0.1

Postby dkapotov » Sun Jan 04, 2015 9:42 pm

I put it into Library > Application Support > SketchUp 2015 > SketchUp > Plugins

but with launching SU it show mistake
0

dkapotov 
Premium Member
Premium Member
 

Re: [Plugin] MakeWindow v0.1

Postby TIG » Sun Jan 04, 2015 10:45 pm

This Plugin is > 7 years old !
It's no longer supported, there are probably several better things available !
I've updated the PluginStore version to be cross-version compatible, by removing 'string' conversions across 'locales'...

Download

0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] MakeWindow v0.1

Postby dkapotov » Mon Jan 05, 2015 9:10 am

Hi TIG.
I try to install this plugin. Installation process done normally, but after I cannot find link in Plugins menu and in Toolbars.
I installed it from Preferences window and Extensions part.
Win7 64 Pro
SU2015 Pro
0

dkapotov 
Premium Member
Premium Member
 

Re: [Plugin] MakeWindow v0.1

Postby Box » Mon Jan 05, 2015 1:06 pm

It becomes very frustrating for people who answer questions when people don't read what they say.
TIG wrote:It appears under the Draw menu...
0
User avatar
Box 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Plugins

Who is online

Users browsing this forum: Kamangom, or35bo and 6 guests

Visit our sponsors: