Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //include <Chamfers-for-OpenSCAD/Chamfer.scad>;
- //linear_extrude(height=1, center=true)
- // import(file= "drawing3.dxf");
- include <BOSL/constants.scad>
- use <BOSL/transforms.scad>
- use <BOSL/math.scad>
- use <BOSL/shapes.scad>
- $cross_width = 60;
- $cross_height = 400;
- $cross_depth = 40;
- //translate([-27.5, -5, 12]) chamferCube(100, 100, 100, 4);
- module joiner(size) {
- translate([-$cross_width/2, $cross_height/2 + 10, 0]) {
- rotate(45, [0, 0, 1]) {
- cuboid([$cross_width/2, size, $cross_depth], chamfer=5, center=true);
- }
- }
- translate([$cross_width/2, $cross_height/2 + 10, 0]) {
- rotate(-45, [0, 0, 1]) {
- cuboid([$cross_width/2, size, $cross_depth], chamfer=5, center=true);
- }
- }
- }
- union () {
- cuboid([$cross_width, $cross_height, $cross_depth], chamfer=5, center=true);
- translate([0, 0, 0]) {
- rotate(90, [0, 0, 1]) {
- cuboid([$cross_width, $cross_height, $cross_depth], chamfer=5, center=true);
- }
- }
- $joiner_size = 150;
- joiner($joiner_size);
- yflip() {
- joiner($joiner_size);
- }
- rotate(90, [0, 0, 1]) {
- joiner($joiner_size);
- yflip() {
- joiner($joiner_size);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement