SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
concrete.RebarAttMixin.RebarAttMixin Class Reference

No documentation available. More...

Inheritance diagram for concrete.RebarAttMixin.RebarAttMixin:
concrete.RebarSegment.SmartRebarLayout

Methods defined here:

def GetSpecializedAttributes
def TailorRebarSystemUI
def __init__

Data descriptors defined here:

def PromptForLayout
 Indicates whether or not to prompt for a layout from RebarSystem Add.
def PublicAtts
def RebarMaxLength
 Maximum length of a rebar piece.
def RebarMinCornerLength
 The minimum length for a piece of rebar that wraps around a corner.
def RebarOverlapMultiplier
 The value used to calculate the overlap for rebar pieces.
def ScreenAttributes
 Unique attributes that the member needs on the rebar screen.
def __dict__
 dictionary for instance variables (if defined)
def __weakref__
 list of weak references to the object (if defined)

Detailed Description

No documentation available.

Constructor & Destructor Documentation

def concrete.RebarAttMixin.RebarAttMixin.__init__ (   args)
 __init__(args)

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

Member Function Documentation

def concrete.RebarAttMixin.RebarAttMixin.__dict__ (   args)

dictionary for instance variables (if defined)

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

def concrete.RebarAttMixin.RebarAttMixin.__weakref__ (   args)

list of weak references to the object (if defined)

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

def concrete.RebarAttMixin.RebarAttMixin.GetSpecializedAttributes (   args)
 Returns a Versions type dictionary that gives the specialized attributes
 necessary for RebarSystems that are attached to members of this type
 along with their default values.

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

def concrete.RebarAttMixin.RebarAttMixin.PromptForLayout (   args)

Indicates whether or not to prompt for a layout from RebarSystem Add.

Some concrete members don't need a prompting for a custom layout polygon

Returns: bool – prompt for layout in modeling when adding a RebarSystem

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

def concrete.RebarAttMixin.RebarAttMixin.PublicAtts (   args)
def concrete.RebarAttMixin.RebarAttMixin.RebarMaxLength (   args)

Maximum length of a rebar piece.

rebar comes in pre cut lengths, any rebar system needs to be made up of layouts that respect that length

Returns: float – the maximum allowable length

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

def concrete.RebarAttMixin.RebarAttMixin.RebarMinCornerLength (   args)

The minimum length for a piece of rebar that wraps around a corner.

when a rebar piece goes around a corner, there is a minimum distance to the bend

Returns: float – minimum distance to the bend of the corner

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

def concrete.RebarAttMixin.RebarAttMixin.RebarOverlapMultiplier (   args)

The value used to calculate the overlap for rebar pieces.

OverlapMultiplier * rebar diameter dictates how long the pieces need to overlap

Returns: float – value use to calculate overlap

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

def concrete.RebarAttMixin.RebarAttMixin.ScreenAttributes (   args)

Unique attributes that the member needs on the rebar screen.

The names must be strings and match attribute names in RebarSystem/Version.py

Returns: list – attribute names that the member needs on the edit screen

Reimplemented in concrete.RebarSegment.SmartRebarLayout.

def concrete.RebarAttMixin.RebarAttMixin.TailorRebarSystemUI (   args)
 Makes modifications to the RebarSystem UI to tailor it to the member.
 Argument:
     frame: the frame in which new widgets can be added.
     widgets: a dictionary of pairs of widgets and dialog.pusher.Pushers 
         for the default RebarSystem properties.

Reimplemented in concrete.RebarSegment.SmartRebarLayout.