Coder Social home page Coder Social logo

hobezwe / nurbs.jl Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 1.0 2.75 MB

This package provides functionality to define and evaluate B-spline and NURBS (non-uniform rational B-spline) basis functions, their derivatives, as well as curves and surfaces based on both considered basis functions.

License: MIT License

Julia 100.00%
b-spline julia nurbs curves derivatives jacobians surfaces

nurbs.jl's Introduction

Docs-stable Docs-dev MIT license Build Status codecov DOI

Introduction

This package provides functionality to define and evaluate B-spline, Curry-Schoenberg, and NURBS (non-uniform rational B-spline) basis functions, their derivatives, as well as curves and surfaces based on B-spline and NURBS basis functions.

The following aspects are implemented (✓) and planned (⌛):

B-spline, Curry-Schoenberg & NURBS evaluation
  • ✓ Basis & derivatives
  • ✓ Curves & derivatives
  • ✓ Surfaces & derivatives
Fundamental operations
  • ✓ File I/O (.step)
  • ✓ Knot manipulation
    • knot insertion / refinement
    • knot removal
    • splitting of curves and surfaces
  • ✓ Transformation of curves and surfaces
    • scaling
    • translating
    • rotating
    • mirroring
  • ⌛ Degree elevation / reduction
  • ⌛ Construction of common geometries

Citation

Please cite this package following the information on Zenodo.

Documentation

nurbs.jl's People

Contributors

djukic14 avatar hobezwe avatar juddmehr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

sbadrian

nurbs.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

plotSurface(SNurbs, controlPoints=controlPoints) is not working for a different number of control points in the two parametric directions

Command plotSurface with option controlPoints (e.g. plotSurface(SNurbs, controlPoints=controlPoints)) is not working for a different number of control points in the two parametric directions.

In file "src/utils/plotting.jl" please replace line 130 with the following:

maxmax, t2 = plotControlPoints(controlPoints[ind,:])

and line 136 with:

maxmax2, t2 = plotControlPoints(controlPoints[:,ind])

Logo cut off

Hi,

I noticed the current (and older) loge have most of the N cut off. I was thinking is it intentional, some stylistic chose I don't understand?

It stands for:
"NURBS (non-uniform rational B-spline) basis", and maybe I'm reading too much into it, but the N stands for non[-uniform], so without it would be uniform rational B-spline basis, if that even makes sense. Is it to imply that somehow, that or both can be done?

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.