GO2cam Javascript API  6.11
GO2SStockCreate Class Reference

Helper class to manage stock. More...

Inherits QObject.

Public Member Functions

GO2SStock MillingCylinder (Number height, Number radius, GO2SXYZ pos, GO2SEnum::GO2SAxis axis)
 
GO2SStock MillingSolid (GO2SSolidGeometry solid)
 
GO2SStock Turning (Number length, Number diameter, Number origine, Number innerDiameter=0, Number nbSides=0)
 See GO2SStock.CreateTurning.
 
GO2SStock TurningProfile (GO2SProfile profile)
 See GO2SStock.CreateTurningProfile.
 

Static Public Member Functions

static GO2SStock MillingCuboid (Number lenght, Number width, Number height, GO2SXYZ pos)
 

Detailed Description

Helper class to manage stock.

Member Function Documentation

◆ MillingCuboid()

static GO2SStock GO2SStockCreate::MillingCuboid ( Number lenght,
Number width,
Number height,
GO2SXYZ pos )
static

See GO2SStock.CreateMillingCuboid

var pos = new GO2SXYZ(0,0,-50)
var stock = GO2SStockCreate.MillingCuboid(100, 80, 50, pos)
Helper class to manage stock.
Definition GO2SStock.hpp:102
static GO2SStock MillingCuboid(Number lenght, Number width, Number height, GO2SXYZ pos)
Creation of a coordinate reference.
Definition GO2SXYZ.hpp:81

◆ MillingCylinder()

GO2SStock GO2SStockCreate::MillingCylinder ( Number height,
Number radius,
GO2SXYZ pos,
GO2SEnum::GO2SAxis axis )

See GO2SStock.CreateMillingCylinder

var pos = new GO2SXYZ
var stock = GO2SStockCreate.MillingCylinder(100, 30, pos, GO2SAxis.z)
GO2SStock MillingCylinder(Number height, Number radius, GO2SXYZ pos, GO2SEnum::GO2SAxis axis)

◆ MillingSolid()

GO2SStock GO2SStockCreate::MillingSolid ( GO2SSolidGeometry solid)

See GO2SStock.CreateMillingSolid

var pos = new GO2SXYZ
var cone = GO2SSolidCreate.Cone(pos, 100, 50, 80)
Helper class to create solid.
Definition GO2SSolid.hpp:308
static GO2SSolid Cone(GO2SXYZ center, Number radiusBase, Number radiusTop, Number height)
See GO2SSolid.CreateCone.
GO2SStock MillingSolid(GO2SSolidGeometry solid)
Parameters
[in]solidthe solid

◆ TurningProfile()

GO2SStock GO2SStockCreate::TurningProfile ( GO2SProfile profile)

See GO2SStock.CreateTurningProfile.

Parameters
[in]profilethe profile