public class ScadGenerationContextFactory extends Object
Context generation factory to create a factory for the given includes and excludes.
A typical usage looks like this:
new ScadGenerationContextFactory().include(4,6,8).exclude(3,5,7).create();
Modifier and Type | Field and Description |
---|---|
static IScadGenerationContext |
DEFAULT
The default generation context.
|
Constructor and Description |
---|
ScadGenerationContextFactory() |
Modifier and Type | Method and Description |
---|---|
IScadGenerationContext |
create()
Creates the context based on the includes and excludes set before.
|
ScadGenerationContextFactory |
exclude(int... values)
Exclude the given tags to the generated output.
|
ScadGenerationContextFactory |
include(int... values)
Include the given tags to the generated output.
|
public static final IScadGenerationContext DEFAULT
public ScadGenerationContextFactory include(int... values)
values
- the tags should be includedpublic ScadGenerationContextFactory exclude(int... values)
values
- the tags should be excludedpublic IScadGenerationContext create()
Copyright © 2014–2020, Printing in 3D. All rights reserved.