GithubHelp home page GithubHelp logo

Comments (6)

svenhb avatar svenhb commented on May 28, 2024

You are right, I never paid attention to it, beacause it doesn't affect the generated G-Code - just 2D-view.
Will try to fix it.

from grbl-plotter.

JoeBeef avatar JoeBeef commented on May 28, 2024

Thanks for looking into it.

But at the sametime it brings more question.

When you say that just the 2D view is affected... I don't even see the 2D view changing.

Looking at the generated GCODE, I noticed the PenWidth = 0.004 parameter. Changing this value in the GCODE does affect the 2D view,
Now, my question is , where does it get that value from, I have looked everywhere for it an never found it ?

( SVG import by GRBL-Plotter 1.7.1.0.c )
( Source: C:\Users\Maiso\Downloads\Dixies.svg )
(

)
( G-Code lines: 5700 )
( Pen Down/Up : 37 times )
( Duration ca.: 2.6 min. )
( Conv. time : 00:00:00.0526929 )
( Values from tool-table: spindle speed. XY feed. Z Values )
( Tool changes: 1)
( 1 ToolNr: 01 Cnt: 1 Name: Red=[000000] )
( SVG dimension : 39.00 61.00 )
( Title: svgOutput)
(
)
F1000 (Setup - GCode-Header)
G90
G00 Z2.000
(<Figure Id="1" Geometry="path" PenColor="000000" PenWidth="0.004" PathLength="197.8"> )
M05 (Stop spindle - Option Z-Axis)
T01 M06 (Tool:1 Red=[000000])
M3 S1000 (Start spindle - Option Z-Axis)
G04 P1
....

Thanks,

from grbl-plotter.

JoeBeef avatar JoeBeef commented on May 28, 2024

oops Closed by mistake...

from grbl-plotter.

svenhb avatar svenhb commented on May 28, 2024

The pen-width is read from the imported graphics.
If you import SVG, the key-word is stroke-width (usally given in pixel) which will be converted to mm.

from grbl-plotter.

svenhb avatar svenhb commented on May 28, 2024

Example SVG with stroke-width of 0.5, 1, 2, 3.
You can drag and drop the picture below into GRBL-Plotter (on 2D view)
width_test2
There are options to convert the pen-width to Z-value or S-value.

from grbl-plotter.

JoeBeef avatar JoeBeef commented on May 28, 2024

Thanks, just found out that the penValue and color comes from the SVG file!!!
I am new at this and I should have done more research.

Thanks,

from grbl-plotter.

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.