Class: CrystalScad::Polyhedron

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, #method_missing, #save, #walk_tree, #walk_tree_classes

Constructor Details

This class inherits a constructor from CrystalScad::CrystalScadObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class CrystalScad::CrystalScadObject

Instance Method Details

#to_rubyscadObject



158
159
160
# File 'lib/crystalscad/CrystalScad.rb', line 158

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