Profile PictureRivanoor Bren
$0+

rBStair

49 ratings
Add to cart

rBStair

$0+
49 ratings

Simple tool for extruding stair. Create flat stair from your plan, convert to poly, select start step and click <create stair>.

Most of stair scripts around are dependent of polygon number order. When you create stair from attaching multiple spline without orderly fashion you will get random polygon order in your editable poly object. This script will sort adjacent polys and save the number in an orderly array before extruding polygons.


CHANGE LOG:


v0.0.5: (06:03 10/19/2024)

  • Rewrite to single struct with install option. Now you can install it using rightClick UI > install rBStair. The script will be available under rBScript category. Do not move the script file after installation or macro will cease to work.
  • Add stair treads only to creation type (Control+click “Create stair”)
  • Enhance Auto Update function. Auto update now visible in UI (instead of right click in v0.0.4). New features of auto update:

    When no object is selected, it will update latest rBStair object created in scene (if both stair-base and stair object exist). This data saved in rootscene with id 9310. You can check with “getAppData rootscene 9310” to see the last node handle saved or delete it in unlikely case any other script also using it.

    When objects are selected, it will:
    -. If object is stair-base (that is planar editable_poly used to create rBStair objects), it will update all rBStair objects that was generated using this stair-base object. For example, if one stair-base is used to create many stair objects or when stair objects are copied/instanced, then all of these stair objects share one common stair-base. Auto update then will update all of its generated objects (including copy/instance objects).
    -. If objects are stair objects (named “rBStair_xxx” by default, although it can be renamed), the script will search its corresponding stair-base object. If stair-base object exist in scene, it will update the stair objects.
    -. Both of these functions relies on object’s “user defined properties“. For stair objects the property is “rBStair_base“. For stair-base objects the property is “rBStair_param“. Remove these properties to exclude your final objects from Auto update mechanism.

    Auto update will only update height and flip options. Stair type (ie: basic, boxed or treads only) will be retained.
  • You can select multiple stair-base or stair object and modify them in one go.
  • The “Basic stair” type is still the longest calculation due switch to “max modify mode”. For example using the same stair-base:
    -. rBStair_002 updated in 0.328s (basic)
    -. rBStair_003 updated in 0.016s (tread only)
    -. rBStair_004 updated in 0.01s (boxed)
  • Button “Create stair” is off when Auto update is active to avoid accidental clicking. It also prevent new stair object creation when doing Auto update.
  • Remove “Extrude type” option from UI.


v0.0.4: (14:02 8/13/2021)

  • Auto update stair creation (rightClick [Create stair] > Auto update)
    Only work if base object still available. 
  • Simplified UI. You can drag dialog around by click and drag on empty rollout space
  • Small help (rightClick [Create stair] > help)


v0.0.3 : (07:33 3/28/2021)

  • No need to pick subobject polygon as firststep anymore.
    Now its done via sorting polys which atleast has 2 verts which are not shared with another poly
  • Fix random missing riser. Thanks to ali shafiee for reporting the bug. Weld all vertices before extruding, also related to object pos from origin
  • Fix nagging messagebox for original object deletion
  • Set 2 materialID for tread and riser
  • Set subobjectlevel = 0 if subobject is still on when user create stair otherwise it causes weird viewport artifact



Comment/question/bug report:

https://rivanoor.info/2021/03/15/rbstair/
https://www.scriptspot.com/3ds-max/scripts/rbstair

$
Add to cart
Copy product URL

Ratings

4.9
(49 ratings)
5 stars
94%
4 stars
4%
3 stars
2%
2 stars
0%
1 star
0%
No products found