No documentation available.
More...
Data descriptors inherited from Designable.Processable.Processable: |
def | __dict__ |
| dictionary for instance variables (if defined)
|
def | __weakref__ |
| list of weak references to the object (if defined)
|
def | material_creation_phases |
Data descriptors inherited from Component.Component: |
def | description |
| Text displayed in the model tree and during hover.
|
def | graphical |
| True iff the component is graphical.
|
def | member_number |
| Number of the member the component is attached to or 0 if unattached.
|
def | ref_point |
| Reference point in member coordinates.
|
def | uuid |
| Unique id assigned to a component when it is added to a member.
|
Data and other attributes inherited from Boost.Python.instance: |
def | __new__ |
Detailed Description
No documentation available.
Method resolution order
EndComponent
ProcessableComponent
Designable.Processable.Processable
Component.Component
Boost.Python.instance
builtin.object
Constructor & Destructor Documentation
def Designable.ProcessableComponent.EndComponent.__init__ |
( |
|
args | ) |
|
Member Function Documentation
def Designable.ProcessableComponent.EndComponent.__dict__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__eq__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__getinitargs__ |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.__getstate__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__ne__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__new__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__reduce__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__repr__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__setstate__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__str__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.__weakref__ |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.Add |
( |
|
arg1, |
|
|
|
member_number |
|
) |
| |
def Designable.ProcessableComponent.EndComponent.CanBeCopiedToOtherMembers |
( |
|
arg1 | ) |
|
- Returns
- Instance of type bool
Return True iff this component can be copied to other members.
By default any component can be copied to any member but components
can override this method if that behavior is inappropriate.
- Note
- Additional signature: CanBeCopiedToOtherMembers( (Component)arg1) -> bool
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.Clone |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateDependentMaterial |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateDependentMaterialOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateHoleMatch |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateHoleMatchOnMainMaterial |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateHoleMatchOnMainMaterialOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateHoleMatchOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateHoleOnMainMaterial |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateHoleOnMainMaterialOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateMaterial |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateMaterialOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.CreateUI |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
- Returns
- Instance of type None
A method that must be provided by the implementer of the
component. Called by Member Edit framework to build the
component's edit controls on the Member Edit screen.
- Note
- Additional signature: CreateUI( (Component)arg1, (MemberEditController)arg2) -> None
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.CreateViews |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.Description |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.description |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.Design |
( |
|
args | ) |
|
if not self.graphical:
self.ResetMaterialCreationPhases()
return (True if self.UseJustInTimeDesign() else
self.DesignForMember(self.member_number)
)
The default implementation above is suitable for most plugins. Plugins
should override DesignForMember instead.
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.DesignForMember |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.Edit |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.EditBeforeAddingToMember |
( |
|
self, |
|
|
|
member_number |
|
) |
| |
- Returns
- Instance of type bool
The edit screen before a component is actually added to the member
during the component add tool. The default implementation is to call
the normal Edit method.
- Note
- Additional signature: EditBeforeAddingToMember( (Component)self, (int)member_number) -> bool
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.Elevation |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.Finalize |
( |
|
arg1 | ) |
|
- Returns
- Instance of type None
A method that must be provided by the implementer of the
component. Perform any clean-up required by the component
during Member Edit. (E.g. del the User Interface.)
- Note
- Additional signature: Finalize( (Component)arg1) -> None
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.GetGraphical |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.GetLayouts |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.GetMaterialCreationPhases |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GetMemberNumber |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.GetReferencePoint |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.GetState |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GlobalReferencePoint |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.graphical |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GraphicalCreateDependentMaterial |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GraphicalCreateDependentMaterialOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GraphicalCreateHoleMatch |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GraphicalCreateHoleMatchOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GraphicalCreateMaterial |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GraphicalCreateMaterialOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GraphicalProcessFinal |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.GraphicalProcessFinalOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.Hash |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.HasYetToBeAddedToJob |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.IsAllowedOnMember |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.IsEraseable |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.IsExistingComponent |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.IsValid |
( |
|
arg1 | ) |
|
def Designable.ProcessableComponent.EndComponent.Load |
( |
|
arg1 | ) |
|
- Returns
- Instance of type None
A method that must be provided by the implementer of the
component. Initializes the user interface elements created in
CreateUI with values from the component.
- Note
- Additional signature: Load( (Component)arg1) -> None
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.material_creation_phases |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.member_number |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.MembersCurrentlyObserved |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.MembersObservedInLatestDesign |
( |
|
args | ) |
|
flatten = lambda l: sum(l, [])
return Existing.UniqueListOfMemberNumbers(
flatten([d.ObjectsImpactingDesign() for d in flatten(self.material_creation_phases)])
)
The default implementation should be suitable.
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.Modifies |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.MoveToEnd |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.MultiEdit |
( |
|
arg1, |
|
|
|
list_of_other_components_to_edit |
|
) |
| |
- Returns
- Instance of type bool
Prompt the user with a stand alone multi edit screen. Return
True to indicate the user closed the screen by choosing the
'OK' button. Components do not support multi edit by default.
- Note
- Additional signature: MultiEdit( (Component)arg1, (list)list_of_other_components_to_edit) -> bool
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.OnErase |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.OnGraphicalToggle |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.OnMaterialEvent |
( |
|
args | ) |
|
The default implementation for Processable's OnMaterialEvent can be a
little smarter than the default implementation for MemberBase and Component
because it only turns graphical when the uuid is on a member that is in
the MembersCurrentlyObserved() list.
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.OnMaterialEvent |
( |
|
args | ) |
|
The default implementation for Processable's OnMaterialEvent can be a
little smarter than the default implementation for MemberBase and Component
because it only turns graphical when the uuid is on a member that is in
the MembersCurrentlyObserved() list.
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.OnMaterialEvent |
( |
|
args | ) |
|
The default implementation for Processable's OnMaterialEvent can be a
little smarter than the default implementation for MemberBase and Component
because it only turns graphical when the uuid is on a member that is in
the MembersCurrentlyObserved() list.
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.OnMaterialNonGraphicalEvent |
( |
|
arg1, |
|
|
|
mtrl_guid, |
|
|
|
material_event_id |
|
) |
| |
- Returns
- Instance of type None
Called when one of the component created materials is changed
in a way that does not typically result in user material, e.g
a user changes the color. The default implementation does nothing.
- Note
- Additional signature: OnMaterialNonGraphicalEvent( (Component)arg1, (Uuid)mtrl_guid, (MaterialEvent)material_event_id) -> None
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.OnMemberCopy |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.OnMemberMirrorCopy |
( |
|
arg1, |
|
|
|
original_member_to_mirrored_member_transform |
|
) |
| |
- Returns
- Instance of type None
Called when a member is copied and mirrored. This method should mirror
any other atrributes appropriately given the specified transform. The
default implementation mirrors ref_point attribute. It should
not perform any user interaction.
- Note
- Additional signature: OnMemberMirrorCopy( (Component)arg1, (Transform3D)original_member_to_mirrored_member_transform) -> None
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.ProcessFinal |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.ProcessFinalOther |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.ref_point |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.ref_point_in_global |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.RegisterDesignProxy |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.Reset |
( |
|
arg1 | ) |
|
- Returns
- Instance of type None
A method that must be provided by the implementer of the
component. Restores the values in the UI elements created
in CreateUI to their initial values.
- Note
- Additional signature: Reset( (Component)arg1) -> None
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.ResetMaterialCreationPhases |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.Save |
( |
|
arg1 | ) |
|
- Returns
- Instance of type None
A method that must be provided by the implementer of the
component. Extracts the values in the UI elements created
in CreateUI and sets them in the component.
- Note
- Additional signature: Save( (Component)arg1) -> None
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.SetGlobalReferencePoint |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.SetGraphical |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
def Designable.ProcessableComponent.EndComponent.SetMaterialCreationPhases |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.SetReferencePoint |
( |
|
arg1, |
|
|
|
arg2 |
|
) |
| |
def Designable.ProcessableComponent.EndComponent.SetReferencePointForMemberUI |
( |
|
args | ) |
|
SetReferencePointForMemberUI(args)
def Designable.ProcessableComponent.EndComponent.SetToLeftEnd |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.SetToRightEnd |
( |
|
args | ) |
|
def Designable.ProcessableComponent.EndComponent.UseJustInTimeDesign |
( |
|
args | ) |
|
Return True iff the plugin should postpone DesignForMember until it
needs to create material the first time. Delaying DesignForMember
until solids creation allows for a greater number existing parametrics
that design around actual material on a member to work without
modification. Also, doing so avoids designing around information on
the member that SDS2 connection design occasionally changes after Design.
Reimplemented from Designable.ProcessableComponent.ProcessableComponent.
def Designable.ProcessableComponent.EndComponent.uuid |
( |
|
args | ) |
|
Member Data Documentation
Designable.ProcessableComponent.EndComponent.__getstate_manages_dict__ = True |
|
staticprivate |
int Designable.ProcessableComponent.EndComponent.__instance_size__ = 40 |
|
staticprivate |
Designable.ProcessableComponent.EndComponent.__safe_for_unpickling__ = True |
|
staticprivate |
int Designable.ProcessableComponent.EndComponent.LEFT_END = 0 |
|
static |
int Designable.ProcessableComponent.EndComponent.RIGHT_END = 1 |
|
static |
Designable.ProcessableComponent.EndComponent.UseSmallMaterialCreationPhasesPickle = False |
|
static |