hi . I have a instance component in scene that orbited a little in Z axis i want to know how can i move this component along his local X axis ?
tanks @DanRathbun its move true
model = Sketchup.active_model sel = model.selection axe = sel.transformation.xaxis tr = Geom::Transformation.translation(axe) sel.transform! tr
but how can i move it 50 unit along x axis for example
point = [50, 0, 0] tr = Geom::Transformation.new point sel.transform! tr
the point can be anywhere.
model = Sketchup.active_model sel = model.selection tr = Geom::Transformation.translation([50,0,0]) sel.transform!(tr)