Giter Site home page Giter Site logo

uchytilc / round-anything Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irev-dev/round-anything

0.0 0.0 0.0 2.71 MB

A set of OpenSCAD utilities for adding radii and fillets, that embodies a robust approach to developing OpenSCAD parts.

Home Page: https://kurthutten.com/blog/round-anything-a-pragmatic-approach-to-openscad-design

License: MIT License

OpenSCAD 100.00%

round-anything's Introduction

Round-Anything

Round-Anything is primarily a set of OpenSCAD utilities that help with rounding parts, but it also embodies a robust approach to developing OpenSCAD parts. The heart of the library a list of polygon points, with a 3rd radius parameter at each point. That is a series of [x, y, radius] points.

The Why

The truth is radii, internal radii in particular can be a real pain to add in openscad. and the more you move away from shapes with 90 degree angles the more difficult it becomes, effectively putting a complexity ceiling on parts you can produce in OpenScad. Because of how important radii in both making an appealing and strong part, reducing stress concentration etc, A library that focuses on radii as a core principle makes for a solid foundation for your parts. Furthermore the heart of the library revolves around the polygon, this is because we're leveraging the battle tested paradigm of extruding from 2d sketches of most CAD packages. I can't imagine making an OpenScad part without Round-Anything.

Quick side-notes

I'm currently working on a community website for "Code-CAD" (like OpenSCAD). A good way to think of it is codepen crossed with a thing repository. You can check it out at cadhub.xyz or it's repo.

Also please submit examples of what you build with the library in the discussions, I'd love to see them. I also recommend you "watch" the repo with notifications turned on for the discussions to stay up-to-date.

Documentation

See an overview of the library in video form

Written overview.

Full documentation of the API is here.

Installation instructions

Extra

I live streamed the making of this part using this library. I was able to make the bulk of this part quickly even with some complex radii involved thanks to the library.

Below are some of the example parts that can be found in roundAnythingExamples.scad.

Citation

roundUnionMask Includes code based on examples from: Kogan, Jonathan (2017) "A New Computationally Efficient Method for Spacing n Points on a Sphere," Rose-Hulman Undergraduate Mathematics Journal: Vol. 18 : Iss. 2 , Article 5. Available at: [https://scholar.rose-hulman.edu/rhumj/vol18/iss2/5]

round-anything's People

Contributors

damienmg avatar irev-dev avatar jamespbryan avatar nickcoutsos avatar tlc123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.