This class defines a conical shape. Needed inputs are
central - Central axis
centroid - Centroid of block
length - Cone length
diameter_1 - Cone starting diameter
diameter_2 - Cone ending diameter
Dictionary of necessary inputs
Methods
|
Surface function of a cone |
|
This helper method rotates the given data to match the global central axis and translates it so that the center point is aligned. |
|
Derivative of the surface function considering the polar angle |
|
Derivative of the surface function considering the z-axis |
|
Return full input dictionary. |
|
Check if given position is inside of shape. |
|
Calculate unit normal vector on surface for a given position |
|
Plot surface and rim. |
|
Return x and y values for given z-position. |
|
Return x, y and z values for the shape. |
|
Calculate inner surface |
|
Calculate volume |