Resolved Even Diameter Cylinder

Discussion in 'WorldEdit' started by SenseiTech, Jul 30, 2017.

  1. SenseiTech

    SenseiTech New Member

    Hi,
    I am trying to make an even diameter cylinder for a build. But the center of //hcyl is on one block. Is it possible to make it on a 2x2 block? I tried using decimals but the center is still on one block. Any help would be much appreciated.
    -SenseiTech
  2. wizjany

    wizjany Administrator Developer

    probably have to use //gen with a custom expression
  3. SenseiTech

    SenseiTech New Member

    Can you provide an expression that would work?
    Thanks
  4. wizjany

    wizjany Administrator Developer

    something along the lines of x^2 + z^2 < r and plugin in your desired radius for r using the right coordinate mode.
  5. SenseiTech

    SenseiTech New Member

    Thanks, this worked!