Giter VIP home page Giter VIP logo

Comments (4)

cojarbi avatar cojarbi commented on August 14, 2024

Location seems to be off once imported no matter where is located in the file ( evenif illustrator and inkscape location is 0,0 )

Generating code for svg also shows preview off from the imported file.

First laser ON seems lower left of square, that seems to match the path preview generated by LW
G1 F3200 X92.465 Y155.096 S255
screen shot 2016-03-23 at 10 32 40 pm
svg gcode off.txt

from deprecated-laserweb2.

 avatar commented on August 14, 2024

Already an open issue (:

I havent coded in position at all. The idea is to look at a bounding box
of the imported three.js object, see how far away from 0,0 is is. Then
translate the object. Store that initial translation values in an array
and then account for it when scaling/moving object.
On 24 Mar 2016 05:34, "Ariel Yahni" [email protected] wrote:

Location seems to be off once imported no matter where is located in the
file ( evenif illustrator and inkscape location is 0,0 )

Generating code for svg also shows preview off from the imported file.

First laser ON seems lower left of square, that seems to match the path
preview generated by LW
G1 F3200 X92.465 Y155.096 S255
[image: screen shot 2016-03-23 at 10 32 40 pm]
https://cloud.githubusercontent.com/assets/16444438/14007715/321e03fa-f147-11e5-8c25-be92977ce350.png
svg gcode off.txt
https://github.com/openhardwarecoza/LaserWeb2/files/187219/svg.gcode.off.txt


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#7 (comment)

from deprecated-laserweb2.

 avatar commented on August 14, 2024

Duplicate of #4

But I also pushed some code this morning that fixes it for DXFs. Just note the position boxes at the bottom right: After placing it on 0,0 they already contain real world values . I'll improve that a bit later

0,0 for SVG works for the inital object but generating gcode places the gcode in the wrong space (svg has 0,0 as top left, everything else has 0,0 bottom left - so a lot of extra code to flip the offset etc needed

from deprecated-laserweb2.

cojarbi avatar cojarbi commented on August 14, 2024

Woops. Sorry by know you.would think that I'm reading previous issues? I am :)

Saludos / Regards

Ariel Yahni

On Mar 24, 2016, 4:19 AM -0500, Peter van der [email protected], wrote:

Duplicate of#4(#4)

But I also pushed some code this morning that fixes it for DXFs. Just note the position boxes at the bottom right: After placing it on 0,0 they already contain real world values . I'll improve that a bit later

0,0 for SVG works for the inital object but generating gcode places the gcode in the wrong space (svg has 0,0 as top left, everything else has 0,0 bottom left - so a lot of extra code to flip the offset etc needed


You are receiving this because you authored the thread.
Reply to this email directly orview it on GitHub(#7 (comment))

from deprecated-laserweb2.

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.