Coder Social home page Coder Social logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
Drag knife compensation seems to work ( I've only tried simple cases ),
by adding this code in the profile() function in kurve_funcs.py

    offset_curve.OffsetForward(0.5, True)

Adding it after the curve has been offset, so that the tool radius and 
offset_extra values are also used. So the code looks like this.

    if extend_at_end > 0.0:
        span = offset_curve.GetLastSpan()
        new_end = span.v.p + span.GetVector(1.0) * extend_at_end
        offset_curve.append(new_end)

    offset_curve.OffsetForward(0.5, True)

    # remove tags further than radius from the offset kurve
    new_tags = []
    for tag in tags:
        if tag.dist(offset_curve) <= radius + 0.001:
            new_tags.append(tag)
    tags = new_tags


I hope this helps.
Dan.

Original comment by [email protected] on 9 Oct 2014 at 8:11

  • Changed state: Fixed

from heekscnc.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 27, 2024
Dear Dan,

thank you very much for, this is good news!

Unfortunately, I cannot get any result by doing the changes in the 
kurve_funcs.py file.
I tested very basic shapes, but the resulting g-code contained only the normal 
tool offset.

Is it necessary to recompile HeeksCNC?

Thanks,
Felix

Original comment by [email protected] on 10 Oct 2014 at 12:18

from heekscnc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.