Class: CrystalScad::Cylinder

Inherits:
Primitive show all
Defined in:
lib/crystalscad/CrystalScad.rb

Instance Attribute Summary

Attributes inherited from Primitive

#children

Attributes inherited from CrystalScadObject

#args, #transformations

Instance Method Summary collapse

Methods inherited from Primitive

#mirror, #rotate, #rotate_around, #scale, #transform, #translate, #union

Methods inherited from CrystalScadObject

#initialize, #save, #walk_tree, #walk_tree_classes

Constructor Details

This class inherits a constructor from CrystalScad::CrystalScadObject

Instance Method Details

#to_rubyscadObject



61
62
63
# File 'lib/crystalscad/CrystalScad.rb', line 61

def to_rubyscad	
	return RubyScadBridge.new.cylinder(@args)		
end