Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DMDesign
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amanda Ghassaei
DMDesign
Commits
97df6666
Commit
97df6666
authored
10 years ago
by
Amanda Ghassaei
Browse files
Options
Downloads
Patches
Plain Diff
parts removed when needed
parent
3c9de402
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
js/fea/dmaCell.js
+3
-0
3 additions, 0 deletions
js/fea/dmaCell.js
js/fea/dmaPart.js
+4
-0
4 additions, 0 deletions
js/fea/dmaPart.js
js/menus/LatticeMenuView.js
+1
-1
1 addition, 1 deletion
js/menus/LatticeMenuView.js
main.html
+3
-5
3 additions, 5 deletions
main.html
with
11 additions
and
6 deletions
js/fea/dmaCell.js
+
3
−
0
View file @
97df6666
...
...
@@ -147,6 +147,9 @@
DMACell
.
prototype
.
remove
=
function
(){
if
(
this
.
cellMesh
)
window
.
three
.
sceneRemove
(
this
.
cellMesh
);
_
.
each
(
this
.
parts
,
function
(
part
){
part
.
remove
();
});
};
DMACell
.
prototype
.
_destroy
=
function
(){
...
...
This diff is collapsed.
Click to expand it.
js/fea/dmaPart.js
+
4
−
0
View file @
97df6666
...
...
@@ -91,6 +91,10 @@
if
(
this
.
mesh
)
this
.
mesh
.
visible
=
false
;
};
DMAPart
.
prototype
.
remove
=
function
(){
if
(
this
.
mesh
)
window
.
three
.
sceneRemove
(
this
.
mesh
);
};
DMAPart
.
prototype
.
_destroy
=
function
(){
this
.
parentCell
=
null
;
};
...
...
This diff is collapsed.
Click to expand it.
js/menus/LatticeMenuView.js
+
1
−
1
View file @
97df6666
...
...
@@ -38,7 +38,7 @@ LatticeMenuView = Backbone.View.extend({
},
_formatData
:
function
(){
var
formattedCellType
=
"
Octa
gon
"
;
var
formattedCellType
=
"
Octa
hedral
"
;
var
formattedConnectionType
=
"
Face-Connected
"
;
return
{
formattedCellType
:
formattedCellType
,
formattedConnectionType
:
formattedConnectionType
};
},
...
...
This diff is collapsed.
Click to expand it.
main.html
+
3
−
5
View file @
97df6666
...
...
@@ -75,9 +75,6 @@
<nav
class=
"navbar navbar-inverse navbar-embossed"
role=
"navigation"
>
<div
class=
"navbar-header"
>
<!--<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-01">-->
<!--<span class="sr-only">Toggle navigation</span>-->
<!--</button>-->
<a
id=
"mainNavLink"
class=
"navbar-brand"
href=
"http://cba.mit.edu"
><img
id=
"logo"
src=
"assets/logo.png"
></a>
</div>
<div
class=
"collapse navbar-collapse"
id=
"navbar-collapse-01"
>
...
...
@@ -96,11 +93,12 @@
</li>
<li><a
data-menu-id=
"about"
class=
"menuHoverControls"
href=
"#"
>
About
</a></li>
</ul>
<ul
class=
"nav navbar-nav
navbar
-right"
>
<ul
class=
"nav navbar-nav
pull
-right"
>
<li><a
id=
"showHideMenu"
data-state=
true
class=
"menuHoverControls"
href=
"#"
>
Hide Menu >>
</a></li>
</ul>
<!--<a href="#fakelink" id="clearAll" class=" btn btn-lg btn-primary">Clear All</a>-->
</div>
<!-- /.navbar-collapse -->
</nav>
<div
id=
"menuWrapper"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment