• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
OpenScad Bezier Function with Ribbons 3D Printer File Image 1
OpenScad Bezier Function with Ribbons 3D Printer File Image 2
OpenScad Bezier Function with Ribbons 3D Printer File Image 3
OpenScad Bezier Function with Ribbons 3D Printer File Thumbnail 1
OpenScad Bezier Function with Ribbons 3D Printer File Thumbnail 2
OpenScad Bezier Function with Ribbons 3D Printer File Thumbnail 3

OpenScad Bezier Function with Ribbons

WilliamAAdams avatarWilliamAAdams

May 11, 2011

thingiverse-icon
DescriptionCommentsTags

Description

Perhaps it's bad form to create a derivative of your own thing when it's just a code update rather than an actual 'thing' but...

This thing incorporates a couple more changes to the Bezier functions. First, it adds a 3 element version of the PointOnBezCubic() function. So, there's now 2D and 3D. The 3D version can be used for x,y,z values, or for r,g,b values, as demonstrated in the pictures.

Speaking of pictures, I've added an example of how to use color with the bezier curve to give your images that groovy ramped color goodness. I expect to do very bad things with this.

Some more factoring and commenting of the code should make it fairly easy to understand.

But, all that goodness was added so that I could actually create BezierStrips! Just think of it. You give the function two sets of control points (4 points each), and it will generate an extruded strip that is 'in between' the two curves. Curve1 is on 'top' and Curve2 is on 'bottom', but actually it doesn't matter what their orientation is.

This is really great for creating things like handles for cups, or funky looking springy feet, or vert ramps for skateboard parks.

Just more Bezier goodness.

One of the pictures shows a bell shaped thing. that's just a Bezier strip rotated around the z-axis an appropriate number of times. Can be used to make very interesting other shapes no doubt.

And who knew OpenScad was able to render things so nicely!

UPDATE: If you're interested in more words on this design, you can take a look here: http://williamaadams.wordpress.com/2011/05/12/mr-bezier-goes-to-openscad/

License:

Public Domain

Related Models

Venus Box preview image

Venus Box

Prot0typ1cal profile image

Prot0typ1cal

48,749

Bezier Boat preview image

Bezier Boat

williamaadams profile image

williamaadams

7

Filament spool storage box + silica & filament tag preview image

Filament spool storage box + silica & filament tag

Kahany profile image

Kahany

1,969

Parametric pulley - lots of tooth profiles preview image

Parametric pulley - lots of tooth profiles

droftarts profile image

droftarts

35,586

Rebel Princess Deluxe Edition for sleeves preview image

Rebel Princess Deluxe Edition for sleeves

Joe S profile image

Joe S

7

IKEA Label for (PAX / KOMPLEMENT) preview image

IKEA Label for (PAX / KOMPLEMENT)

fraide profile image

fraide

165

Sweeping 2-line name plate (text) preview image

Sweeping 2-line name plate (text)

makkuro profile image

makkuro

22,197

One Night Ultimate Werewolf Box Inserts preview image

One Night Ultimate Werewolf Box Inserts

AureusKhan profile image

AureusKhan

5