This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a cube | |
import eu.mihosoft.vrl.v3d.STL; | |
double size =40; | |
CSG cube = new Cube(size).toCSG() | |
//create a sphere | |
CSG sphere = new Sphere(size/20*12.5).toCSG() | |
//perform a difference | |
// perform union, difference and intersection | |
CSG cubePlusSphere = cube.union(sphere); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELTA_DIAGONAL_ROD = 288.5 | |
// Horizontal offset from middle of printer to smooth rod center. | |
DELTA_SMOOTH_ROD_OFFSET = 206.0 // mm | |
// Horizontal offset of the universal joints on the end effector. | |
// DELTA_EFFECTOR_OFFSET = 32.0 // mm | |
DELTA_EFFECTOR_OFFSET = 32.0 // mm | |
// Horizontal offset of the universal joints on the carriages. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Original code from | |
# http://forums.trossenrobotics.com/tutorials/introduction-129/delta-robot-kinematics-3276/ | |
# License: MIT | |
import math | |
# Specific geometry for bitbeambot: | |
# http://flic.kr/p/cYaQah | |
e = 26.0 | |
f = 69.0 |