Package | Description |
---|---|
eu.printingin3d.javascad.models | |
eu.printingin3d.javascad.tranzitions | |
eu.printingin3d.javascad.tranzitions.slicer | |
eu.printingin3d.javascad.utils |
Modifier and Type | Class and Description |
---|---|
class |
Atomic3dModel
Represents an atomic 3D object.
|
class |
BoundedModel
There are cases, when we want to have an object, which boundaries differ from the calculated ones.
|
class |
Complex3dModel
This class represents a complex 3D model which consists of several primitive models.
|
class |
Cube
Represents a cuboid.
|
class |
Cylinder
Represents a cylinder, a truncated cone or a cone.
|
class |
Empty3dModel
Empty model - use this as the base class if you want to build a complex object.
|
class |
Extendable3dModel
Extendable model - use this as the base class for your own models.
|
class |
Import
Represents an import operation in OpenSCAD.
|
class |
LinearExtrude
Linear extrude the given 2D model to create a 3D object.
|
class |
Polyhedron
Represents a set of triangles.
|
class |
Prism
Represents a prism or a pyramid.
|
class |
Ring
A ring 3D object based on a 2D object.
|
class |
Sphere
Represents a sphere.
|
class |
Support
Represents support material to hold the above objects.
|
Modifier and Type | Field and Description |
---|---|
protected Abstract3dModel |
Extendable3dModel.baseModel |
Modifier and Type | Method and Description |
---|---|
Abstract3dModel |
Empty3dModel.addModel(Abstract3dModel model) |
Abstract3dModel |
Abstract3dModel.addModel(Abstract3dModel model)
Convenient method to create a Union.
|
Abstract3dModel |
Abstract3dModel.addModelTo(Side side,
Abstract3dModel model)
Convenient method to create a Union.
|
Abstract3dModel |
Abstract3dModel.align(Side place,
Abstract3dModel model)
Moves this model to the position relative to the given model.
|
Abstract3dModel |
Abstract3dModel.align(Side place,
Abstract3dModel model,
boolean inside)
Deprecated.
Use
align(Side, Abstract3dModel) instead. |
Abstract3dModel |
Abstract3dModel.align(Side place,
Coords3d coords)
Moves this model to the position relative to the given coordinate.
|
Abstract3dModel |
Abstract3dModel.align(String innerAnnotation,
Side place,
Abstract3dModel model)
Moves this model to the position relative to the annotated part of the given model.
|
Abstract3dModel |
Abstract3dModel.align(String innerAnnotation,
Side place,
Abstract3dModel model,
String externalAnnotation)
Moves this model to the position relative to the annotated part of the given model.
|
Abstract3dModel |
Abstract3dModel.annotate(String annotation)
Annotate this object with the given annotation.
|
Abstract3dModel |
Abstract3dModel.background()
Creates a new object with the background flag set, which means it will render in a transparent
light gray color in preview mode and is skipped in CGAL rendering or STL export.
|
protected Abstract3dModel |
Abstract3dModel.cloneModel()
Creates a clone of this model, so after the cloning any change on it won't affect.
|
Abstract3dModel |
Abstract3dModel.debug()
Creates a new object with the debug flag set, which means it is rendered in a different color
in preview mode (it does not affect the CGAL rendering or STL export).
|
static Abstract3dModel |
Cube.fromCoordinates(Coords3d minCorner,
Coords3d maxCorner)
Creates a cuboid with the given corners.
|
protected Abstract3dModel |
Support.innerCloneModel() |
protected Abstract3dModel |
Sphere.innerCloneModel() |
protected Abstract3dModel |
Ring.innerCloneModel() |
protected Abstract3dModel |
Prism.innerCloneModel() |
protected Abstract3dModel |
Polyhedron.innerCloneModel() |
protected Abstract3dModel |
LinearExtrude.innerCloneModel() |
protected Abstract3dModel |
Import.innerCloneModel() |
protected Abstract3dModel |
Extendable3dModel.innerCloneModel() |
protected Abstract3dModel |
Empty3dModel.innerCloneModel() |
protected Abstract3dModel |
Cylinder.innerCloneModel() |
protected Abstract3dModel |
Cube.innerCloneModel() |
protected Abstract3dModel |
BoundedModel.innerCloneModel() |
protected abstract Abstract3dModel |
Abstract3dModel.innerCloneModel() |
protected Abstract3dModel |
Extendable3dModel.innerSubModel(IScadGenerationContext context) |
protected Abstract3dModel |
BoundedModel.innerSubModel(IScadGenerationContext context) |
protected Abstract3dModel |
Atomic3dModel.innerSubModel(IScadGenerationContext context) |
protected abstract Abstract3dModel |
Abstract3dModel.innerSubModel(IScadGenerationContext context) |
Abstract3dModel |
Abstract3dModel.move(Coords3d delta)
Moves this object by the given coordinates.
|
Abstract3dModel |
Abstract3dModel.moves(Collection<Coords3d> delta)
Add moves to this model, which converts this to an
Union , representing more than one model. |
Abstract3dModel |
Abstract3dModel.moves(Coords3d... delta)
Add moves to this model, which converts this to an
Union , representing more than one model. |
Abstract3dModel |
Abstract3dModel.moves(List<Coords3d> delta,
List<String> annotations)
Add moves to this model, which converts this to an
Union , representing more than one model. |
Abstract3dModel |
Abstract3dModel.moves(List<Coords3d> delta,
String... annotations)
Add moves to this model, which converts this to an
Union , representing more than one model. |
Abstract3dModel |
Abstract3dModel.rotate(Angles3d delta)
Creates a new object by rotating this object with the given angle.
|
Abstract3dModel |
Abstract3dModel.rotates(Angles3d... delta)
Add rotates to this model, which converts this to an
Union , representing more than one model. |
Abstract3dModel |
Abstract3dModel.rotates(Collection<Angles3d> delta)
Add rotates to this model, which converts this to an
Union , representing more than one model. |
Abstract3dModel |
Abstract3dModel.round(Plane plane,
double radius)
Rounding this object with the given radius.
|
Abstract3dModel |
Abstract3dModel.subModel(IScadGenerationContext context)
Copies parts of the model to a new model based on the given context.
|
Abstract3dModel |
Empty3dModel.subtractModel(Abstract3dModel model) |
Abstract3dModel |
Abstract3dModel.subtractModel(Abstract3dModel model)
Convenient method to create a Difference.
|
Abstract3dModel |
Abstract3dModel.withTag(int tag)
Tag the model with the given value.
|
Modifier and Type | Method and Description |
---|---|
protected List<Abstract3dModel> |
Abstract3dModel.findAnnotatedModel(String annotation) |
protected List<Abstract3dModel> |
Extendable3dModel.getChildrenModels() |
protected List<Abstract3dModel> |
BoundedModel.getChildrenModels() |
protected List<Abstract3dModel> |
Atomic3dModel.getChildrenModels() |
protected abstract List<Abstract3dModel> |
Abstract3dModel.getChildrenModels() |
Modifier and Type | Method and Description |
---|---|
Abstract3dModel |
Empty3dModel.addModel(Abstract3dModel model) |
Abstract3dModel |
Abstract3dModel.addModel(Abstract3dModel model)
Convenient method to create a Union.
|
Abstract3dModel |
Abstract3dModel.addModelTo(Side side,
Abstract3dModel model)
Convenient method to create a Union.
|
Abstract3dModel |
Abstract3dModel.align(Side place,
Abstract3dModel model)
Moves this model to the position relative to the given model.
|
Abstract3dModel |
Abstract3dModel.align(Side place,
Abstract3dModel model,
boolean inside)
Deprecated.
Use
align(Side, Abstract3dModel) instead. |
Abstract3dModel |
Abstract3dModel.align(String innerAnnotation,
Side place,
Abstract3dModel model)
Moves this model to the position relative to the annotated part of the given model.
|
Abstract3dModel |
Abstract3dModel.align(String innerAnnotation,
Side place,
Abstract3dModel model,
String externalAnnotation)
Moves this model to the position relative to the annotated part of the given model.
|
Abstract3dModel |
Empty3dModel.subtractModel(Abstract3dModel model) |
Abstract3dModel |
Abstract3dModel.subtractModel(Abstract3dModel model)
Convenient method to create a Difference.
|
Constructor and Description |
---|
BoundedModel(Abstract3dModel baseModel,
Boundaries3d boundaries3d)
Creates the object.
|
Modifier and Type | Class and Description |
---|---|
class |
Colorize
Colors the object it contains.
|
class |
Difference
Difference operation.
|
class |
Hull
Represents a hull of models.
|
class |
Intersection
Intersection operation.
|
class |
Mirror
Mirrors a model.
|
class |
Rotate
This represents a rotate transition, but used rarely, because the convenient
methods of
Abstract3dModel replace it most of the time. |
class |
Scale
Scales a model by the given value on X, Y and Z plane.
|
class |
Slicer
Slice a model into pieces; the result is one of the slices.
|
class |
Translate
This represents a move transition, but used rarely, because the convenient
methods of
Abstract3dModel replace it most of the time. |
class |
Union
Represents an union of models.
|
Modifier and Type | Field and Description |
---|---|
protected List<Abstract3dModel> |
Union.models |
protected List<Abstract3dModel> |
Hull.models |
Modifier and Type | Method and Description |
---|---|
protected List<Abstract3dModel> |
Union.getChildrenModels() |
protected List<Abstract3dModel> |
Translate.getChildrenModels() |
protected List<Abstract3dModel> |
Slicer.getChildrenModels() |
protected List<Abstract3dModel> |
Scale.getChildrenModels() |
protected List<Abstract3dModel> |
Rotate.getChildrenModels() |
protected List<Abstract3dModel> |
Mirror.getChildrenModels() |
protected List<Abstract3dModel> |
Intersection.getChildrenModels() |
protected List<Abstract3dModel> |
Hull.getChildrenModels() |
protected List<Abstract3dModel> |
Difference.getChildrenModels() |
protected List<Abstract3dModel> |
Colorize.getChildrenModels() |
Modifier and Type | Method and Description |
---|---|
Abstract3dModel |
Union.addModel(Abstract3dModel model) |
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.
|
Abstract3dModel |
Direction.moveTo(Abstract3dModel model,
Abstract3dModel alignTo,
AlignType side)
Move the
model to the side of alignTo determined by this direction and the
given side . |
Abstract3dModel |
Difference.subtractModel(Abstract3dModel model) |
Constructor and Description |
---|
Colorize(Color color,
Abstract3dModel model)
Creates a Colorized object of the given object with the given color.
|
Difference(Abstract3dModel model1,
Abstract3dModel... model2)
Creates the object with the list of models given.
|
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.
|
Hull(Abstract3dModel... models)
Construct the object.
|
Intersection(Abstract3dModel... models)
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.
|
Slicer(Abstract3dModel model,
Direction direction,
double lowRate,
double highRate)
Slices the given model in the given direction.
|
Slicer(Abstract3dModel model,
Direction direction,
int piece,
int index)
Slices the given model in the given direction.
|
Translate(Abstract3dModel model,
Coords3d move)
Creates a move operation.
|
Union(Abstract3dModel... models)
Construct the object.
|
Constructor and Description |
---|
Difference(Abstract3dModel model1,
List<Abstract3dModel> model2)
Creates the object with the models given.
|
Hull(List<Abstract3dModel> models)
Construct the object.
|
Intersection(List<Abstract3dModel> models)
Creates the object with the models given.
|
Union(List<Abstract3dModel> models)
Construct the object.
|
Modifier and Type | Method and Description |
---|---|
static Abstract3dModel |
CoverFactory.createCover(Abstract3dModel model,
Direction direction,
double sizeRate,
boolean lower)
Create a helper object to be used.
|
Modifier and Type | Method and Description |
---|---|
static Abstract3dModel |
CoverFactory.createCover(Abstract3dModel model,
Direction direction,
double sizeRate,
boolean lower)
Create a helper object to be used.
|
Modifier and Type | Method and Description |
---|---|
Abstract3dModel |
IModelProvider.getAssembledModel()
Returns the assembled object.
|
Modifier and Type | Method and Description |
---|---|
SaveScadFiles |
SaveScadFiles.addModel(String fileName,
Abstract3dModel model,
IScadGenerationContext scadContext)
Deprecated.
|
Copyright © 2014–2020, Printing in 3D. All rights reserved.