linuxcnc blogs

March 13, 2010

git.linuxcnc.org Git - emc2.git/rss log

fix a stupid bug in my previous commit

fix a stupid bug in my previous commit

LIB_DIR is where we're planning to *install* the libs, not where we're
currently staging them.  We stage them always in "../lib".

(I didn't notice this because I stupidly had emc2.deb installed, so
LIB_DIR *did* indeed have the libs in it...  Third time's the charm
I guess/hope.)
  • [DH] src/Makefile

by Sebastian Kuzminsky at March 13, 2010 07:16

fix linking when compiling for installation

fix linking when compiling for installation

When we're compiling for installation (manual installation or via the
debs), we want our executables and libraries to be linked against
our not-yet-installed libs, and we don't want our build dir in the
executables' rpath.  "rpath-link" does exactly this.

When we're compiling for run-in-place, we want our build dir in the rpath
(which also lets the linker find it), so nothing changes in this case.
  • [DH] src/Makefile

by Sebastian Kuzminsky at March 13, 2010 06:45

link librs274 against libemcini

link librs274 against libemcini

librs274 uses a bunch of symbols from libemcini.

Before this commit, librs274 did not link against libemcini, instead
requiring that any executable that links against librs274 also link
against libemcini, even if that executable itself did not need libemcini.

This commit rectifies the omission in librs274, and also stops linking
the rs274 executable against libemcini (since that executable does not
itself use that library).
  • [DH] src/emc/rs274ngc/Submakefile
  • [DH] src/emc/sai/Submakefile

by Sebastian Kuzminsky at March 13, 2010 05:40

avoid linking to a couple of unused libraries

avoid linking to a couple of unused libraries
  • [DH] src/hal/utils/Submakefile

by Sebastian Kuzminsky at March 13, 2010 05:05

March 12, 2010

git.linuxcnc.org Git - emc2.git/rss log

get rid of unneeded import

get rid of unneeded import
  • [DH] src/emc/usr_intf/axis/scripts/axis.py

by Jeff Epler at March 12, 2010 04:03

correct error message

correct error message
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 12, 2010 03:43

wrap long lines

wrap long lines
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 12, 2010 03:39

Remove unneeded offsetof hack

Remove unneeded offsetof hack

beacuse this file doesn't use offsetof(non_pod), the hack isn't needed
to avoid compiler warnings.
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 12, 2010 01:04

March 11, 2010

git.linuxcnc.org Git - emc2.git/rss log

make it easier to profile axis

make it easier to profile axis
  • [DH] bin/profile_axis
  • [DH] configs/sim/profile_axis.ini

by Jeff Epler at March 11, 2010 22:16

move methods to base class

move methods to base class
  • [DH] lib/python/glnav.py
  • [DH] lib/python/rs274/glcanon.py

by Jeff Epler at March 11, 2010 13:32

reduce memory usage of display lists

reduce memory usage of display lists

so that the program can be displayed without rapids, there are
two display lists.  Before, the display lists were "everything"
and "everything but rapids".  However, you can get the same
ability to draw with and without rapids using two display lists
"only rapids" and "everything but rapids".  Presumably having
less stuff in display lists reduces load time and memory usage.
  • [DH] lib/python/rs274/glcanon.py

by Jeff Epler at March 11, 2010 13:12

get rid of dead code

get rid of dead code

this method was replaced by the method directly below
  • [DH] lib/python/rs274/glcanon.py

by Jeff Epler at March 11, 2010 13:10

March 10, 2010

git.linuxcnc.org Git - emc2.git/rss log

make the preset view buttons react to a rotate

make the preset view buttons react to a rotate
  • [DH] src/emc/usr_intf/axis/scripts/axis.py

by Jeff Epler at March 10, 2010 23:40

rotate should snap into perspective mode

rotate should snap into perspective mode

this behavior was inadvertently lost with the merge of glrefactor
  • [DH] lib/python/glnav.py

by Jeff Epler at March 10, 2010 23:38

make my editor use the right settings

make my editor use the right settings
  • [DH] lib/python/glnav.py
  • [DH] lib/python/rs274/glcanon.py
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 10, 2010 23:26

get rid of redundant code

get rid of redundant code

open_file_guts does this, no need to do it here
  • [DH] src/emc/usr_intf/axis/scripts/axis.py

by Jeff Epler at March 10, 2010 23:25

simplify since it's always OK to call extents_info

simplify since it's always OK to call extents_info
  • [DH] lib/python/rs274/glcanon.py

by Jeff Epler at March 10, 2010 23:24

make it always legal to call extents_info

make it always legal to call extents_info
  • [DH] lib/python/rs274/glcanon.py

by Jeff Epler at March 10, 2010 23:20

