join-colinear-lines and split-line-segments mutually exclusive

6 views
Skip to first unread message

James Walker

unread,
May 19, 2021, 6:07:17 AM5/19/21
to dxf2gcode-dev

I have been trying to debug some odd behavior in how nearest start point, split-line-segments or using custom geom in the dxf to allow specific placement of start points.  This all being done in the context of CAM side compensation.

What I found was that when the offset path was being processed a method to join co-linear lines was always called.  This method does just what it says.  However that actually clobbers the desired impact of split-line-segments.  Or custom geom (i.e. a split line) to allow specific placement of a start point.

I found commenting out this call (or moving it under some options control) got the behavior expected.

Just so people are aware.

Cheers - J.

Christian Kohlöffel

unread,
May 20, 2021, 10:16:03 AM5/20/21
to dxf2gc...@googlegroups.com

Hi James,

 

i thought the offset algorithm would require joined collinear lines, at least for lines which are not start or end points. Therefore you might have to limit the commenting out to the start and end lines (specially for closed contours).

 

regards

Christian   

--
--
You received this message because you subscribed to the Google
Groups-group "dxf2gcode-dev".
To post a message, send mail to dxf2gc...@googlegroups.com
To unsubscribe, send mail to dxf2gcode-de...@googlegroups.com
See http://groups.google.de/group/dxf2gcode-dev?hl=en for more options
and the dxf2gcode project page at http://code.google.com/p/dxf2gcode/
---
You received this message because you are subscribed to the Google Groups "dxf2gcode-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dxf2gcode-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dxf2gcode-dev/ec6ca5cf-eb85-4727-86e0-df1a39c4ae4fn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages