cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

scaling Curve from Equation

ProFeature
13-Aquamarine

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
kdirth
20-Turquoise
(To:ProFeature)

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

 


There is always more to learn in Creo.

View solution in original post

4 REPLIES 4

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

 

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
kdirth
20-Turquoise
(To:ProFeature)

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

 


There is always more to learn in Creo.
tbraxton
21-Topaz II
(To:kdirth)

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

 

 

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
ProFeature
13-Aquamarine
(To:kdirth)

Thank you 🏆

Top Tags