a redraw is required after the rotation changes

a redraw is required after the rotation changes
  • [DH] src/emc/usr_intf/axis/scripts/axis.py

by Jeff Epler at March 10, 2010 23:03

fix display of origin when rotated

fix display of origin when rotated

the origin rotation can't be inside the display list, because the
rotation varies
  • [DH] lib/python/rs274/glcanon.py

by Jeff Epler at March 10, 2010 23:02

remove redundant method

remove redundant method

this method is defined in the base class, Translated.
  • [DH] lib/python/rs274/glcanon.py

by Jeff Epler at March 10, 2010 22:55

remove unneeded initializations

remove unneeded initializations

these fields will be initialized by the first call to set_origin_offsets
or set_xy_rotation, so these statements were not needed
  • [DH] lib/python/rs274/glcanon.py
  • [DH] lib/python/rs274/interpret.py

by Jeff Epler at March 10, 2010 22:54

March 09, 2010

git.linuxcnc.org Git - emc2.git/rss log

Merge remote branch 'origin/v2.4_branch'

Merge remote branch 'origin/v2.4_branch'

Conflicts:
	src/emc/usr_intf/axis/scripts/axis.py
  • [DH] src/emc/usr_intf/stepconf/stepconf.py

by Jeff Epler at March 09, 2010 20:06

fix a memory leak

fix a memory leak

By binding a method of AxisCanon, the instance becomes
uncollectable.  This reformulation still has a small leak
(one Tkinter command binding) but it is not the several
megabytes that leaking an AxisCanon could cause.
  • [DH] src/emc/usr_intf/axis/scripts/axis.py

by Jeff Epler at March 09, 2010 20:00

fix a memory leak

fix a memory leak

By binding a method of AxisCanon, the instance becomes
uncollectable.  This reformulation still has a small leak
(one Tkinter command binding) but it is not the several
megabytes that leaking an AxisCanon could cause.
  • [DH] src/emc/usr_intf/axis/scripts/axis.py

by Jeff Epler at March 09, 2010 19:58

add static qualifiers where appropriate

add static qualifiers where appropriate
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 09, 2010 19:49

get rid of unneeded declarations

get rid of unneeded declarations
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 09, 2010 19:48

get rid of unused variable

get rid of unused variable
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 09, 2010 19:48

get rid of some emc1-compatibility defines

get rid of some emc1-compatibility defines
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 09, 2010 19:45

simplify maybe_new_line with default argument

simplify maybe_new_line with default argument

Based on a patch from Alexey Starikovskiy <astarikovskiy@suse.de>
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 09, 2010 19:39

avoid extra work when there's no rotation

avoid extra work when there's no rotation

Based on a patch from Alexey Starikovskiy <astarikovskiy@suse.de>
  • [DH] lib/python/rs274/interpret.py

by Jeff Epler at March 09, 2010 15:59

avoid unneeded work when sequence_number is unchanged

avoid unneeded work when sequence_number is unchanged

Based on a patch from Alexey Starikovskiy <astarikovskiy@suse.de>
  • [DH] src/emc/rs274ngc/gcodemodule.cc

by Jeff Epler at March 09, 2010 15:59

Fix period, maxvel calculations in axis test

Fix period, maxvel calculations in axis test

The calculations of period and maxvel must account for systems with
long steplen values.

Closes SF#2924185, SF#2924173
  • [DH] src/emc/usr_intf/stepconf/stepconf.py

by Gerhard Gleixner at March 09, 2010 13:20

March 08, 2010

Dan Heeks's Milling

More clamping room

I need to implement tags on the last cut, so that the part can be held in place.
This part separated when I wasn't expecting it.
It didn't break the tool, luckily.
I have enough done to experiment with drilling the holes on the side.
I have now got a 6mm slot drill, which will quarter the cutting time.

by Dan Heeks (noreply@blogger.com) at March 08, 2010 08:53

Delrin parts

I have been given some step files from someone who wants some parts making from Delrin.
He wants 8 of this part. The first thing is to cut the circle out of the middle.
I haven't got the Delrin, yet, so I am having a go with some wood that I have found in the workshop.

Next to clear the lower level with a pocket operation.
I made the shapes to cut by doing Edge to Sketch, on some circular edges, then making circles with "centre" and "end" ticked in "digitizing". Then I made the circles to sketches, then to faces. Then I subtracted one face from another and made another face from a sketch across the middle, and subtractacted that. Finally I did Face to Sketch to get me the sketches I wanted.
I am doing it all with my 3mm slot drill, so I don't have to set the z height of the tool again. This does mean a lot of tool path, though.

by Dan Heeks (noreply@blogger.com) at March 08, 2010 07:07