Skip to content

Commit

Permalink
Fixed error in demos due to change in evenly_sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin-Mattheus-Moerman committed Aug 20, 2024
1 parent 0efb666 commit c174712
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/demo_extrudefaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ using Rotations
using Statistics
using LinearAlgebra

testCase = 1
testCase = 3

if testCase ==1
plateDim = [10.0,10.0]
Expand Down Expand Up @@ -36,7 +36,7 @@ elseif testCase == 3
# Section 1
f(t) = 3 + 0.25.*sin(3*t)
V1 = circlepoints(f,np; dir=:cw)
V1,_ = evenly_sample(V1, np)
V1 = evenly_sample(V1, np)
V1_ori = deepcopy(V1)

# Ensure section is orthogonal to guide curve
Expand All @@ -58,7 +58,7 @@ elseif testCase == 3
# Section 2
f(t) = 5 + 0.5*sin(5*t)
V2 = circlepoints(f,np; dir=:cw)
V2,_ = evenly_sample(V2, np)
V2 = evenly_sample(V2, np)
V2_ori = deepcopy(V2)

# Q1 = RotXYZ(0.5*π,0.0,0.0) # Define a rotation tensor using Euler angles
Expand Down
1 change: 0 additions & 1 deletion examples/demo_filletcurve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ end
rMax = nothing

VC = filletcurve(V; rMax=rMax, constrain_method = :max, n=25, close_loop = close_loop, eps_level = 1e-6)
# VC2,_ = evenly_sample(VC,100)

# Visualisation
fig = Figure(size=(1000,1000))
Expand Down

0 comments on commit c174712

Please sign in to comment.