Browse Source

Trying to get this to work

master
Trevor Irons 8 years ago
parent
commit
2b04c93c28
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      examples/magnet/toroid.geo

+ 3
- 2
examples/magnet/toroid.geo View File

55
 //Extrude Surface {50, {0,1,0}, {-tl,0,0}, 2*Pi/3}; //{Layers{10,73,1};};
55
 //Extrude Surface {50, {0,1,0}, {-tl,0,0}, 2*Pi/3}; //{Layers{10,73,1};};
56
 
56
 
57
 /* Make a list of a ring (annulus) of surfaces around the hole */
57
 /* Make a list of a ring (annulus) of surfaces around the hole */
58
-allParts[] = {tv1[0], tv2[0], tv3[0]};
58
+//allParts[] = {tv1[1], tv2[1], tv3[1]};
59
 
59
 
60
 /* Make surfaces to be meshed by transfinite algorithm */
60
 /* Make surfaces to be meshed by transfinite algorithm */
61
 //Transfinite Surface {allParts[]};
61
 //Transfinite Surface {allParts[]};
99
 v[] = Extrude {0, 0, Z1-Z0} { Surface{bs}; };
99
 v[] = Extrude {0, 0, Z1-Z0} { Surface{bs}; };
100
 
100
 
101
 /* This is GOOD */
101
 /* This is GOOD */
102
-Surface{ allParts } In Volume{v[1]};
102
+//Surface{ allParts[1] } In Volume{v[1]};
103
+Surface{ ps } In Volume{v[1]};
103
 //Surface{t1[0]} In Volume{v[1]};
104
 //Surface{t1[0]} In Volume{v[1]};
104
 //Surface{t2[0]} In Volume{v[1]};
105
 //Surface{t2[0]} In Volume{v[1]};
105
 //Surface{t3[0]} In Volume{v[1]};
106
 //Surface{t3[0]} In Volume{v[1]};

Loading…
Cancel
Save