public final class CoverFactory extends Object
Helper class to support the slicing functionality by Slicer. It is only used internally and shouldn't be created outside of the Slicer class!
It represents the cover cube(s) which is used to slicing the unnecessary parts of the model to be sliced.
Modifier and Type | Method and Description |
---|---|
static Abstract3dModel |
createCover(Abstract3dModel model,
Direction direction,
double sizeRate,
boolean lower)
Create a helper object to be used.
|
public static Abstract3dModel createCover(Abstract3dModel model, Direction direction, double sizeRate, boolean lower)
model
- model to be sliceddirection
- the direction of the slicingsizeRate
- the rate of the part to be cut offlower
- which end should be cut offCopyright © 2014–2020, Printing in 3D. All rights reserved.