Growing up a 3D cylinder from ground


#1

Hi,

perhabs a very easy and stupid question (but sometimes i am stupid):

how can i set up a 3d cylinder in fusion that grows up from the ground and not from his mid-point (using the high-slider)? The pivot axis has no effect…

Thanks a lot!
nanni700


#2

if you set the pivot to the ground of the cylinder and then play with the y-size slider it will grow from the bottom to the top


#3

Hi pingking,

thanks for that hint. Unfortunately there need to be a bend node in the pipeline (see attachment), so scale doesnt work. I have to use the high slider…

I guess a script would help but thats not my strength.

Any other idea?

Thanks in advance!


#4

i dont see why using the scale slider in the shape3d node should be different when you using a bend3d afterwards

copy and paste into your fusion flow:


{
    Tools = ordered() {
        Bender3D1 = Bender3D {
            Inputs = {
                SceneInput = Input {
                    SourceOp = "Shape3D1",
                    Source = "Output",
                },
                Amount = Input { Value = -0.4095238, },
                Center = Input { Value = 0, },
            },
            ViewInfo = OperatorInfo { Pos = { 330, 148.5, }, },
        },
        Shape3D1 = Shape3D {
            CtrlWZoom = false,
            Inputs = {
                ["Transform3DOp.Translate.Y"] = Input { Value = 0.5, },
                ["Transform3DOp.PivotNest"] = Input { Value = 1, },
                ["Transform3DOp.Pivot.Y"] = Input { Value = -0.5, },
                ["Transform3DOp.ScaleLock"] = Input { Value = 0, },
                ["Transform3DOp.Scale.Y"] = Input { Value = 10, },
                Shape = Input { Value = FuID { "SurfaceCylinderInputs", }, },
                ["MtlStdInputs.MaterialID"] = Input { Value = 1, },
                ["SurfacePlaneInputs.ObjectID.ObjectID"] = Input { Value = 1, },
                ["SurfaceSphereInputs.ObjectID.ObjectID"] = Input { Value = 2, },
                ["SurfaceCylinderInputs.Radius"] = Input { Value = 0.1, },
                ["SurfaceCylinderInputs.Height"] = Input { Value = 1, },
                ["SurfaceCylinderInputs.SubdivisionLevelHeight"] = Input { Value = 40, },
                ["SurfaceCylinderInputs.ObjectID.ObjectID"] = Input { Value = 3, },
            },
            ViewInfo = OperatorInfo { Pos = { 220, 148.5, }, },
        },
    },
}

your you could create simple expression in the Y offset:
rmb on the “Y offset” -> expression -> now click and drag the “+” sign on to the “height” control -> now put a “/2” at the end
this will set the Y Offset always to the half height of you cylinder, so that the it looks like it grows from the ground


#5

I will try that. Thanks a lot…

…perhaps a torus with start/end angle will do the job too…