Geometry

aplesch's picture

general smoothness

smooth gear

Getting gears to appear smooth by explicitly assigning indices to the generated facets got me thinking in more detail of how to accomplish this result in general, for any facets drawn in face mode by turtle graphics.

aplesch's picture

smoother gears

smoother tooth

Trying to get a smoother appearance for the curved gear teeth involves lessons both in logo programming and in the underlying 3d display technology.

aplesch's picture

3d involute gears

3d gears

As an update to the 2d involute (curved teeth) gears, I modified the program to produce 3d (extruded) gears. This required a change in drawing tactics.

Andy's picture

Spur gears

Spur gear set

Finally, not perfect at all but working gear set in 3D. Thanks to asplech's blog about involute gear and this Spur Gear document, I finally get to know better about these cogged wheels.

aplesch's picture

involute gear

two gears

It turned out that producing a set of involute gears requires quite a bit of geometry in addition to involutes.

Andy's picture

Gear 2D Prototype

gear2d prototype

Following the circle involute blog, I thought about creating a gear procedure for easy creation of different gears. The method used is quite differnt to the involute idea but the turtle geometry way of thinking and doing the gears. This prototype procedure utilised a simple regular poygon formula (repeat :sides [ fd 1 rt 360/:sides ]) and some built-in commands such as TOWARD and SETHEADING to rotate the turtle and get the directions needed.

Andy's picture

Palm Tree Leaf

Palm tree leaf

Outsite my office window, there are many palm trees. I thought about making one so it may be reused later to make a full tree.

aplesch's picture

circle involute

As part of a project to make a nice gear mesh with logo, I wondered how to generate the involute of a circle.

aplesch's picture

Flying Boxes

A surprise happened when I was trying to use nested transforms.

aplesch's picture

A paper dragon

a dragon

 

The dragon curve is a fractal which is defined by replacing a segment of the curve with a (smaller) version of itself.