Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pyMKcam
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
pyMKcam
Commits
46abd367
Commit
46abd367
authored
Mar 31, 2012
by
Whitham D. Reeve II
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace point object style with point tuple style.
parent
6716dab0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ContourFollow.py
pycam/PathGenerators/ContourFollow.py
+1
-1
No files found.
pycam/PathGenerators/ContourFollow.py
View file @
46abd367
...
@@ -466,7 +466,7 @@ def get_collision_waterline_of_triangle(model, cutter, up_vector, triangle, z):
...
@@ -466,7 +466,7 @@ def get_collision_waterline_of_triangle(model, cutter, up_vector, triangle, z):
max_length
=
sqrt
(
x_dim
**
2
+
y_dim
**
2
+
z_dim
**
2
)
max_length
=
sqrt
(
x_dim
**
2
+
y_dim
**
2
+
z_dim
**
2
)
result
=
[]
result
=
[]
for
edge
in
outer_edges
:
for
edge
in
outer_edges
:
direction
=
pnormalized
(
up_vector
.
cross
(
edge
.
dir
))
direction
=
pnormalized
(
pcross
(
up_vector
,
edge
.
dir
))
if
direction
is
None
:
if
direction
is
None
:
continue
continue
direction
=
pmul
(
direction
,
max_length
)
direction
=
pmul
(
direction
,
max_length
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment