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::Builder Class Reference

Fixture for builds the primitives. More...

#include <SBuilder.h>

Public Member Functions

MeshCapsule capsule () const
 Builds a capsule. More...
 
MeshCone cone () const
 Builds a cone. More...
 
MeshCuboid cuboid () const
 Builds a cuboid. More...
 
MeshCylinder cylinder () const
 Builds a cylinder. More...
 
MeshEllipsoid ellipsoid () const
 Builds an ellipsoid. More...
 
MeshGear gear () const
 Builds a gear. More...
 
MeshNGon ngon () const
 Builds an ngon. More...
 
MeshSphere sphere () const
 Builds a sphere. More...
 
MeshTorus torus () const
 Builds a torus. More...
 
MeshTube tube () const
 Builds a tube. More...
 

Detailed Description

Fixture for builds the primitives.

Builder builder;
Mesh a = builder.cone()
.radius( 50 )
.height( 120 )
.details( 0.1 )
.build();
SculptRoom room;
room += a;
Since
4.5.32

Member Function Documentation

MeshCapsule coat::scripto::Builder::capsule ( ) const
inline

Builds a capsule.

Mesh a = builder.capsule()
.startPosition( Vec3( 0 ) )
.endPosition( Vec3( 40, 50, 60 ) )
.startRadius( 30 )
.endRadius( 50 )
.build();
MeshCone coat::scripto::Builder::cone ( ) const
inline

Builds a cone.

Mesh a = builder.cone()
.radius( 50 )
.height( 120 )
.build();
MeshCuboid coat::scripto::Builder::cuboid ( ) const
inline

Builds a cuboid.

Mesh a = builder.cuboid()
.side( Vec3( 100, 80, 60 ) )
.build();
MeshCylinder coat::scripto::Builder::cylinder ( ) const
inline

Builds a cylinder.

Mesh a = builder.cylinder()
.positionTop( Vec3( 80, 0, 0 ) )
.positionBottom( Vec3( 0, 0, 0 ) )
.radiusTop( 40 )
.radiusBottom( 50 )
.build();
MeshEllipsoid coat::scripto::Builder::ellipsoid ( ) const
inline

Builds an ellipsoid.

Mesh a = builder.ellipsoid()
.radius( Vec3( 80, 60, 40 ) )
.build();
MeshGear coat::scripto::Builder::gear ( ) const
inline

Builds a gear.

Mesh a = builder.gear()
.startPoint( Vec3( 0, 0, 0 ) )
.endPoint( Vec3( 90, 90, 90 ) )
.topRadius( 30 )
.bottomRadius( 50 )
.relativeHoleRadius( 0.3 )
.depth( 0.5 )
.sharpness( 0.2 )
.teeth( 3 )
.build();
MeshNGon coat::scripto::Builder::ngon ( ) const
inline

Builds an ngon.

Mesh a = builder.ngon()
.startPoint( Vec3( 0, 0, 0 ) )
.endPoint( Vec3( 90, 90, 90 ) )
.topRadius( 30 )
.bottomRadius( 40 )
.relativeHoleRadius( 0.3 )
.teeth( 3 )
.build();
MeshSphere coat::scripto::Builder::sphere ( ) const
inline

Builds a sphere.

Mesh a = builder.sphere()
.radius( 70 )
.build();
MeshTorus coat::scripto::Builder::torus ( ) const
inline

Builds a torus.

Mesh a = builder.torus()
.radiusRelation( 40 )
.side( Vec3( 90, 90, 90 ) )
.build();
MeshTube coat::scripto::Builder::tube ( ) const
inline

Builds a tube.

Mesh a = builder.tube()
.startPoint( Vec3( 0, 0, 0 ) )
.endPoint( Vec3( 30, 50, 70 ) )
.topRadius( 30 )
.bottomRadius( 40 )
.relativeHoleRadius( 0.8 )
.topScale( 2.0 )
.bottomScale( 1.0 )
.build();

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