help with my project

hi iam pretty new to breve n struggling to undertand the syntaxes .. can anyone tell me how to create Cylinder in simulation

thanks very much

help with my project

not too sure what you want here but if you look up regular polygons i think in the manual you can set a shape up by inputting the number of sides you want. ie 3 would be a triangler based prisom, 4 sides would be a cuboid, so if you make the number big enough it would seem to be like a cylinder.

there have been posts about this i think it had something to do with elfe.
before your post you should search the forum incase the questoin you have has already been adressed.

help with my project

You'll want to look at the class PolygonDisk, which is included in the file Shape.tz. By giving a PolygonDisk a large number of sides, it will resemble a cylinder.

Here's some sample code:

disk = new PolygonDisk.
disk init-with radius 1.0 sides 30 height 3.0.

- jon

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.