Modifier and Type | Method and Description |
---|---|
static Boundaries3d |
Boundaries3d.intersect(Collection<Boundaries3d> boundaries)
Calculate the inner cuboid so the result of this method is an interval representing a cuboid
that is inside all of the parameter cuboids.
|
static Boundary |
Boundary.intersect(Collection<Boundary> boundaries)
Creates a Boundary object which will hold the minimum and maximum values
from the given collection.
|
Boundary |
Boundary.remove(Boundary b)
Removes the values of the given boundary from this boundary and returns with the remaining values.
|
String |
Triangle3d.toTriangleString(List<Coords3d> coords)
Renders the triangle as is used by OpenSCAD: three index of a list of points -
that's why this method requires a coordinate list as a parameter.
|
Constructor and Description |
---|
Dims3d(double x,
double y,
double z)
Creates a new object with the given values.
|
Triangle3d(Coords3d point1,
Coords3d point2,
Coords3d point3)
Created the triangle by defining the three corner.
|
Modifier and Type | Method and Description |
---|---|
Abstract3dModel |
Abstract3dModel.round(Plane plane,
double radius)
Rounding this object with the given radius.
|
Constructor and Description |
---|
Cylinder(double length,
double r)
Deprecated.
use the constructor with Radius parameters instead of doubles
|
Cylinder(double length,
double bottomRadius,
double topRadius)
Deprecated.
use the constructor with Radius parameters instead of doubles
|
Cylinder(double length,
Radius r)
Creates a cylinder with a given length and radius.
|
Cylinder(double length,
Radius bottomRadius,
Radius topRadius)
Creates a truncated cone.
|
Polyhedron(List<Triangle3d> triangles)
Constructs the object with the given triangles.
|
Prism(double length,
double r1,
double r2,
int numberOfSides)
Deprecated.
use the constructor with Radius parameters instead of doubles
|
Prism(double length,
double r,
int numberOfSides)
Deprecated.
use the constructor with Radius parameters instead of doubles
|
Prism(double length,
Radius r,
int numberOfSides)
Creates a prism with a given length, radius and the number of sides.
|
Prism(double length,
Radius r1,
Radius r2,
int numberOfSides)
Creates a prism, which base and top have different radius.
|
Sphere(double r)
Deprecated.
use the constructor with Radius parameter instead of double
|
Sphere(Radius r)
Creates the sphere with the given radius.
|
Modifier and Type | Method and Description |
---|---|
static Mirror |
Mirror.mirrorX(Abstract3dModel model)
Mirrors the given model using the X plane as a mirror.
|
static Mirror |
Mirror.mirrorY(Abstract3dModel model)
Mirrors the given model using the Y plane as a mirror.
|
static Mirror |
Mirror.mirrorZ(Abstract3dModel model)
Mirrors the given model using the Z plane as a mirror.
|
Constructor and Description |
---|
Difference(Abstract3dModel model1,
Abstract3dModel... model2)
Creates the object with the list of models given.
|
Difference(Abstract3dModel model1,
List<Abstract3dModel> model2)
Creates the object with the models given.
|
Rotate(Abstract3dModel model,
Angles3d angles)
Creates a rotation operation.
|
Scale(Abstract3dModel model,
Coords3d scale)
Creates the scale operation with the given model and scale value.
|
Translate(Abstract3dModel model,
Coords3d move)
Creates a move operation.
|
Constructor and Description |
---|
Translate(Abstract2dModel model,
Coords2d move)
Creates a move operation.
|
Modifier and Type | Method and Description |
---|---|
static void |
AssertValue.isFalse(boolean value,
String message)
Checks if the value is false - if it isn't, throws an IllegalValueException with the given message.
|
static <T> void |
AssertValue.isNotEmpty(Collection<T> value,
String message)
Checks if the value is null and not empty - if it is, throws an IllegalValueException
with the given message.
|
static void |
AssertValue.isNotNegative(double value,
String message)
Checks if the value is not negative - if it is, throws an IllegalValueException with the given message.
|
static void |
AssertValue.isNotNegative(int value,
String message)
Checks if the value is not negative - if it is, throws an IllegalValueException with the given message.
|
static void |
AssertValue.isNotNull(Object value,
String message)
Checks if the value is null - if it is, throws an IllegalValueException with the given message.
|
static void |
AssertValue.isTrue(boolean value,
String message)
Checks if the value is true - if it isn't, throws an IllegalValueException with the given message.
|
Constructor and Description |
---|
ModelToFile(File file)
Creates the object.
|
SaveScadFiles(File root)
Creates the object with the given root directory.
|
Copyright © 2014–2020, Printing in 3D. All rights reserved.