Class: CrystalScad::Projection

Inherits:
CSGModifier 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 CSGModifier

#to_rubyscad

Methods inherited from Primitive

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

Methods inherited from CrystalScadObject

#save, #to_rubyscad, #walk_tree, #walk_tree_classes

Constructor Details

#initialize(object, attributes) ⇒ Projection

Returns a new instance of Projection.



533
534
535
536
# File 'lib/crystalscad/CrystalScad.rb', line 533

def initialize(object, attributes)
	@operation = "projection"
	super(object, attributes)
end