sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > Python & Plugins

Reply
 
Thread Tools
gucias's Avatar
gucias gucias is offline
Member
 
Join Date: Sep 2005
Location: Poland
Posts: 102
hi, this is my first script - StairsCreator
please try it and tell me what's wrong

PICTURE AND SCRIPT MUST BE IN BLENDER DIRECTORY /.blender/scripts
NEW update !!!!
http://www.gucias.republika.pl/stairscreator142.zip





copy it to /.blender scripts
it will be in Menu- Add -StairCreator


p.s. thank's to skoti and szczuro from blenderownia.pl

Last edited by gucias; 10-Dec-08 at 13:02.
#1   Old 24-Nov-08, 12:49   
Reply With Quote


Meta-Androcto's Avatar
Meta-Androcto Meta-Androcto is offline
Member
 
Join Date: Aug 2006
Location: australia
Posts: 2,562
Hi gucias,
good one, Harry Potter Stairs.
The script works ok,
it would be good to have an En, translation.
thanks for sharing.
#2   Old 24-Nov-08, 13:37   
Reply With Quote
studioa studioa is offline
Member
 
Join Date: Nov 2005
Location: Columbus, OH
Posts: 215
gucias - nice script. I did a quick translation in English. I'll post some other comments soon. So far so good. Thanks for your work! best_a_

#3   Old 24-Nov-08, 16:12   
Reply With Quote
RickyBlender's Avatar
RickyBlender RickyBlender is online now
Member
 
Join Date: Jan 2008
Posts: 7,328
it looks like the staire are made up of stone which is fine

but would there a possibiliy to have a shape like wood stair
with a lip for each step

would be great with this option for modeling house
or wood stair wherever a stair of this shape is needed


keep up the good work

looking foward for the english version


Salutations
#4   Old 24-Nov-08, 16:48   
Reply With Quote
gucias's Avatar
gucias gucias is offline
Member
 
Join Date: Sep 2005
Location: Poland
Posts: 102
Ok. English version is accesaible link is the same
http://www.gucias.republika.pl/astairs4beta.py.zip
#5   Old 25-Nov-08, 11:00   
Reply With Quote
Meta-Androcto's Avatar
Meta-Androcto Meta-Androcto is offline
Member
 
Join Date: Aug 2006
Location: australia
Posts: 2,562
Thanks very much for the translation.
#6   Old 25-Nov-08, 11:37   
Reply With Quote
stanmarsh stanmarsh is offline
Member
 
Join Date: Jul 2008
Posts: 121
hi gucias,

a very nice script! you can get more inspiration for the script here http://www.stairporn.org/.
can i request a way to add railings too?

if you can read ruby, there are some stair maker for sketchup, you can check it out here
http://www.crai.archi.fr/RubyLibraryDepot/Ruby/ wait for it to load then search "stair"

thanks!
#7   Old 25-Nov-08, 15:53   
Reply With Quote
yellow yellow is offline
Member
 
Join Date: Dec 2004
Posts: 1,276
gucias

Thanks for the script, good start.

Forgive me if you already aware of this, but generally architects would work with a floor to floor dimension and then divide that by the 'rise' required to meet building codes / regulations for the class of stair to get the number of 'rises' required.

Then the 'going' would also be set dependent on building codes for the class of stair. ie residential, commercial, fire escape etc. I'm not suggesting that building code compliance needs to be included that would be overboard but as the script stands without the floor to floor value I still need my calculator. :-)

Would it be possible to have the script do that calculation based on a users floor to floor dimension, then a tweak / overide on the stair 'rise' to end up with the number of steps needed rather than entering the number of steps first as per the script.

Also would it be possible to set a dimension for the 'waist' ie the diagonal distance between back of a going and under side of flight. Generally 150 -200mm.

And finally the possibility to have a sloping rise where the nosing is forward of the vertical for example 25mm. So in affect the going is extended by 25mm.

A lot to ask. Thanks again.
............................................

http://blendervse.wordpress.com/

Last edited by yellow; 25-Nov-08 at 22:19.
#8   Old 25-Nov-08, 22:16   
Reply With Quote
gucias's Avatar
gucias gucias is offline
Member
 
Join Date: Sep 2005
Location: Poland
Posts: 102
this script is only first step to do professional script to make stairs.
Now I work on diffrent more architectural way to calculate stairs

cheers
#9   Old 26-Nov-08, 10:25   
Reply With Quote
meschoyez's Avatar
meschoyez meschoyez is offline
Member
 
