Questions tagged [nurbs]

Non-uniform rational basis spline (NURBS) is a mathematical model commonly used in computer graphics for generating and representing curves and surfaces which offers great flexibility and precision for handling both analytic and freeform shapes.

Non-Uniform Rational B-Spline (NURBS) is a mathematical model commonly used in computer graphics and computer aided design for representing curves and surfaces which offers great flexibility and precision for handling both analytic and freeform shapes.

NURBS allow representation of geometrical shapes in a compact form. They can be efficiently handled by the computer programs and yet allow for easy human interaction. NURBS surfaces are functions of two parameters mapping to a surface in three-dimensional space. The shape of the surface is determined by control points.

NURBS are commonly used in computer-aided design (CAD), manufacturing (CAM), and engineering (CAE) and are part of numerous industry wide used standards, such as IGES, STEP, ACIS, and PHIGS. NURBS tools are also found in various 3D modeling and animation software packages, such as form•Z, Blender,3ds Max, Maya, Rhino3D, Cinema 4D, Cobalt, Shark FX, and Solid Modeling Solutions. Other than this there are specialized NURBS modeling software packages such as Autodesk Alias Surface, solidThinking and ICEM Surf.

125 questions
3
votes
1 answer

Converting output of scipy.interpolate.splprep into NURBS format for IGES display

I'm looking to convert a series of ordered (pretty dense) 2D points describing arbitrary curves into a NURBS representation, which can be written into an IGES file. I'm using scipy.interpolate's splprep to get a B-spline representation of the…
2flwr
  • 61
  • 5
3
votes
3 answers

How can I create a 3D cubic-bezier curved triangle from 3D points in Three.js?

Following this topic, I am trying to generate a 3D curved triangle as a NURBS surface, but I don't understand how to set up my 3D points to do that. Here is the current implementation : var edges = this.getEdges(), // An edge is a line following 4…
Tot
  • 873
  • 2
  • 13
  • 30
3
votes
2 answers

Rendering NURBS surface in webGL

I need some help with rendering a NURBS surface in webGL. Some days ago our professor assigned us to draw with NURBS a flag and to animate it. We have to use webGL (and cannot trhee.js...). I have no idea on how to proceed (even though I know the…
magicleon94
  • 4,887
  • 2
  • 24
  • 53
3
votes
1 answer

How to make a NURBS surface with NxN Control Points in Three.js

Yesterday I was trying to draw a Math function in 3D [ F(x,y) ]. How I did it? I calculated some points (x, y, z) in the space and I draw a white point there. Here the example: The first problem: When I move the scenario (using Orbital Control),…
Broda Noel
  • 1,760
  • 1
  • 19
  • 38
3
votes
1 answer

How to draw absolutely custom shape in Java?

The most complex shape, supported by Java2D API is a Bezier segment. Suppose I want to draw rational segment (each control point has a weight and the entire rendering formula is slightly different). How to accomplish that? Is it possible to extend…
Suzan Cioc
  • 29,281
  • 63
  • 213
  • 385
3
votes
2 answers

Visio NURBS formula

I have trouble deciphering the individual parameters of the NURBS formula in the shapes NURBSTo entry (used for splines - curved edges). MS Visio documentation didn't help too much. The number of parameters is variable depending on the complexity of…
Mate E.
  • 396
  • 2
  • 10
3
votes
3 answers

Drawing NURBS Curves?

for the past week I've been facing this problem. For my current project I need to draw NURBS curves, the project already uses OpenNURBS, but I wasn't able to figure out how to use it. My question is, how can I get the curve points from a few control…
Ilija Boshkov
  • 149
  • 2
  • 10
3
votes
2 answers

What about NURBS and opengl 4.2 core?

NURBS chapter in RedBook is denoted deprecated, including utility library: "Even though some of this functionality is part of the GLU library, it relies on functionality that has been removed from the core OpenGL library." Does it mean OpenGL 4.2…
Ahk4iePaiv8u
  • 108
  • 1
  • 8
2
votes
1 answer

Repeating texture issue

I am trying to map an image onto a NURBS surface. I have a 13x13 array of equally spaced control points in a (-1, -1), (-1, 1), (1, 1), (1, -1) square. I am trying to map a texture onto the NURBS surface controlled by the control points using the…
Anand
  • 729
  • 2
  • 10
  • 26
2
votes
1 answer

How to continue looping through GLfloat Points

I am having trouble making a simple drawing. I'm not sure what the issues is here but I have a set of points: GLfloat ctrlpoints[13][3] = { {0.1, 0.1, 0.0}, {0.7, 0.1, 0.0}, {0.9, 0.1, 0.0}, {0.9, 0.3, 0.0}, …
dnice123
  • 25
  • 3
2
votes
1 answer

Does Catias 3dxml format contain CAD as Nurbs, or is it just a triangulated/polygonal mesh?

I am curious if 3DXML is actually a Mesh or if it is Nurbs. Is it limited when compared to a Catpart/Catproduct assembly? My background is not Cad so apologies if this isn't a good question
2
votes
0 answers

NURBS Weights De Boor's Algorithm

I am having trouble implementing an algorithm for 3rd degree NURBS. I have been able to program 2nd degree ones from the equations described here but I am not able to derive an equation for Rational B-Splines of degree 3. The author describes the…
2
votes
1 answer

How can I create a 3D surface from 3D points in Three.js?

I'm making a project to make simple 3d models with dots and lines (curved or not). For a first version I used SVG elements for simple render, smooth curves and mouse events. Now I'm trying to use Three.js renderer instead of SVG. I got to create 3d…
Tot
  • 873
  • 2
  • 13
  • 30
2
votes
0 answers

Difference between catmull-clark and (nurbs or B-spline patches)

Catmull-Clark works for arbitrary polygon meshes, which seems it is the superset of NURBS or equal to B-spline patches. However, the method converges to bicubic B-spline surfaces based on WIKI. What is the relationship between those?
yuxuan
  • 417
  • 5
  • 16
2
votes
0 answers

Convert a degree 3 cubic Nurbs Curve to Catmull-Rom?

Is there a way to convert a degree 3 cubic Nurbs curve to a Catmull-Rom curve? The Nurbs curve has a standard knot vector, so for example a curve with 10 control points has these 12 knots: [ 0 0 0 1 2 3 4 5 6 7 7 7 ] I assume the resulting…
Daniela
  • 169
  • 2
  • 5
1
2
3
8 9