Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
680276e7
Commit
680276e7
authored
Jan 22, 2014
by
Ioannis Papagiannopoulos
Committed by
Jérome Perrin
Feb 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments added to MouldAssemblyBuffer
parent
b2ece5cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
dream/simulation/MouldAssemblyBuffer.py
dream/simulation/MouldAssemblyBuffer.py
+8
-2
No files found.
dream/simulation/MouldAssemblyBuffer.py
View file @
680276e7
...
...
@@ -59,8 +59,14 @@ class MouldAssemblyBuffer(QueuePreemptive):
activeObjectQueue
.
sort
(
key
=
lambda
x
:
not
x
.
order
.
name
==
activeEntity
.
order
.
name
)
# =======================================================================
# extend he default so that it sets order.basicsEnded to 1
# if all the mould components are present in the activeQ
# extend the default so that it sets order.basicsEnded to 1
# if all the mould components are present in the activeQ.
# In addition, check if the activeQ has received all the entities
# of the same parentOrder needed to assemble the mould and set
# the corresponding componentsReadyForAssembly flag of the parentOrder.
# We suppose that only one MouldAssembly buffer is present in the topology
# and thus there is no need to check if entities of the same parentOrder
# are present in other MouldAssemblyBuffers
# =======================================================================
def
getEntity
(
self
):
activeObject
=
self
.
getActiveObject
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment