Commit 780291e8 authored by sumpfralle's avatar sumpfralle

minor fixes

documentation updates


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1042 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent e212b951
...@@ -66,6 +66,7 @@ Afterwards you can remove the new package repository again. ...@@ -66,6 +66,7 @@ Afterwards you can remove the new package repository again.
Users of Python 2.5 with multiple CPU cores may want to install the package Users of Python 2.5 with multiple CPU cores may want to install the package
"python-processing". This enables multi-threading for Python before v2.6. "python-processing". This enables multi-threading for Python before v2.6.
MacOS MacOS
----- -----
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# use something like "VERSION=0.2 make" to override the VERSION on the command line # use something like "VERSION=0.2 make" to override the VERSION on the command line
VERSION ?= $(shell sed -n "s/^.*[\t ]*VERSION[\t ]*=[\t ]*[\"']\([^\"']*\)[\"'].*/\1/gp" src/pycam/__init__.py) VERSION ?= $(shell sed -n "s/^.*[\t ]*VERSION[\t ]*=[\t ]*[\"']\([^\"']*\)[\"'].*/\1/gp" src/pycam/__init__.py)
SVN_REPO_BASE ?= $(shell svn info --xml 2>/dev/null | grep "^<url>" | cut -f 2 -d ">" | cut -f 1 -d "<") SVN_REPO_BASE ?= $(shell svn info --xml 2>/dev/null | grep "^<url>" | cut -f 2 -d ">" | cut -f 1 -d "<")
SVK_REPO_BASE ?= $(shell LANG= svk info | grep "^Depot Path:" | cut -f 3- -d " ") SVK_REPO_BASE ?= $(shell LANG= svk info 2>/dev/null| grep "^Depot Path:" | cut -f 3- -d " ")
REPO_TAGS ?= https://pycam.svn.sourceforge.net/svnroot/pycam/tags REPO_TAGS ?= https://pycam.svn.sourceforge.net/svnroot/pycam/tags
RELEASE_PREFIX ?= pycam- RELEASE_PREFIX ?= pycam-
ARCHIVE_DIR_RELATIVE ?= release-archives ARCHIVE_DIR_RELATIVE ?= release-archives
...@@ -40,7 +40,7 @@ svn_export: clean ...@@ -40,7 +40,7 @@ svn_export: clean
fi fi
create_archive_dir: create_archive_dir:
mkdir -p "$(ARCHIVE_DIR)" @mkdir -p "$(ARCHIVE_DIR)"
zip: create_archive_dir man svn_export zip: create_archive_dir man svn_export
cd "$(EXPORT_DIR)"; $(PYTHON_EXE) setup.py sdist --format zip --dist-dir "$(ARCHIVE_DIR)" cd "$(EXPORT_DIR)"; $(PYTHON_EXE) setup.py sdist --format zip --dist-dir "$(ARCHIVE_DIR)"
......
...@@ -3,36 +3,8 @@ pycam : Python CAM ...@@ -3,36 +3,8 @@ pycam : Python CAM
Toolpath Generation for 3-Axis CNC machining Toolpath Generation for 3-Axis CNC machining
Read the wiki for details:
Features: http://sourceforge.net/apps/mediawiki/pycam/index.php?title=User_Manual
* Cutters:
** Spherical Cutter
** Cylindrical Cutter
** Toroidal Cutter
* Path Generators:
** DropCutter
** PushCutter
* Path Processors:
** Linear
** ZigZag
** Polygon
** Contour (aka. waterline)
* Importers:
** STL
** DXF (only lines)
** SVG (paths for engravings)
* Exporters:
** STL
** GCODE
** EMC2 tool defintion (tbl)
* Visualization:
** OpenGL
RUNNING: RUNNING:
...@@ -62,26 +34,10 @@ USAGE: ...@@ -62,26 +34,10 @@ USAGE:
and the ZigZag PostProcessor in "x" or "y" mode and the ZigZag PostProcessor in "x" or "y" mode
TODO / OPEN ISSUES:
see http://sourceforge.net/apps/mediawiki/pycam/index.php?title=TODO
FEATURE REQUESTS:
* climbing / conventional cutting paths
* diagonal paths
* start at arbitrary corner
KNOWN BUGS: KNOWN BUGS:
* The ODE collision detection sometimes fails at the corners of a
model.
http://sourceforge.net/tracker/?func=detail&aid=2973876&group_id=24884&atid=382799
* Bugs in the sourceforge bug tracker:
http://sourceforge.net/tracker/?group_id=237831&atid=1104176 http://sourceforge.net/tracker/?group_id=237831&atid=1104176
...@@ -90,7 +46,9 @@ CONTRIBUTORS: ...@@ -90,7 +46,9 @@ CONTRIBUTORS:
* Lode Leroy: initiated the project; developed the toolpath generation, * Lode Leroy: initiated the project; developed the toolpath generation,
collision detection, geometry, Tk interface, ... collision detection, geometry, Tk interface, ...
* Lars Kruse: developed the GTK interface; added ODE support * Lars Kruse: GTK interface and many features
* Paul: GCode stepping precision
* Arthur Magill: distutils packaging * Arthur Magill: distutils packaging
......
...@@ -54,14 +54,12 @@ PYTHON_DOC_DIR = os.path.join(SHARE_DIR, "doc") ...@@ -54,14 +54,12 @@ PYTHON_DOC_DIR = os.path.join(SHARE_DIR, "doc")
ICON_FILE = os.path.join(SHARE_DIR, "pycam.ico") ICON_FILE = os.path.join(SHARE_DIR, "pycam.ico")
# add some more doc files # add some more doc files
DOC_FILES = [ DOC_FILES = [("LICENSE.TXT", "License"),]
("LICENSE.TXT", "License"),
("README.TXT", "Readme")]
WEB_LINKS = [ WEB_LINKS = [
(r"http://sourceforge.net/projects/pycam/", "Project's Website"), (r"http://sourceforge.net/projects/pycam/", "Project's Website"),
(r"http://sourceforge.net/tracker/?group_id=237831&atid=1104176", "Report a Bug"), (r"http://sourceforge.net/tracker/?group_id=237831&atid=1104176", "Report a Bug"),
(r"http://sourceforge.net/projects/pycam/forums", "Forum Discussions"), (r"http://sourceforge.net/projects/pycam/forums", "Forum Discussions"),
(r"http://sourceforge.net/apps/mediawiki/pycam/", "Wiki Documentation")] (r"http://sourceforge.net/apps/mediawiki/pycam/index.php?title=User_Manual", "User Manual")]
MENU_ITEMS = map(lambda v: (os.path.join(PYTHON_DOC_DIR, v[0]), v[1]), DOC_FILES) MENU_ITEMS = map(lambda v: (os.path.join(PYTHON_DOC_DIR, v[0]), v[1]), DOC_FILES)
MENU_ITEMS.extend(WEB_LINKS) MENU_ITEMS.extend(WEB_LINKS)
......
...@@ -7,7 +7,6 @@ packager = Lars Kruse <devel@sumpfralle.de> ...@@ -7,7 +7,6 @@ packager = Lars Kruse <devel@sumpfralle.de>
doc_files = Changelog doc_files = Changelog
README.TXT README.TXT
INSTALL.TXT INSTALL.TXT
technical_details.txt
LICENSE.TXT LICENSE.TXT
COPYING.TXT COPYING.TXT
doc/ doc/
......
...@@ -31,13 +31,14 @@ import sys ...@@ -31,13 +31,14 @@ import sys
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
from pycam import VERSION from pycam import VERSION
setup( setup(
name="pycam", name="pycam",
version=VERSION, version=VERSION,
license="GPL v3", license="GPL v3",
description="Open Source CAM - Toolpath Generation for 3-Axis CNC machining", description="Open Source CAM - Toolpath Generation for 3-Axis CNC machining",
author="Lode Leroy", author="Lars Kruse",
#author_email="", author_email="devel@sumpfralle.de",
provides=["pycam"], provides=["pycam"],
requires=["ode", "gtk", "gtk.gtkgl", "OpenGL"], requires=["ode", "gtk", "gtk.gtkgl", "OpenGL"],
url="http://sourceforge.net/projects/pycam", url="http://sourceforge.net/projects/pycam",
...@@ -52,45 +53,42 @@ Basically you will need Python, GTK and OpenGL. ...@@ -52,45 +53,42 @@ Basically you will need Python, GTK and OpenGL.
classifiers=[ classifiers=[
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 2", "Programming Language :: Python :: 2",
"Development Status :: 3 - Alpha", "Development Status :: Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License (GPL)", "License :: OSI Approved :: GNU General Public License (GPL)",
"Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering",
"Environment :: Win32 (MS Windows)", "Environment :: Win32 (MS Windows)",
"Environment :: X11 Applications", "Environment :: X11 Applications :: GTK",
"Intended Audience :: Manufacturing", "Intended Audience :: Manufacturing",
"Operating System :: Microsoft :: Windows", "Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX", "Operating System :: POSIX",
], ],
package_dir={'': 'src'}, package_dir={'': 'src'},
packages=[ packages=[
"pycam", "pycam",
"pycam.Cutters", "pycam.Cutters",
"pycam.Geometry",
"pycam.Importers",
"pycam.PathProcessors",
"pycam.Utils",
"pycam.Exporters", "pycam.Exporters",
"pycam.Geometry",
"pycam.Gui", "pycam.Gui",
"pycam.Importers",
"pycam.PathGenerators", "pycam.PathGenerators",
"pycam.PathProcessors",
"pycam.Physics",
"pycam.Simulation", "pycam.Simulation",
"pycam.Toolpath", "pycam.Toolpath",
"pycam.Physics", "pycam.Utils",
], ],
scripts = ['pycam', 'pycam_win32_postinstall.py'], scripts = ['pycam', 'pycam_win32_postinstall.py'],
data_files=[("share/pycam/doc", [ data_files=[("share/pycam/doc", [
"COPYING.TXT", "COPYING.TXT",
"technical_details.txt",
"INSTALL.TXT", "INSTALL.TXT",
"LICENSE.TXT", "LICENSE.TXT",
"README.TXT", "README.TXT",
"Changelog", "Changelog",
"release_info.txt"]), "release_info.txt"]),
("share/pycam/ui", [ ("share/pycam/ui", glob.glob(os.path.join("share", "ui", "*"))),
os.path.join("share", "ui", "pycam-project.ui"), ("share/pycam/fonts", glob.glob(os.path.join("share", "fonts", "*"))),
os.path.join("share", "ui", "menubar.xml"), ("share/pycam", [os.path.join("share", "pycam.ico"), os.path.join("share", "misc", "DXF.gpl")]),
os.path.join("share", "ui", "logo_gui.png"),
]),
("share/pycam", [os.path.join("share", "pycam.ico")]),
("share/pycam/samples", glob.glob(os.path.join("samples", "*"))), ("share/pycam/samples", glob.glob(os.path.join("samples", "*"))),
], ],
) )
......
...@@ -1082,12 +1082,12 @@ caused by careless DXF/SVG exporting programs.</property> ...@@ -1082,12 +1082,12 @@ caused by careless DXF/SVG exporting programs.</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
</child> </child>
</object> </object>
<packing> <packing>
<property name="expand">False</property>
<property name="position">1</property> <property name="position">1</property>
</packing> </packing>
</child> </child>
...@@ -8483,7 +8483,6 @@ Please read the description of the Server Mode (linked below) to understand the ...@@ -8483,7 +8483,6 @@ Please read the description of the Server Mode (linked below) to understand the
</object> </object>
<object class="GtkAction" id="HelpServerMode"> <object class="GtkAction" id="HelpServerMode">
<property name="label">Server Mode</property> <property name="label">Server Mode</property>
<property name="stock_id">gtk-help</property>
</object> </object>
<object class="GtkDialog" id="FontDialog"> <object class="GtkDialog" id="FontDialog">
<property name="border_width">5</property> <property name="border_width">5</property>
......
...@@ -1099,8 +1099,8 @@ class ProjectGui: ...@@ -1099,8 +1099,8 @@ class ProjectGui:
recent_files_menu.set_local_only(False) recent_files_menu.set_local_only(False)
# most recent files to the top # most recent files to the top
recent_files_menu.set_sort_type(gtk.RECENT_SORT_MRU) recent_files_menu.set_sort_type(gtk.RECENT_SORT_MRU)
# show only five files # show only ten files
recent_files_menu.set_limit(5) recent_files_menu.set_limit(10)
uimanager.get_widget("/MenuBar/FileMenu/OpenRecentModelMenu").set_submenu(recent_files_menu) uimanager.get_widget("/MenuBar/FileMenu/OpenRecentModelMenu").set_submenu(recent_files_menu)
recent_files_menu.connect("item-activated", recent_files_menu.connect("item-activated",
self.load_recent_model_file) self.load_recent_model_file)
...@@ -3510,6 +3510,7 @@ class ProjectGui: ...@@ -3510,6 +3510,7 @@ class ProjectGui:
self.toolpath) self.toolpath)
if not index is None: if not index is None:
self.crop_toolpath(self.toolpath[index]) self.crop_toolpath(self.toolpath[index])
self.update_toolpath_table()
elif action == "grid": elif action == "grid":
index = self._treeview_get_active_index(self.toolpath_table, index = self._treeview_get_active_index(self.toolpath_table,
self.toolpath) self.toolpath)
......
...@@ -23,5 +23,5 @@ along with PyCAM. If not, see <http://www.gnu.org/licenses/>. ...@@ -23,5 +23,5 @@ along with PyCAM. If not, see <http://www.gnu.org/licenses/>.
__all__ = ["Cutters", "Exporters", "Geometry", "Gui", "Importers", __all__ = ["Cutters", "Exporters", "Geometry", "Gui", "Importers",
"PathGenerators", "PathProcessors", "Utils"] "PathGenerators", "PathProcessors", "Utils"]
VERSION = "0.4.1-svn" VERSION = "0.5"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment