Skip to content

Commit

Permalink
no plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Oct 25, 2021
1 parent 02d06d8 commit bed268e
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 13 deletions.
3 changes: 2 additions & 1 deletion docs/examples/surface_aabb.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_frames.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_from_meshgrid.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_from_parameters.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_from_points.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_intersections_with_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_isocurves.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_jsondata.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_obb.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/surface_random.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_spacepoints.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion docs/examples/surface_viewobject.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit bed268e

Please sign in to comment.