GithubHelp home page GithubHelp logo

Comments (2)

Scott-Cooper avatar Scott-Cooper commented on July 23, 2024

Hey NoPinky, I really appreciate the comments.

My particular robot draws better if I draw rectangular images vertically. Therefore I purposely rotate all my gcode to be taller than wide. If you don't want this bug/feature, comment out image_rotate(); in the setup_squiggles function. Unfortunately, right now, this also messes up other stuff like the directional strokes.

The auto center-crop can also be avoided by commenting out image_crop(); in the pre_processing() function.

image

I will also be adding a wiki to better describe my weird coordinate system, etc.
Hope this helps.

from drawbot_image_to_gcode_v2.

Ohmarinus avatar Ohmarinus commented on July 23, 2024

Hi @Scott-Cooper the wiki is still empty as it stands.

I'm quite curious about the crop. I'm also very much looking for a way to invert the Y-axis gcode for a normal pen plotter model. I've made my own pen plotter and am having a hard time figuring out where I can flip the Y-axis direction. I have found comments that someone has removed the - sign and added a - sign to the Y-gcode commands but somehow my gcode does not contain any negative values for Y.

Would there be a solution I can try out? Sorry for posting this in this topic, since I had two questions I thought I'd combine them since they are simple questions.

Thanks for this wonderful script, I am really having a good time with this!

from drawbot_image_to_gcode_v2.

Related Issues (18)

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.