Skip to content

Instantly share code, notes, and snippets.

@cjameshuff
Created October 4, 2014 01:37
Show Gist options
  • Save cjameshuff/876881213e7eaa79ac26 to your computer and use it in GitHub Desktop.
Save cjameshuff/876881213e7eaa79ac26 to your computer and use it in GitHub Desktop.
{
parts: {
test_shape: {
shape: union
children: [
{shape: sphere, center: [0, 0, 5], radius: 4.5}
{shape: sphere, center: [-2, 0,-1], radius: 2.1}
{shape: sphere, center: [2, 0,-1], radius: 2.1}
]
}
test_shape2: {
shape: intersection
children: [
{shape: sphere, center: [0, 0, 0], radius: 4.5}
{shape: sphere, center: [0, 0, 0], radius: 3.5, inverted: true}
]
}
}
layouts: {
fit: {
parts: [
{shape: test_shape}
]
}
fit2: {
parts: [
{shape: test_shape2}
]
}
print: {
parts: [
{shape: test_shape}
]
}
}
config: {
units: mm
sample_grid_res: 0.1
build_volume_min: [-100, 0,-100]
build_volume_max: [ 100, 250, 100]
layer_thickness: 0.01
contour_halfpitch: 0.35
fill_halfpitch: 0.5
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment