From bed268e9e198ddc5f8ef2d04e03c939e23d560f1 Mon Sep 17 00:00:00 2001 From: brgcode Date: Mon, 25 Oct 2021 21:56:01 +0200 Subject: [PATCH] no plugins --- docs/examples/surface_aabb.py | 3 ++- docs/examples/surface_frames.py | 3 ++- docs/examples/surface_from_meshgrid.py | 3 ++- docs/examples/surface_from_parameters.py | 3 ++- docs/examples/surface_from_points.py | 3 ++- docs/examples/surface_intersections_with_line.py | 3 ++- docs/examples/surface_isocurves.py | 3 ++- docs/examples/surface_jsondata.py | 3 ++- docs/examples/surface_obb.py | 3 ++- docs/examples/surface_random.py | 4 ++-- docs/examples/surface_spacepoints.py | 3 ++- docs/examples/surface_viewobject.py | 3 ++- 12 files changed, 24 insertions(+), 13 deletions(-) diff --git a/docs/examples/surface_aabb.py b/docs/examples/surface_aabb.py index 098dae491..a04157d25 100644 --- a/docs/examples/surface_aabb.py +++ b/docs/examples/surface_aabb.py @@ -1,7 +1,8 @@ from math import radians from compas.geometry import Translation, Rotation from compas.geometry import Point, Polyline -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_frames.py b/docs/examples/surface_frames.py index 8e65ffc68..02aaa1696 100644 --- a/docs/examples/surface_frames.py +++ b/docs/examples/surface_frames.py @@ -1,6 +1,7 @@ from compas.geometry import Point from compas.utilities import meshgrid, flatten -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_from_meshgrid.py b/docs/examples/surface_from_meshgrid.py index bfed37e47..24b47c7ae 100644 --- a/docs/examples/surface_from_meshgrid.py +++ b/docs/examples/surface_from_meshgrid.py @@ -1,6 +1,7 @@ from compas.geometry import Point, Polyline from compas.utilities import meshgrid, linspace -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_from_parameters.py b/docs/examples/surface_from_parameters.py index 74295017f..1d4d7bd9f 100644 --- a/docs/examples/surface_from_parameters.py +++ b/docs/examples/surface_from_parameters.py @@ -1,5 +1,6 @@ from compas.geometry import Point, Polyline -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_from_points.py b/docs/examples/surface_from_points.py index 6f1c60d6e..5c6b7df52 100644 --- a/docs/examples/surface_from_points.py +++ b/docs/examples/surface_from_points.py @@ -1,5 +1,6 @@ from compas.geometry import Point, Polyline -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_intersections_with_line.py b/docs/examples/surface_intersections_with_line.py index e6d6a81c3..de2b2fca7 100644 --- a/docs/examples/surface_intersections_with_line.py +++ b/docs/examples/surface_intersections_with_line.py @@ -3,7 +3,8 @@ from compas.geometry import Rotation from compas.geometry import centroid_points_xy from compas.utilities import flatten -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App from compas_view2.objects import Collection diff --git a/docs/examples/surface_isocurves.py b/docs/examples/surface_isocurves.py index fa6c2b5cd..e4eaabe20 100644 --- a/docs/examples/surface_isocurves.py +++ b/docs/examples/surface_isocurves.py @@ -1,5 +1,6 @@ from compas.geometry import Point, Polyline -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_jsondata.py b/docs/examples/surface_jsondata.py index d57c51a5f..3075488d4 100644 --- a/docs/examples/surface_jsondata.py +++ b/docs/examples/surface_jsondata.py @@ -1,5 +1,6 @@ from compas.geometry import Point, Polyline -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_obb.py b/docs/examples/surface_obb.py index 955139dbf..1cb86f0bd 100644 --- a/docs/examples/surface_obb.py +++ b/docs/examples/surface_obb.py @@ -1,7 +1,8 @@ from math import radians from compas.geometry import Translation, Rotation from compas.geometry import Point, Polyline -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_random.py b/docs/examples/surface_random.py index 29f079635..e9d3fe743 100644 --- a/docs/examples/surface_random.py +++ b/docs/examples/surface_random.py @@ -1,7 +1,7 @@ import random - from compas.geometry import Polyline -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App diff --git a/docs/examples/surface_spacepoints.py b/docs/examples/surface_spacepoints.py index 40f0d7bef..3e72d0d5d 100644 --- a/docs/examples/surface_spacepoints.py +++ b/docs/examples/surface_spacepoints.py @@ -1,5 +1,6 @@ from compas.geometry import Point, Polyline -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App from compas_view2.objects import Collection diff --git a/docs/examples/surface_viewobject.py b/docs/examples/surface_viewobject.py index da7d7590a..540160e32 100644 --- a/docs/examples/surface_viewobject.py +++ b/docs/examples/surface_viewobject.py @@ -1,5 +1,6 @@ from compas.geometry import Point -from compas_occ.geometry import NurbsSurface +# from compas.geometry import NurbsSurface +from compas_occ.geometry import OCCNurbsSurface as NurbsSurface from compas_view2.app import App