We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78be3f0 commit 7a1c6c1Copy full SHA for 7a1c6c1
1 file changed
example/3d.jl
@@ -9,4 +9,22 @@ stl_model1 = readSTL3D(stl_path1)
9
stl_model2 = readSTL3D(stl_path2)
10
11
pip_query(stl_model1, points; nsamples=3, dev="CPU:0")
12
-pip_query(stl_model2, points; nsamples=5)
+pip_query(stl_model2, points; nsamples=5)
13
+
14
+let
15
+ h = 1
16
+ pts = FastPointQuery._get_pts_voxel(stl_model1, h)
17
+ fig = Figure()
18
+ ax = LScene(fig[1, 1])
19
+ scatter!(ax, pts, markersize=1)
20
+ display(fig)
21
+end
22
23
24
+ h = 5
25
+ pts = FastPointQuery._get_pts_voxel(stl_model2, h; fill=true)
26
27
28
29
30
0 commit comments