We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c20298 commit b61c3e5Copy full SHA for b61c3e5
src/plotly_3d_primitives/shapes.py
@@ -196,6 +196,7 @@ def rectangular_grid(
196
x_dir = (1, 0, 0)
197
y_dir = (0, 1, 0)
198
z_dir = (0, 0, 1)
199
+ assumed_normal = z_dir
200
norm = np.linalg.norm(normal)
201
cos_alpha = np.dot(x_dir, normal) / norm
202
cos_beta = np.dot(y_dir, normal) / norm
@@ -213,6 +214,7 @@ def rectangular_grid(
213
214
[0, 0, 1]
215
])
216
217
+
218
# # The projection of the normal on each plane
219
# xy_proj = np.array([normal[0], normal[1], 0])
220
# yz_proj = np.array([0, normal[1], normal[2]])
0 commit comments