3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
coat::scripto::PrimitivesTool Class Reference

Class for working with primitive tool. More...

#include <SPrimitivesTool.h>

Public Member Functions

void Apply ()
 Apply method. More...
 
void Apply (const int &op)
 Apply method. More...
 
void SetPrim (const std::string &prim)
 SetPrim method. More...
 
SpherePrim sphere ()
 Builds a sphere. More...
 
CubPrim cube ()
 Builds a cube. More...
 
EllipsePrim ellipse ()
 Builds a ellipse. More...
 
CylinderPrim cylinder ()
 Builds a cylinder. More...
 
ConePrim cone ()
 Builds a cone. More...
 
CapsulePrim capsule ()
 Builds a capsule. More...
 
TubePrim tube ()
 Builds a tube. More...
 
GearPrim gear ()
 Builds a gear. More...
 
NGonPrim ngon ()
 Builds a n-gon. More...
 
SpringPrim spring ()
 Builds a spring. More...
 
TorusPrim torus ()
 Builds a torus. More...
 
ThreadPrim thread ()
 Builds a thread. More...
 
CoreThreadPrim corethread ()
 Builds a core thread. More...
 
BoltHeadPrim bolthead ()
 Builds a bolthead. More...
 
BoltPrim bolt ()
 Builds a bolt. More...
 
TapScrewPrim tapscrew ()
 Builds a tapscrew. More...
 
NutPrim nut ()
 Builds a nut. More...
 
WasherPrim washer ()
 Builds a washer. More...
 
ImagePrim image ()
 Builds a image. More...
 
TextPrim text ()
 Builds a text. More...
 
LathePrim lathe ()
 Builds a lathe. More...
 
FreeFormPrim freeform (const std::string &)
 Builds a freeform. More...
 
rGeoSphere rsphere ()
 Builds a sphere. More...
 
rGeoBox rbox ()
 Builds a cube. More...
 
rGeoEllipse rellipse ()
 Builds a ellipse. More...
 
rGeoCylinder rcylinder ()
 Builds a cylinder. More...
 
rGeoCone rcone ()
 Builds a cone. More...
 
rGeoCapsule rcapsule ()
 Builds a capsule. More...
 
rGeoTube rtube ()
 Builds a tube. More...
 
rGeoNGon rngon ()
 Builds a n-gon. More...
 
rGeoSpiral rspiral ()
 Builds a spring. More...
 
rGeoTorus rtorus ()
 Builds a torus. More...
 

Detailed Description

Class for working with primitive tool.

primitive-tool.jpg
See Also
PrimitivesTool for notes.
Since
5.0.0

Member Function Documentation

void PrimitivesTool::Apply ( )

Apply method.

PrimitivesTool.Apply();
void PrimitivesTool::Apply ( const int &  op)

Apply method.

int op = 0; // add boolean operation
PrimitivesTool.Apply(op);
BoltPrim PrimitivesTool::bolt ( )

Builds a bolt.

BoltPrim a = PrimitivesTool.bolt();
BoltHeadPrim PrimitivesTool::bolthead ( )

Builds a bolthead.

BoltHeadPrim a = PrimitivesTool.bolthead();
CapsulePrim PrimitivesTool::capsule ( )

Builds a capsule.

CapsulePrim a = PrimitivesTool.capsule();
ConePrim PrimitivesTool::cone ( )

Builds a cone.

ConePrim a = PrimitivesTool.cone();
CoreThreadPrim PrimitivesTool::corethread ( )

Builds a core thread.

CoreThreadPrim a = PrimitivesTool.corethread();
CubPrim PrimitivesTool::cube ( )

Builds a cube.

CubPrim a = PrimitivesTool.cub();
CylinderPrim PrimitivesTool::cylinder ( )

Builds a cylinder.

CylinderPrim a = PrimitivesTool.cylinder();
EllipsePrim PrimitivesTool::ellipse ( )

Builds a ellipse.

EllipsePrim a = PrimitivesTool.ellipse();
FreeFormPrim PrimitivesTool::freeform ( const std::string &  fullName)

Builds a freeform.

FreeFormPrim f = PrimitivesTool.freeform();
GearPrim PrimitivesTool::gear ( )

Builds a gear.

GearPrim a = PrimitivesTool.gear();
ImagePrim PrimitivesTool::image ( )

Builds a image.

ImagePrim im = PrimitivesTool.image();
LathePrim PrimitivesTool::lathe ( )

Builds a lathe.

LathePrim a = PrimitivesTool.lathe();
NGonPrim PrimitivesTool::ngon ( )

Builds a n-gon.

NGonPrim a = PrimitivesTool.ngon();
NutPrim PrimitivesTool::nut ( )

Builds a nut.

NutPrim nt = PrimitivesTool.nut();
rGeoBox PrimitivesTool::rbox ( )

Builds a cube.

rGeoBox a = PrimitivesTool.rbox();
rGeoCapsule PrimitivesTool::rcapsule ( )

Builds a capsule.

rGeoCapsule a = PrimitivesTool.rcapsule();
rGeoCone PrimitivesTool::rcone ( )

Builds a cone.

rGeoCone a = PrimitivesTool.rcone();
rGeoCylinder PrimitivesTool::rcylinder ( )

Builds a cylinder.

rGeoCylinder a = PrimitivesTool.rcylinder();
rGeoEllipse PrimitivesTool::rellipse ( )

Builds a ellipse.

rGeoEllipse a = PrimitivesTool.rellipse();
rGeoNGon PrimitivesTool::rngon ( )

Builds a n-gon.

rGeoNGon a = PrimitivesTool.rngon();
rGeoSphere PrimitivesTool::rsphere ( )

Builds a sphere.

rGeoSphere a = PrimitivesTool.rsphere();
rGeoSpiral PrimitivesTool::rspiral ( )

Builds a spring.

rGeoSpiral a = PrimitivesTool.rspiral();
rGeoTorus PrimitivesTool::rtorus ( )

Builds a torus.

rGeoTorus a = PrimitivesTool.rtorus();
rGeoTube PrimitivesTool::rtube ( )

Builds a tube.

rGeoTube a = PrimitivesTool.rtube();
void PrimitivesTool::SetPrim ( const std::string &  prim)

SetPrim method.

PrimitivesTool.SetPrim(const PrimType& iprim);
SpherePrim PrimitivesTool::sphere ( )

Builds a sphere.

SpherePrim a = PrimitivesTool.sphere();
SpringPrim PrimitivesTool::spring ( )

Builds a spring.

SpringPrim a = PrimitivesTool.spring();
TapScrewPrim PrimitivesTool::tapscrew ( )

Builds a tapscrew.

TapScrewPrim tap = PrimitivesTool.tapscrew();
TextPrim PrimitivesTool::text ( )

Builds a text.

TextPrim t = PrimitivesTool.text();
ThreadPrim PrimitivesTool::thread ( )

Builds a thread.

ThreadPrim a = PrimitivesTool.thread();
TorusPrim PrimitivesTool::torus ( )

Builds a torus.

TorusPrim a = PrimitivesTool.torus();
TubePrim PrimitivesTool::tube ( )

Builds a tube.

TubePrim a = PrimitivesTool.tube();
WasherPrim PrimitivesTool::washer ( )

Builds a washer.

WasherPrim w = PrimitivesTool.washer();

The documentation for this class was generated from the following files: