|
Surface by formula |
This command allows to create a surface with 3 formulas
Creation stages / Use:
Click the icon or select the Surface > Surface by formula... command from the drop-down menu.
Enter formulas for X(u,v), Y(u,v) and Z(u,v).
Enter Minimum and Maximum intervals of u and v.
Check if intervals are Periodics.
Reverse intervals if needed
Select the positioning frame of the surface.
Enter the modeling tolerance.
Validate by clicking .
|
It is important to systematically specify the unit of entered values in expressions. Otherwise, u and v parameters have no unit. |
Available Options:
Periodic:
|
If the edge following u or y has to be closed, you have to check periodic. For example, a torus (see below) the section (u) is closed therefore periodic , the trajectory is cylindric (also closed, therefore periodic). |
Reverse:
|
u and v are inside the interval [minimum value, maximum value]. By clicking the Reverse option, the interval taken into account is [maximum value, minimum value]. It is equivalent to replace u by u max - u + u min. |
Tolerance:
|
This option allows to modify the modeling tolerance. By default this modeling tolerance is set in the document options.
|
Simplify:
|
To measure the surface quality, TopSolid calculates the distance between points on the created Bspline surface and those calculated by the formula. If the tolerance is not reached for some points of the Bspline surface, TopSolid inserts parameters where the accuracy is not reached and calculates again the surface. TopSolid iterates several times to locally refine the surface and reach the accuracy. To guarantee a better surface quality, TopSolid measures several points per tile (a tile corresponds to u which varies between [ui ; ui+1] and v which varies between [vj ; vj+1]), so 9 points are positioned at ¼, ½ and ¾ of intervals The quality measures uses a lot of system resources. If the "Simplify" option is not checked, the precise mode is activated (measure of 9 points per tile). If it is checked, the approximative mode is activated (measure of 1 point per tile).
|
Examples:
Torus:
Formulas: |
Values signification: |
Result: |
(30mm+5mm*cos(u*360°))*cos(v*360°)
(30mm+5mm*cos(u*360°))*sin(v*360°)
5mm*sin(u*360°)
u and v are periodics, their minimum value is 0, their maximum is 1 (without unit) |
|
|
Helical:
Formulas: |
Values signification: |
Result: |
1mm*u*cos(v*360°)
1mm*u*sin(v*360°)
5mm*v (5mm is the pitch)
u and v aren't periodics, u changes from 0 to 2 (which is the helicoid radius), v changes from 0 to 5 which is the number of turns. |
4 is the diameter (the entered radius is 2) 5 is the pitch |
|
Hyperboloid:
Formulas: |
Values signification: |
Result: |
3mm*sqrt(1+u*u)*cos(v*360°)
3mm*sqrt(1+u*u)*sin(v*360°)
5mm*u (5mm is the base height)
v is periodic, u changes from 0 to 3 (which is the helicoid radius), v changes from 0 to 1 which is the number of turns. |
6 is the diameter (the entered radius is 3 for X and for Y) 15 is the height (see Z) |
|
Flattened sphere:
Formulas: |
Values signification: |
Result: |
50mm*cos(v*360°)*cos(u*360°)+u*1mm
50mm*sin(v*360°)*cos(u*360°)+u*1mm
10mm*sin(u*360°)
u changes from 0 to 0.25, v from 0 to 1. |
50mm is the radius ( X and Y) 10mm is the height (following Z) |
|
Hyperbolic paraboloid:
Formulas: |
Values signification: |
Result: |
50mm*u
20mm*v
20mm*(u*u-v*v)
u and v change from -1 to 1. |
50mm is the biggest radius 20mm is the smallest radius |
|
Horopter:
Formulas: |
Result: |
u*cos(v*360°)*50mm
50mm*tan(v*360°)
50mm*u*sin(v*360°)
u changes from -1 to 1, v from -0.1 to 0.1 |
|
Part of a sphère:
Formulas: |
Result: |
50mm*cos(u*360°)*cos(v*360°)
50mm*sin(u*360°)*cos(v*360°)
50mm*sin(v*360°)
u changes from 0 to 0.5, v from -0.1 to 0.1
50mm is the sphere radius |
|
Eggs box:
Formulas: |
Result with intervals [-1 ; 1] : |
Result with intervals [-5 ; 5] : |
1mm*u
1mm*v
0,5mm*cos(u*360°)*sin(v*360°)
u and v change from -1 to 1, then from -5 to 5.
|
|
|
Other surfaces:
Formulas: |
Result: |
10mm*u
10mm*sin(v*90°)*(1+cos(u*360°)/5)
10mm*cos(v*90°)*(1+cos(u*360°)/5)
v is periodic, u changes from -5 to 5 (the number of pitches is centered with the frame ), v changes from -2 to 2 (4 x 1/4 of turn).
|
|
|
|
Formulas with parameters: |
Result: |
F*sin((P*u+v)*1°)
(G-F*cos((P*u+v)*1°))*cos(u*1°)
(G-F*cos((P*u+v)*1°))*sin(u*1°)
Minimum : -1620 Maximum : 1260
Minimum : 0.6 Maximum : 6.6
|
|
Modifications:
The surface can be modified with the Edit.. contextual command from the surface of from the operations tree.
Additional information: