Skip to content

An OpenScad libray that add curved chamfers (concave and convex) to polygons

License

Notifications You must be signed in to change notification settings

papyDoctor/openscad-shape25

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openscad-shape25

An OpenScad library that create 2D5 shapes

shape25(points, radiuses, height)

Create a shape with rounded corners

  • points: vector of 2D points, points that form the underlying polygon
  • radiuses: vector of points, radiuses of the rounded corners
  • height: real positive, height of extrusion

hshape25(points, radiuses, thickness, height)

Create a hollow shape with rounded corners

  • points: vector of 2D points, points that form the underlying polygon
  • radiuses: vector of points, radiuses of the rounded corners
  • thickness: real positive, thickness of the hollow shape (absolutely constant when mathematically possible)
  • height: real positive, height of extrusion

oshape25(points, radiuses, thickness, height)

Create an open shape (wire) with rounded corners

  • points: vector of 2D points, points that form the underlying broken lines
  • radiuses: vector of points, radiuses of the rounded corners
  • thickness: real positive, thickness of the line
  • height: real positive, height of extrusion

Constrains:

  • Draw the shape conter-clockwise (not necessary for oshape25)
  • Fillets must not enter in conflict (keep always a small edge between)

Example:

  • See the lib file and the examples folder

About

An OpenScad libray that add curved chamfers (concave and convex) to polygons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published