# Customizable pendant

## by kakaroto, published

## Description

This is a customizable pendant of the rhodonea curve and other curves.

This is taken from my curve generator and made into a pendant : thingiverse.com/thing:50249

This is taken from my curve generator and made into a pendant : thingiverse.com/thing:50249

## Recent Comments

view all## Tags

## License

Customizable pendant by kakaroto is licensed under the Creative Commons - Attribution - Share Alike license.

## Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.
Print Thing Tag

## Instructions

*UPDATE*: Now supports up to 5 different types of curves. See updated instructions below for more information.

This script will generate a pendant with an artistic rendering of a mathematical curve inside.

It was originally a generator for the Rhodonea curve (Rose).

Here are the equations used for each one of those curves :

Rhodonea curve : x=cos(a/b*t)*sin(t); y=cos(a/b*t)*cos(t)

Epicycloid : x=(a+b)*cos(t)-b*cos(((a/b)+1)*t); y=(a+b)*sin(t)-b*sin(((a/b)+1)*t)

Epitrochoid : x=(a+b)*cos(t)-c*cos(((a/b)+1)*t); y=(a+b)*sin(t)-c*sin(((a/b)+1)*t)

Hypocycloid : x=(a-b)*cos(t)+b*cos(((a/b)-1)*t); y=(a-b)*sin(t)-b*sin(((a/b)-1)*t)

Hypotrochoid: x=(a-b)*cos(t)+c*cos(((a/b)-1)*t); y=(a-b)*sin(t)-c*sin(((a/b)-1)*t)

(See also en.wikipedia.org/wiki/Rose_%28mathematics%29 )

You can set the 'a, 'b', and 'c' parameters to affect the look of the pattern (see en.wikipedia.org/wiki/File:Rose-rhodonea-curve-7x9-chart-improved.svg for example) and chose which pattern type to generate.

The patterns can vary a lot depending on the parameters, even for the same type of curve, so experiment and see what you like. I've created a few remixes that show some of the possibilities.

You can define the thickness of the pattern and outer wall as well as the height of pendant The rose radius will set the radius of the pendant.

The epitrochoid, epicycloid, hypotrochoid and hypocycloid patterns may not fit entirely in the outer circle of the pendant, so you can adjust the "Ring Adjustment" property to make them fit completely, or even to make them go beyond the borders if you think it's nicer that way.

Experiment, create and enjoy!

Note: This is my second attempt at using openscad (the first being thingiverse.com/thing:49590).

This was a lot of work since openscad wasn't made for drawing curves, and it seems I'm the first one to achieve somehting like that.

Thanks for all those who liked the design!

This script will generate a pendant with an artistic rendering of a mathematical curve inside.

It was originally a generator for the Rhodonea curve (Rose).

Here are the equations used for each one of those curves :

Rhodonea curve : x=cos(a/b*t)*sin(t); y=cos(a/b*t)*cos(t)

Epicycloid : x=(a+b)*cos(t)-b*cos(((a/b)+1)*t); y=(a+b)*sin(t)-b*sin(((a/b)+1)*t)

Epitrochoid : x=(a+b)*cos(t)-c*cos(((a/b)+1)*t); y=(a+b)*sin(t)-c*sin(((a/b)+1)*t)

Hypocycloid : x=(a-b)*cos(t)+b*cos(((a/b)-1)*t); y=(a-b)*sin(t)-b*sin(((a/b)-1)*t)

Hypotrochoid: x=(a-b)*cos(t)+c*cos(((a/b)-1)*t); y=(a-b)*sin(t)-c*sin(((a/b)-1)*t)

(See also en.wikipedia.org/wiki/Rose_%28mathematics%29 )

You can set the 'a, 'b', and 'c' parameters to affect the look of the pattern (see en.wikipedia.org/wiki/File:Rose-rhodonea-curve-7x9-chart-improved.svg for example) and chose which pattern type to generate.

The patterns can vary a lot depending on the parameters, even for the same type of curve, so experiment and see what you like. I've created a few remixes that show some of the possibilities.

You can define the thickness of the pattern and outer wall as well as the height of pendant The rose radius will set the radius of the pendant.

The epitrochoid, epicycloid, hypotrochoid and hypocycloid patterns may not fit entirely in the outer circle of the pendant, so you can adjust the "Ring Adjustment" property to make them fit completely, or even to make them go beyond the borders if you think it's nicer that way.

Experiment, create and enjoy!

Note: This is my second attempt at using openscad (the first being thingiverse.com/thing:49590).

This was a lot of work since openscad wasn't made for drawing curves, and it seems I'm the first one to achieve somehting like that.

Thanks for all those who liked the design!

Download All Files
(620 kb zip file)

#### File Name

#### Downloads

#### Size

Please Login to Comment

Awesome script.

Did you know that the Epicycloid never touches the outside no matter what settings you choose?

Is it possible to modify the script so that the circles on the outside of the Epicycloid is the actual outside ring?

Did you know that the Epicycloid never touches the outside no matter what settings you choose?

Is it possible to modify the script so that the circles on the outside of the Epicycloid is the actual outside ring?

Yes, I noticed the epicycloid (and I think hypocycloid too) don't always fit the outer circle, that's because it depends on the parameters, sometimes it will be smaller, and sometimes larger. That's why I added the ring adjustement configuration parameter, it should allow you to make the curve bigger/smaller so it fits and merges with the outer ring of the pendant.

Note: I've updated the script, hopefully with more realistic values for the radius/thickness/height. I'd love to get a 3D printer to print this to actually see how it appears in real life. so if someone can do that and maybe some me a picture, that would be great!