Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Geom_ConicalSurface Class Reference

ConicalSurface ConicalSurface.hxx cadex/Geom/ConicalSurface.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_ConicalSurface:
manufacturingtoolkit.CadExMTK.Geom_ElementarySurface manufacturingtoolkit.CadExMTK.Geom_Surface manufacturingtoolkit.CadExMTK.Geom_Geometry manufacturingtoolkit.CadExMTK.BaseObject

Public Member Functions

 __init__ (self, thePosition, theSemiAngle, theRadius)
 Constructor.
 
 Angle (self)
 Returns semi-angle.
 
 SemiAngle (self)
 Returns semi-angle.
 
 Radius (self)
 Returns reference radius.
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_ElementarySurface
 Position (self)
 Returns a surface axis.
 
 Location (self)
 Returns origin point.
 
 Direction (self)
 Returns Z direction of the axis placement.
 
 Parameter (self, thePoint)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_Surface
 Type (self)
 Returns a surface type.
 
 Continuity (self)
 Returns a continuity type of the surface.
 
 Value (self, theParameterU, theParameterV)
 Evaluates a point on the surface.
 
 Normal (self, theParameterU, theParameterV)
 
 IsUPeriodic (self)
 Returns true if the surface is periodic in U direction.
 
 IsVPeriodic (self)
 Returns true if the surface is periodic in V direction.
 
 UMin (self)
 Returns a minimum parameter of a definition domain in U direction.
 
 UMax (self)
 Returns a maximum parameter of a definition domain in U direction.
 
 VMin (self)
 Returns a minimum parameter of a definition domain in V direction.
 
 VMax (self)
 Returns a maximum parameter of a definition domain in V direction.
 
 Domain (self)
 Returns a definition domain.
 
 IsTrimmed (self)
 Returns whether surface is trimmed or not.
 
 SetTrim (self, theUFirst, theULast, theVFirst, theVLast)
 Trims surface with [theUFirst, theULast] x [theVFirst, theVLast] section.
 
 Transform (self, theTransformation)
 Applies transformation matrix to this object.
 
 Transformed (self, theTransformation)
 Returns a copy this object after applying transformation.
 
 D0 (self, theParameterU, theParameterV, theValue)
 
 D1 (self, theParameterU, theParameterV, theValue, theD1U, theD1V)
 
 D2 (self, theParameterU, theParameterV, theValue, theD1U, theD1V, theD2U, theD2V, theD2UV)
 
 DN (self, theParameterU, theParameterV, theDerivativeOrder, theValue, theD)
 Returns true if calculation was passed succsesfully, the returned vectors gives the value of the derivative for the order of derivation theDerivativeOrder.
 
 Curvature (self, *args)
 
 Mirror (self, *args)
 
 Mirrored (self, *args)
 
 Rotate (self, theAxis, theAngle)
 
 Rotated (self, theAxis, theAngle)
 
 Translate (self, theVector)
 
 Translated (self, theVector)
 
 Scale (self, thePoint, theScale)
 
 Scaled (self, thePoint, theScale)
 
- Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject
 Id (self)
 Return unique identifier of public object.
 
 IsNull (self)
 

Static Public Member Functions

 CompareType (theObject)
 
 Cast (theBase)
 

Detailed Description

ConicalSurface ConicalSurface.hxx cadex/Geom/ConicalSurface.hxx.

Defines a conical surface.

A conical surface is defined by an axis placement, a reference radius and a semi-angle. The following image depicts a conical surface example:

Conical surface

A conical surface is parametrized as follows: \(\mathbf{S}(u,v) = \mathbf{P} + r\cos(u)\mathbf{X} + r\sin(u)\mathbf{Y} + v\cos(\phi)\mathbf{Z}\), where

  • \(\mathbf{P}\) is an origin point,
  • \(\mathbf{X}\), \(\mathbf{Y}\) and \(\mathbf{Y}\) are directions (unit vectors) of X, Y and Z axes respectively,
  • \(\phi\) - semi-angle, i.e. an angle between \(\mathbf{Z}\) and any generatrix,
  • \(r = R + v\sin(\phi)\), i.e. a radius of a circle at respective parameter \(v\),
  • \(u\) belongs to \([0, 2\pi]\),
  • \(v\) belongs to \((-\infty, +\infty)\).

U-parameter is an angle along the circle at a given parameter V and V-parameter is a length along the cone. Thus, U-isolines are lines and V-isoline are circles.

V-isoline at \(v=0\) is a circle of radius \(R\) in the plane defined by an axis placement.

Conical surface contains both halves of mathematical cone.

Conical surface is U-periodical with period \(2\pi\). At a cone apex, \(r=0\), hence at apex \(v=\frac{-R}{\sin(\phi)}\).

If a face lying on a conical surface contains the apex its boundary wire will contain a degenerated edge corresponding to the apex. If the face takes full U-period then the wire will contain a seam-edge. The face may only lie on one half of a cone, i.e. on one side from the apex.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Geom_ConicalSurface.__init__ ( self,
thePosition,
theSemiAngle,
theRadius )

Constructor.

Reimplemented from manufacturingtoolkit.CadExMTK.Geom_ElementarySurface.

Member Function Documentation

◆ Cast()

manufacturingtoolkit.CadExMTK.Geom_ConicalSurface.Cast ( theBase)
static

◆ CompareType()

manufacturingtoolkit.CadExMTK.Geom_ConicalSurface.CompareType ( theObject)
static

The documentation for this class was generated from the following file:
  • CadExMTK.py