def ChangeCircleRadius( circle, center, radius )
	pts = Array.new
	curve = circle.first.curve
	curve.vertices.each do | vertex |
		vec = vertex.position - center
		vec.length = radius
		pts << center + vec
	end
	curve.move_vertices( pts )
end
Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily  Download 
R
Offline
Posts
- 
RE: Ruby Documentation - you can help update it!
 - 
Intersection failures
I depend on the intersection API for my mechanical drawings. I have observed that intersection (either from the API or the UI) fails to find all intersections if a circle vertex falls on an edge. Moving the circle slightly relative to the edge will fix the problem.
Bob Rice