public class BoundedModel extends Complex3dModel
There are cases, when we want to have an object, which boundaries differ from the calculated ones. An example could be a wardrobe, when we don't want to include the handles into the boundary calculation, when we align the object.
This object could be used to achieve that goal.
| Constructor and Description |
|---|
BoundedModel(Abstract3dModel baseModel,
Boundaries3d boundaries3d)
Creates the object.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Abstract3dModel> |
getChildrenModels() |
protected Boundaries3d |
getModelBoundaries() |
protected Abstract3dModel |
innerCloneModel() |
protected Abstract3dModel |
innerSubModel(IScadGenerationContext context) |
protected SCAD |
innerToScad(IColorGenerationContext context)
Generates the OpenSCAD representation of the model without.
|
protected CSG |
toInnerCSG(FacetGenerationContext context) |
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 BoundedModel(Abstract3dModel baseModel, Boundaries3d boundaries3d)
baseModel - the object used to generate the outputboundaries3d - the boundary used by the alignment methodsIllegalValueException - if either of the parameters are nullprotected 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 Abstract3dModelprotected Abstract3dModel innerSubModel(IScadGenerationContext context)
innerSubModel in class Abstract3dModelprotected List<Abstract3dModel> getChildrenModels()
getChildrenModels in class Abstract3dModelCopyright © 2014–2020, Printing in 3D. All rights reserved.