Script outputs a circle but not a cylinder

 From:  Michael Gibson
5441.10 In reply to 5441.9 
Hi Martin, it sounds like you've got it all figured out now?

Basically these factories are set up to work with the draw commands, so their input behavior will generally work the same as how the drawing command works.

For a cylinder there are 6 inputs:

0 = boolean value true = distance input is radius, false = distance input is diameter
1 = frame for cylinder bottom base point and axis directions
2 = point that defines the radius, this can be left out if a numeric radius is supplied instead
3 = numeric radius (or diameter) value.
4 = top point of the cylinder, this is required and also the orientation of the cylinder will be modified to point towards this point
5 = optional numeric height input, if this is supplied the cylinder will point towards the top point but will be this specific height instead of touching the top point


These map to the different possible options and steps in the drawing command.

- Michael