compas-dev / compas-dev/compas

NurbsCurve compas.plugins.PluginNotInstalledError

Open
#1,102 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
386
Forks
122
Avg merge
11d 46m
Merged PRs (30d)
1

Description

**Describe the bug**
Compas fails to produce a Nurbs curve from points.

```
Traceback (most recent call last):
File "c:\Users\sh_st\Code_local\ibs\ibs_core\nurbs_curve_test.py", line 12, in
test_nurbs_curve()
File "c:\Users\sh_st\Code_local\ibs\ibs_core\nurbs_curve_test.py", line 9, in test_nurbs_curve
curve = NurbsCurve.from_points([Point(0, 0, 0), Point(3, 6, 0), Point(6, -3, 3), Point(10, 0, 0)])
File "C:\Users\sh_st\anaconda3\envs\ibsenv\lib\site-packages\compas\geometry\curves\nurbs.py", line 267, in from_points
return new_nurbscurve_from_points(cls, points, degree=degree)
File "C:\Users\sh_st\anaconda3\envs\ibsenv\lib\site-packages\compas\plugins.py", line 302, in wrapper
plugin_impl = _select_plugin(extension_point_url)
File "C:\Users\sh_st\anaconda3\envs\ibsenv\lib\site-packages\compas\plugins.py", line 486, in select_plugin
raise PluginNotInstalledError("Plugin not found for extension point URL: {}".format(extension_point_url))
compas.plugins.PluginNotInstalledError: Plugin not found for extension point URL: https:/plugins.compas.dev/factories/new_nurbscurve_from_points
```

**To Reproduce**
Steps to reproduce the behavior:
Sample script:
```
from compas.geometry import Point, NurbsCurve

def test_nurbs_curve():

curve = NurbsCurve.from_points([Point(0, 0, 0), Point(3, 6, 0), Point(6, -3, 3), Point(10, 0, 0)])

if __name__ == "__main__":
test_nurbs_curve()
```

**Expected behavior**
The function should return a nurbs curve

**Desktop (please complete the following information):**
- OS: Windows 11 Pro version 21H2
- Python version: 3.10
- Python package manager: conda

**Additional context**
Compas v1.17.3

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.