Join Date: Dec 2006
Location: Córdoba, corazón de mi país ;) Argentina
Posts: 749
Great script! you make me want to learn python... so, maybe i start today... thanks a lot!
............................................
my Flickr Gallery
my videos

www.epanimation.com.ar | my studio
#10   Old 26-Nov-08, 11:59   
Reply With Quote
Meta-Androcto's Avatar
Meta-Androcto Meta-Androcto is offline
Member
 
Join Date: Aug 2006
Location: australia
Posts: 2,562
hi again gucias,
i wish you well with your plans.
here is the Spiral Stairway script:
http://blender-archi.tuxfamily.org/Scripts
that leads to if you follow the links.....
http://blhps.dizayn.de/bilg/blender/spista.html
here is the wiki page for the Circular Stairway script.
http://wiki.blender.org/index.php/Sc...cular_Stairway
there may be some useful code/ideas for you there.
Good Luck!

Last edited by Meta-Androcto; 26-Nov-08 at 14:49. Reason: bah, read, ricky read.
#11   Old 26-Nov-08, 12:42   
Reply With Quote
RickyBlender's Avatar
RickyBlender RickyBlender is online now
Member
 
Join Date: Jan 2008
Posts: 7,328
tried to download the first script from wiki
but refused to download ?

can you set a URL where we could download it - the Py fie


it owuld definitively be intersting to combine all 3 script into one
and have more options available

it' great to have choices it gives more flexibility and faster too

great work for theses stairwell guys


Thnaks
#12   Old 26-Nov-08, 14:10   
Reply With Quote
migius's Avatar
migius migius is offline
Member
 
Join Date: Mar 2005
Location: Berlin, Germany
Posts: 566
Quote:
Originally Posted by gucias View Post
this script is only first step to do professional script to make stairs. Now I work on diffrent more architectural way to calculate stairs
nice script. nice result after 3 days learning python.
A good candidate to be a part of cad/arch toolkit script.
keep it going. (dobry poczatek)
waiting for optimized version. normals need better control.
migius
#13   Old 26-Nov-08, 18:39   
Reply With Quote
RickyBlender's Avatar
RickyBlender RickyBlender is online now
Member
 
Join Date: Jan 2008
Posts: 7,328
with some more options

liek in the physical world usually you begin by determining the space or the area available or the whole for the stairs this could be round or rectangular space


then you have the height between top of floor and the ceiling _height of the ceiling

from this you can determine the number of steps and the last step might need some adjustment to fit the stairs in

and with this you can design almost anytype of stairs

also there are some constraint for the min max height of steps
alos on the depth of steps
and for wood steps there is a mini max for the thickness of the step

anyway theses are ideas that would be great to implement for a more complete stair script


hey wish you good luck and hopefully you can come back soon with a better version

keep up the good work
Thanks
#14   Old 27-Nov-08, 13:52   
Reply With Quote
gucias's Avatar
gucias gucias is offline
Member
 
Join Date: Sep 2005
Location: Poland
Posts: 102
..and little update

http://www.gucias.republika.pl/staircreator120.zip


cheers
#15   Old 27-Nov-08, 17:35   
Reply With Quote
RickyBlender's Avatar
RickyBlender RickyBlender is online now
Member
 
Join Date: Jan 2008
Posts: 7,328
i put the script with the png pic in a folder and did a test
but it gave an erro that i could not load the pic?

what can i do to correct that
wold it be possible to make it load fron the same folder whre the file is
py and blend is located

Thanks

Last edited by RickyBlender; 27-Nov-08 at 18:03.
#16   Old 27-Nov-08, 18:00   
Reply With Quote
gucias's Avatar
gucias gucias is offline
Member
 
Join Date: Sep 2005
Location: Poland
Posts: 102
Image must be in scripts folder
#17   Old 28-Nov-08, 10:03   
Reply With Quote
gucias's Avatar
gucias gucias is offline
Member
 
Join Date: Sep 2005
Location: Poland
Posts: 102
New update accessible see first post
#18   Old 29-Nov-08, 14:55   
Reply With Quote
stanmarsh stanmarsh is offline
Member
 
Join Date: Jul 2008
Posts: 121
hi gucias,

the downloaded zip is still the 1.20 version.
#19   Old 29-Nov-08, 15:46   
Reply With Quote
gucias's Avatar
gucias gucias is offline
Member
 
Join Date: Sep 2005
Location: Poland
Posts: 102
now link is working v.1.3.0
#20   Old 29-Nov-08, 16:49   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 23:06.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists