Skip to content

Commit

Permalink
make sure 3D models are tagged as needing manual previews
Browse files Browse the repository at this point in the history
- Some of them had custom or default commands that didn't compile
- We want models to tell the truth about their preview commands

that being said, if/when NetLogo/NetLogo#833
is completed, some the custom commands eliminated here could very
well be reused.
  • Loading branch information
nicolaspayette committed May 18, 2016
1 parent 7b3aae0 commit f40189d
Show file tree
Hide file tree
Showing 33 changed files with 67 additions and 91 deletions.
3 changes: 2 additions & 1 deletion 3D/Code Examples/Bouncing Balls Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
5 changes: 2 additions & 3 deletions 3D/Code Examples/Neighborhoods Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
paint-neighbors
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Code Examples/Network Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -471,8 +471,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
4 changes: 2 additions & 2 deletions 3D/Code Examples/Shapes Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
7 changes: 3 additions & 4 deletions 3D/Code Examples/Spherical Path Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ CHOOSER
165
step-size
step-size
10 1 0.1 0.0010
10 1 0.1 0.001
1

CHOOSER
Expand Down Expand Up @@ -491,10 +491,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
repeat 75 [ go-distance ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Code Examples/Three Loops Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Code Examples/Trails Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Code Examples/Turtle Dance Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Code Examples/Turtle Perspective Example 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -866,9 +866,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup-uniform
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
6 changes: 2 additions & 4 deletions 3D/Sample Models/DLA 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
set use-whole-world? false
setup
repeat 450 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
7 changes: 2 additions & 5 deletions 3D/Sample Models/Fireworks 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -712,12 +712,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
set trails? true
set fireworks 30
setup
repeat 50 [ launch-rockets fall-down ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
6 changes: 2 additions & 4 deletions 3D/Sample Models/Flocking 3D Alternate.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -923,11 +923,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
watch turtle 0
repeat 500 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
6 changes: 2 additions & 4 deletions 3D/Sample Models/Flocking 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -753,11 +753,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
repeat 400 [ go ]
follow one-of ( turtles with-max [ count flockmates ] )
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
6 changes: 2 additions & 4 deletions 3D/Sample Models/Follower 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -618,11 +618,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
follow one-of turtles
repeat 225 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
8 changes: 2 additions & 6 deletions 3D/Sample Models/GasLab/GasLab Free Gas 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -1184,13 +1184,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
set trace? false
setup
orbit-down 45
orbit-right 45
repeat 2000 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
<experiments>
Expand Down
4 changes: 2 additions & 2 deletions 3D/Sample Models/GasLab/GasLab Single Collision 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -1187,9 +1187,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Sample Models/GasLab/GasLab Two Gas 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -1413,8 +1413,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Sample Models/Hydrogen Diffusion 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -1012,8 +1012,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
5 changes: 2 additions & 3 deletions 3D/Sample Models/Life 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -621,10 +621,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup-normal
repeat 20 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
7 changes: 2 additions & 5 deletions 3D/Sample Models/Mousetraps 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -503,12 +503,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
set power 0.35
repeat 325 [ go ]
setxyz 16 -30 16
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
5 changes: 2 additions & 3 deletions 3D/Sample Models/Percolation 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
repeat world-depth - 1 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
6 changes: 2 additions & 4 deletions 3D/Sample Models/Preferential Attachment 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -690,11 +690,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
set layout? false
setup repeat 175 [ go ]
repeat 35 [ layout ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Sample Models/Raindrops 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
7 changes: 2 additions & 5 deletions 3D/Sample Models/Rope 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -711,12 +711,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
set y-frequency-green 20
zoom 60
repeat 200 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
5 changes: 2 additions & 3 deletions 3D/Sample Models/Sand 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -474,10 +474,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
repeat 200 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
4 changes: 2 additions & 2 deletions 3D/Sample Models/Sierpinski Simple 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup repeat 7 [ go ]
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
7 changes: 2 additions & 5 deletions 3D/Sample Models/Sunflower 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -541,12 +541,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
setup
repeat 350 [ go ]
setxyz -0.5 -24 -2.5
facexyz 0 -0.5 3
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down
3 changes: 2 additions & 1 deletion 3D/Sample Models/Surface Walking 3D.nlogo3d
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,9 @@ Polygon -7500403 true true 270 75 225 30 30 225 75 270
Polygon -7500403 true true 30 75 75 30 270 225 225 270

@#$#@#$#@
NetLogo 3D 6.0-M4
NetLogo 3D 6.0-M6
@#$#@#$#@
need-to-manually-make-preview-for-this-model
@#$#@#$#@
@#$#@#$#@
@#$#@#$#@
Expand Down

0 comments on commit f40189d

Please sign in to comment.