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
bafdbdd3
Commit
bafdbdd3
authored
Jan 23, 2012
by
Lars Kruse
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://pycam.git.sourceforge.net/gitroot/pycam/pycam
parents
aca4bf3c
5bd91f79
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
utils.py
pycam/Geometry/utils.py
+1
-1
locations.py
pycam/Utils/locations.py
+1
-1
profile_pycam.py
scripts/profile_pycam.py
+4
-0
No files found.
pycam/Geometry/utils.py
View file @
bafdbdd3
...
...
@@ -51,6 +51,6 @@ else:
if
_use_precision
:
number
=
lambda
value
:
decimal
.
Decimal
(
str
(
value
))
else
:
number
=
lambda
value
:
float
(
value
)
number
=
float
pycam/Utils/locations.py
View file @
bafdbdd3
...
...
@@ -40,7 +40,7 @@ if "_MEIPASS2" in os.environ:
DATA_BASE_DIRS
=
[
os
.
path
.
join
(
PROJECT_BASE_DIR
,
"share"
),
os
.
path
.
join
(
PROJECT_BASE_DIR
,
"share"
,
"pycam"
),
os
.
path
.
join
(
sys
.
prefix
,
"local"
,
"share"
,
"pycam"
),
os
.
path
.
join
(
sys
.
prefix
,
"share"
,
"pycam"
)]
os
.
path
.
join
(
sys
.
prefix
,
"share"
,
"pycam"
)
,
'.'
]
FONTS_SUBDIR
=
"fonts"
UI_SUBDIR
=
"ui"
...
...
scripts/profile_pycam.py
View file @
bafdbdd3
...
...
@@ -13,6 +13,10 @@ from pycam.Toolpath import Bounds
from
pycam.Toolpath.MotionGrid
import
get_fixed_grid
from
pycam.Utils.locations
import
get_data_file_location
# Disable multi processing
from
pycam.Utils
import
threading
threading
.
__multiprocessing
=
False
""" Profile PyCAM doing several operations, print out the top 10
(sorted by actual local runtime) methods.
"""
...
...
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