public class LinearExtrude extends Atomic3dModel
| Constructor and Description |
|---|
LinearExtrude(Abstract2dModel model,
double height,
Angle twist)
Constructs a 3D object based on the given parameters.
|
LinearExtrude(Abstract2dModel model,
double height,
Angle twist,
double scale)
Constructs a 3D object based on the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected Boundaries3d |
getModelBoundaries() |
protected Abstract3dModel |
innerCloneModel() |
protected SCAD |
innerToScad(IColorGenerationContext context)
Generates the OpenSCAD representation of the model without.
|
protected CSG |
toInnerCSG(FacetGenerationContext context) |
getChildrenModels, innerSubModel, isPrimitiveaddModel, addModelTo, align, align, align, align, align, annotate, background, cloneModel, debug, findAnnotatedModel, getBoundaries, getTag, isBackground, isDebug, isMoved, isRotated, move, moves, moves, moves, moves, rotate, rotates, rotates, round, subModel, subtractModel, toCSG, toCSG, toScad, withTagpublic LinearExtrude(Abstract2dModel model, double height, Angle twist, double scale)
model - the 2D model to be extrudedheight - the length of the extrusion. That will be the height of the resulted 3D modeltwist - the rotation of the 2D model during the extrusion in degreesscale - the scaling of the 2D model during the extrusion. 1.0 means no change.public LinearExtrude(Abstract2dModel model, double height, Angle twist)
new LinearExtrude(model, height, twist, 1.0).model - the 2D model to be extrudedheight - the length of the extrusion. That will be the height of the resulted 3D modeltwist - the rotation of the 2D model during the extrusion in degreesprotected Abstract3dModel innerCloneModel()
innerCloneModel in class Abstract3dModelprotected SCAD innerToScad(IColorGenerationContext context)
Abstract3dModelinnerToScad in class Abstract3dModelprotected Boundaries3d getModelBoundaries()
getModelBoundaries in class Abstract3dModelprotected CSG toInnerCSG(FacetGenerationContext context)
toInnerCSG in class Abstract3dModelCopyright © 2014–2020, Printing in 3D. All rights reserved.