We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55532b3 commit bc88b0dCopy full SHA for bc88b0d
1 file changed
example/getpts.jl
@@ -0,0 +1,16 @@
1
+using FastPointQuery
2
+using WGLMakie
3
+
4
+stl_model = readSTL3D(joinpath(@__DIR__, "wheel.stl"))
5
6
+h = 3
7
+pts = FastPointQuery._get_pts_ray(stl_model, h, ϵ="FP32")
8
9
+saveply(joinpath(@__DIR__, "wheel.ply"), pts)
10
11
+let
12
+ fig = Figure()
13
+ ax = LScene(fig[1, 1])
14
+ scatter!(ax, pts, markersize=1)
15
+ display(fig)
16
+end
0 commit comments