/cad-builder

Primary LanguageC++GNU General Public License v3.0GPL-3.0

DSL for CAD Bodies and Assemblies

Get inspiration from CAD Query, but using Groovy DSL.

Sample Code
@Test
void "Pillow Block With Counterbored Holes"() {
    cb().box(length, height, thickness).topZ()
        .rect(length - diameter, height - diameter) {
            hole(diameter)
    }.display("test3.png", 640, 480)
}
Warning
ATM counterboredHole is implemented as a simple hole
test3
Figure 1. Render