Project

rcad

0.01
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Solid CAD programming library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.3
>= 0
~> 1.5.3
 Project Readme

rcad

Solid CAD programming with Ruby

Example:

require 'rcad'
require 'rcad/gears'

# overloaded ~ operator adds stuff to the shape
# you're working on
~sub do
  gear = ~SpurGear.new(pitch_dia: 4.8.cm, h: 5.mm)

  # make a hole for an M3 screw
  ~cylinder(d: 3.mm, h: gear.zsize)
end

# STL is written automatically on exit