GithubHelp home page GithubHelp logo

why smaller in KrabzCAM about krabzcam HOT 9 CLOSED

mkrabset avatar mkrabset commented on September 27, 2024
why smaller in KrabzCAM

from krabzcam.

Comments (9)

mkrabset avatar mkrabset commented on September 27, 2024 1

I'm not sure if there is an easy and consistent way to determine original DPI on an svg file.

but..
I've added a new 'Settings'-button.
image

...with a dialogue where you can set tolerance (detail level) and svg DPI.
image

The values are stored in the browser local storage, so you only have to set the values once (for each browser).

This is a bit experimental, so don't be surprised if problems occur. :-)
Feedback is appreciated.

-Marius

from krabzcam.

davi-domo avatar davi-domo commented on September 27, 2024

Hello
I don’t have that kind of problem
You import can be a svg in inch and krabzcam is in millimeters

from krabzcam.

mkrabset avatar mkrabset commented on September 27, 2024

Hi, yes, sounds like this is related to metric vs imperial units.
If this is so, I guess the imported shapes should be ~39.37% of the intended size, not 33%.

I'll look into it and see if there are some improvements to be made.

Should be easy to handle though, just set pivot to origin and scale by factor 2.54.

-Marius

from krabzcam.

CycloRetro avatar CycloRetro commented on September 27, 2024

My KrabzCam settings are set to millimeters but still the exported file is exactly 33.3% smaller. This indicates to me its not a metric vs imperial issue.

from krabzcam.

mkrabset avatar mkrabset commented on September 27, 2024

Hmm, ok. I guess you need to scale by factor 3 then..
If you post a sample svg, I will have a look.

-Marius

from krabzcam.

mkrabset avatar mkrabset commented on September 27, 2024

I think I understand now...when you say 33% smaller, I assume you mean the scale is 3/4 of what it is supposed to be.
So you need to multiply by 4/3, e.g. hit "s" and then "1.3333"+enter. (while mouse pointer is inside the 2d view)

I assume the reason for this is that KrabzCAM (and Inkscape) assume resolution 1inch=96px...while other tools, like Adobe Illustator use 1inch=72px.

I'll put in some words about this in the user manual.

-Marius

from krabzcam.

CycloRetro avatar CycloRetro commented on September 27, 2024

Yes I'm using Adobe Illustrator but in millimetres as its more accurate and easier to work with on small designs. It would be fantastic if SVG files from Illustrator would import into KrabzCAM at the correct size like for like.
Many of my designs are tiny, sometimes there's shapes only 0.01mm and currently KrabzCAM cannot correctly display tiny shapes.

from krabzcam.

CycloRetro avatar CycloRetro commented on September 27, 2024

Its displaying the tiny shapes well now, thank you. But the sizing issue is still unsolved.

from krabzcam.

mkrabset avatar mkrabset commented on September 27, 2024

@CycloRetro if you post a sample SVG and a description of what dimension you expect, then I will have a look.

from krabzcam.

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.