Comments (3)
Hi @thoeschler,
Just for visualization of the surface, the only thing you need is the evaluated points, i.e. evalpts
property. Control points, knot vectors and polynomial degree are required to compute the evaluated points. For sure, it is possible to visualize the control point grid alone and even add the parametric dimensions to that graph, if it makes sense.
The order of control points or evaluated points is not required for visualization. You can run a tessellation algorithm on the points (most assume the input as a point cloud) or just visualize the points as small spheres or use any external visualizer, e.g. Paraview. The visualizers in the geomdl.visualization
package are just examples which are created with the intention of illustrating extensibility options.
Hope these help.
from nurbs-python.
Hi,
thanks for your answer. I actually mixed something up. For surface definition you have to order the control points. I found a way to get them in ordered form.
I have another question. Is it already possible to plot both curves and surfaces in the same figure?
CurveContainer
and SurfaceContainer
and render
only work for either of the two.
from nurbs-python.
For evaluation of the surface, yes, you have to have the ordered points, but you asked for visualization, and it is not necessary to order any points for that.
Containers does not support containing or visualization of mixed geometries at this time. You may extend the base class and add any feature you would like to.
from nurbs-python.
Related Issues (20)
- Question: deviation estimation HOT 2
- Insert and then remove knot - Initial and final control points are not the same HOT 9
- fitting nurbs surface into mesh model HOT 1
- Surfaces: evaluating z for given (x, y)
- fitting error when use approximate_curve HOT 1
- NURBS.surfaces: derivatives evaluation HOT 1
- Incorrect control points calculation in knot insertion procedure, under certain circumstances
- [Suggesion] The Axes3D is not an appropriate way to create the 3D axis handle HOT 1
- Import obj fails with ValueError invalid literal for `int()` with base 10 '1//1' HOT 1
- numpy v1.24 compatibility HOT 2
- operations.split_curve
- Visualization (VisMPL) is showing an empty figure HOT 4
- Interpolating a hemispherical shape leads to ZeroDivisionError HOT 3
- VisPlotly not return the figure object HOT 1
- Help wanted: unknown ZeroDivisionError HOT 3
- BSpline interpolation and approximation boundary conditions
- Problem in Visualization for Sample code HOT 2
- export 3D nurbs curves
- Tangent and Normal operation no results
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nurbs-python.