Comments (4)
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
svg gcode off.txt
from deprecated-laserweb2.
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.
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.
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)
- Rearchitecting Comms / SPJS layer HOT 114
- Browser dies on large raster files HOT 25
- Opening bitmaps - returns error HOT 1
- Controller support/wiring status and default use-case HOT 1
- Running on a small SoC?
- Running LaserWeb2 locally ( on Rasspberry Pi) HOT 1
- Opening multiple files HOT 1
- Gcode generation optimization (G0) HOT 1
- Error - Incomplete config file HOT 5
- Opening files in upper left quadrant - does not work with bitmaps HOT 5
- Recalculating rasters HOT 14
- Problems with raster creation HOT 9
- Add preview Box run
- Add Jog feedrate setting HOT 7
- Responsive/continuous jog for GRBL HOT 2
- Config file check broken HOT 1
- Product tour - option to dismiss permantly HOT 1
- COM port, Buffer, Machine controls and DRO are misssing HOT 1
- Connect in menu bar missing HOT 6
- Check this .dxf HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deprecated-laserweb2.