a = 10.0.feet b = 250.0.feet pts = [] 0.step(b, 1.feet) do |x| y = a * Math::sin( (x / b) * 2 * Math::PI) #p x, y pts << [x, y] end Sketchup.active_model.active_entities.add_edges pts
Subscribe to:
Post Comments (Atom)
Popular Posts (Last 30 Days)
-
Sketchup materials library of 12x12 vinyl floor tiles. Download download
-
This SketchUp script assists the user in flattening, or unfolding, 3d objects onto a 2d plane. Installation Download unfoldtool.zip . M...
-
Apr 2014 * Renamed to MoveIt , and available in t SketchUcation Plugin Store Aug 16, 2009 * Released update fixing possible bugsplat...
-
2010-09 * Updated for small bug in placement in SketchUp 8. toolbars-2010-09.zip This is an update to Custom Toolbars plugin with t...
-
Updated Dec 26, 2010 What are Plugins Beginning with version 4, SketchUp has shipped with an embedded Ruby-language interpreter allowi...
-
This is the first step in a greeble plugin. And by first step I mean there are possible bugs. Protrude performs 4 basic operations: div...
-
Dec 18, 2010 - TIG just released a new .obj exporter. TIG's plugins are usually solid, so I recommend trying TIG's. ( TIG's OBJe...
-
Update Apr 2014 - Version 1.0.1 Add a Layer to your SketchUp model and control its visibility on existing and new Scenes. Use Activa...
-
2010-05-22 * Eliminated the Results textarea in favor of SketchUp's Ruby Console. * Automatic resize of the code textarea. * Chan...
-
This importer lets you import both ASCII and binary STL files into SketchUp. It automatically detects the type of .stl file and imports acc...
2 comments:
I'm trying to comment on the code.
what should I be looking for?
The slightly different color of x,y on line6?
Al, thanks for the commment. Color syntax highlighting is what I wanted. Blogger is a difficult platform to work with and it's been a struggle to organize everything I want to put on this blog.
Post a Comment