Skip to main content
Jan 30, 2024 1:08 PM UTC
Solved

scaling Curve from Equation

Hi

I created a curve from equation.

x = sin(t) + 2 * Sin(2*t)
y = cos(t) - 2 * cos(2*t)
z = -sin(3*t)

YY_10300008_0-1706619752304.png

YY_10300008_1-1706619909556.png

I tried Scale Model but it doesn't work on a curve from an equation.

 

Is it possible to scale the curve without modifying the equations?

 

Thanks

 

kdirthAnswer
Jan 30, 2024 1:43 PM UTC

Select the curve then Copy Geometry and, under Options, select No Dependency.  This creates a copy of the curve that no longer references the original.  If you then scale the model, the original will stay the same and the copy will scale.

kdirth_1-1706622180607.png

 

4 replies

Jan 30, 2024 1:20 PM UTC

You have the equations defined. Just multiply each equation by a scalar value to "scale" them. If you explain the constraint of not modifying the equations that is probably useful to someone finding a workaround.

 

To double the size use scalar value of 2

i.e. for the X component: 2*(sin(t) + 2 * Sin(2*t))

 

Scaler =1

tbraxton_0-1706621280267.png

Scaler=2

tbraxton_1-1706621322866.png

 

 

kdirthAnswer
Jan 30, 2024 1:43 PM UTC

Select the curve then Copy Geometry and, under Options, select No Dependency.  This creates a copy of the curve that no longer references the original.  If you then scale the model, the original will stay the same and the copy will scale.

kdirth_1-1706622180607.png

 

Jan 30, 2024 2:45 PM UTC

Applying a scalar to the equations (without editing the equation in the curve feature) it is possible to scale the curve size. By using a scaler parameter in the curve definition, the curve size can be scaled by modifying the parameter value. This establishes a single feature that can generate infinite sizes of the curve on demand and is parametric.

 

Does this approach satisfy the requirement to not change the equations?

 

The red rectangle is shown for scale reference.

 

tbraxton_0-1706625579543.png

 

tbraxton_1-1706625746508.png