Module: SolidRuby::CSGModifiers

Included in:
SolidRuby
Defined in:
lib/solidruby/csg_modifiers/color.rb,
lib/solidruby/csg_modifiers/projection.rb,
lib/solidruby/csg_modifiers/csg_modifier.rb,
lib/solidruby/csg_modifiers/linear_extrude.rb,
lib/solidruby/csg_modifiers/rotate_extrude.rb

Overview

This file is part of SolidRuby.

SolidRuby is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

SolidRuby is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with SolidRuby.  If not, see <http://www.gnu.org/licenses/>.

Defined Under Namespace

Classes: CSGModifier, Color, LinearExtrude, Projection, RotateExtrude

Instance Method Summary collapse

Instance Method Details

#color(args, opacity = nil) ⇒ Object



38
39
40
# File 'lib/solidruby/csg_modifiers/color.rb', line 38

def color(args, opacity = nil)
  Color.new(self, args, opacity)
end

#linear_extrude(args) ⇒ Object



31
32
33
# File 'lib/solidruby/csg_modifiers/linear_extrude.rb', line 31

def linear_extrude(args)
  LinearExtrude.new(self, args)
end

#projection(args = {}) ⇒ Object



26
27
28
# File 'lib/solidruby/csg_modifiers/projection.rb', line 26

def projection(args = {})
  Projection.new(self, args)
end

#rotate_extrude(args = {}) ⇒ Object



27
28
29
# File 'lib/solidruby/csg_modifiers/rotate_extrude.rb', line 27

def rotate_extrude(args = {})
  RotateExtrude.new(self, args)
end