3DCoatScripting  4.8.31β
You can manage 3DСoat features with help of scripting
coat::scripto::MeshGear Class Reference

Class for working with mesh which represents like gear. More...

Inherits coat::scripto::MeshX< MeshGear >.

Public Member Functions

MeshGear & startPoint (const Vec3 &s)
 
Vec3 startPoint () const
 
MeshGear & endPoint (const Vec3 &s)
 
Vec3 endPoint () const
 
MeshGear & height (const float &s)
 
float height () const
 
MeshGear & topRadius (const float &s)
 
float topRadius () const
 
MeshGear & bottomRadius (const float &s)
 
float bottomRadius () const
 
MeshGear & relativeHoleRadius (const float &s)
 
float relativeHoleRadius () const
 
MeshGear & depth (const float &s)
 
float depth () const
 
MeshGear & sharpness (const float &s)
 
float sharpness () const
 
MeshGear & teeth (const int &s)
 
int teeth () const
 
- Public Member Functions inherited from coat::scripto::MeshX< MeshGear >
virtual Mesh build () const =0
 
Mesh operator() () const
 
- Public Member Functions inherited from coat::scripto::AMesh< MeshGear >
 mRaw (raw)
 
 AMesh (const AAbout &d)
 
const AAbout & aabout () const
 
bool operator== (const AMesh &b) const
 Comparison. More...
 
MeshGear & details (const float &d)
 Setter for details level.
 
float details () const
 Getter for details level.
 
MeshGear & position (const Vec3 &p)
 Setter for position.
 
Vec3 position () const
 Getter for position.
 
MeshGear & rotation (const Angles &a)
 Setter for rotation.
 
Angles rotation () const
 Getter for rotation.
 
MeshGear & transform (const Mat4 &m)
 Setter for transform.
 
Mat4 transform () const
 Getter for transform.
 
MeshGear & add (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGear & add (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh addCopy (const MeshGear &b) const
 
Mesh addCopy (const MeshGear &, const Bevel &) const
 
Mesh operator| (const MeshGear &) const
 Fusion two meshes to one mesh. Logical OR. More...
 
MeshGear & subtruct (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGear & subtruct (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh subtructCopy (const MeshGear &b) const
 
Mesh subtructCopy (const MeshGear &, const Bevel &) const
 
Mesh operator- (const MeshGear &) const
 Subtract mesh b from this mesh. More...
 
MeshGear & intersect (const MeshGear &b)
 Fusion a mesh b to this mesh. More...
 
MeshGear & intersect (const MeshGear &, const Bevel &)
 Fusion a mesh b to this mesh with bevel. More...
 
Mesh intersectCopy (const MeshGear &b) const
 
Mesh intersectCopy (const MeshGear &, const Bevel &) const
 
Mesh operator& (const MeshGear &) const
 Intersects mesh b and this mesh. Logical AND. More...
 
const raw_t & raw () const
 
raw_t & raw ()
 

Additional Inherited Members

- Public Types inherited from coat::scripto::AMesh< MeshGear >
enum  Mode
 
typedef comms::cMeshContainer raw_t
 
- Protected Member Functions inherited from coat::scripto::AMesh< MeshGear >
MeshGear & castThis ()
 
- Protected Attributes inherited from coat::scripto::AMesh< MeshGear >
AAbout mAAbout
 
raw_t mRaw
 

Detailed Description

Class for working with mesh which represents like gear.

mesh-gear.jpg
See Also
MeshSphere for notes.
Since
4.5.32