Code Monkey home page Code Monkey logo

Comments (6)

Turge08 avatar Turge08 commented on July 18, 2024

According to the klipper source:

        elif params['algo'] == 'bicubic' and min_probe_cnt < 4:
            if max_probe_cnt > 6:
                raise error(
                    "bed_mesh: invalid probe_count option when using bicubic "
                    "interpolation.  Combination of 3 points on one axis with "
                    "more than 6 on another is not permitted. "
                    "Configured Probe Count: %d, %d" %
                    (self.mesh_config['x_count'], self.mesh_config['y_count']))
            else:
                logging.info(
                    "bed_mesh: bicubic interpolation with a probe_count of "
                    "less than 4 points detected.  Forcing lagrange "
                    "interpolation. Configured Probe Count: %d, %d" %
                    (self.mesh_config['x_count'], self.mesh_config['y_count']))
                params['algo'] = 'lagrange'

bicubic only allows a minimum of 4 probe points. I'll change the minimum to 5 if bicubic is used.

from print_area_bed_mesh.

Turge08 avatar Turge08 commented on July 18, 2024

macro has been updated with the changes. Let me know if you're still having issues with this.

from print_area_bed_mesh.

frankbags avatar frankbags commented on July 18, 2024

Thanks, I'll look into it later today.

If I understand correctly a 2x2 grid is 4 points so it satisfies the 4 point minimum requirement.

from print_area_bed_mesh.

frankbags avatar frankbags commented on July 18, 2024

I see that you have added a statement for homing the axes.

I think you should add another statement following the G28 call

{% if printer.z_tilt.applied != true %} Z_TILT_ADJUST {% endif %}

from print_area_bed_mesh.

Turge08 avatar Turge08 commented on July 18, 2024

I don't think the rest (z_tilt_adjust, _quad_gantry_level, homing z afterwards, waiting for bed/nozzle to heat up, etc.) belong in this macro.

from print_area_bed_mesh.

frankbags avatar frankbags commented on July 18, 2024

I wondered why you had a check to see if the toolhead was homed in the XYZ axis in there. It made sense for me to check if the Z was level as well as homed.

from print_area_bed_mesh.

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.