buckeyevr

Untitled

Feb 21st, 2019
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1. // Example Combined.bvr\n \n// Parametric curve\nhelix=parametricCurve\nhelix.setMinMax=t,0,10\nhelix.setEquation= x, (3*cos(t))\nhelix.setEquation=y, (3*sin(t)-10) \nhelix.setEquation=z,(0)\nhelix.setSegmentCount=20\nhelix.setThickness=0.2\nhelix.color=red\nhelix.spawn\n \n// Parametric surface\ncyl=parametricSurface\ncyl.setMinMax=s,0,6.5\ncyl.setMinMax=t,0,6.5\ncyl.setEquation=x,((2+cos(t))*cos(s))\ncyl.setEquation=y,((2+cos(t))*sin(s)-10)\ncyl.setEquation=z,(sin(t))\ncyl.setSegmentCount=20 \ncyl.color=blue\ncyl.spawn \n\n// Parametric curve\n2helix=parametricCurve\n2helix.setMinMax=t,0,10\n2helix.setEquation= x, (3*cos(t)+5)\n2helix.setEquation=y, (3*sin(t)-5*sqrt(3)) \n2helix.setEquation=z,(0)\n2helix.setSegmentCount=20\n2helix.setThickness=0.2\n2helix.color=red\n2helix.spawn\n \n// Parametric surface\n2cyl=parametricSurface\n2cyl.setMinMax=s,0,6.5\n2cyl.setMinMax=t,0,6.5\n2cyl.setEquation=x,((2+cos(t))*cos(s)+5)\n2cyl.setEquation=y,((2+cos(t))*sin(s)-5*sqrt(3))\n2cyl.setEquation=z,(sin(t))\n2cyl.setSegmentCount=20 \n2cyl.color=blue\n2cyl.spawn \n\n\n3helix=parametricCurve\n3helix.setMinMax=t,0,10\n3helix.setEquation= x, (3*cos(t)+5*sqrt(3))\n3helix.setEquation=y, (3*sin(t)-5) \n3helix.setEquation=z,(0)\n3helix.setSegmentCount=20\n3helix.setThickness=0.2\n3helix.color=red\n3helix.spawn\n \n// Parametric surface\n3cyl=parametricSurface\n3cyl.setMinMax=s,0,6.5\n3cyl.setMinMax=t,0,6.5\n3cyl.setEquation=x,((2+cos(t))*cos(s)+5*sqrt(3))\n3cyl.setEquation=y,((2+cos(t))*sin(s)-5)\n3cyl.setEquation=z,(sin(t))\n3cyl.setSegmentCount=20 \n3cyl.color=blue\n3cyl.spawn
Advertisement
Add Comment
Please, Sign In to add comment