public class Empty3dModel extends Atomic3dModel
Empty model - use this as the base class if you want to build a complex object.
Example:
Abstract3dModel result = new Empty3dModel();
if (isCrit1()) {
result = result.addModel(addModel1());
}
if (isCrit2()) {
result = result.addModel(addModel2());
}
| Constructor and Description |
|---|
Empty3dModel() |
| Modifier and Type | Method and Description |
|---|---|
Abstract3dModel |
addModel(Abstract3dModel model)
Convenient method to create a Union.
|
protected Boundaries3d |
getModelBoundaries() |
protected Abstract3dModel |
innerCloneModel() |
protected SCAD |
innerToScad(IColorGenerationContext context)
Generates the OpenSCAD representation of the model without.
|
Abstract3dModel |
subtractModel(Abstract3dModel model)
Convenient method to create a Difference.
|
protected CSG |
toInnerCSG(FacetGenerationContext context) |
getChildrenModels, innerSubModel, isPrimitiveaddModelTo, 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, toCSG, toCSG, toScad, withTagprotected 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 Abstract3dModelpublic Abstract3dModel addModel(Abstract3dModel model)
Abstract3dModeladdModel in class Abstract3dModelmodel - the model to be added to this objectpublic Abstract3dModel subtractModel(Abstract3dModel model)
Abstract3dModelsubtractModel in class Abstract3dModelmodel - the model to be subtracted to this objectCopyright © 2014–2020, Printing in 3D. All rights reserved.