Author Topic: Adding color to change speed  (Read 1398 times)

pedwards2932

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
Adding color to change speed
« on: March 03, 2017, 06:04:39 PM »
I changed the color of my fonts to yellow in Inkscape so it will go faster with them but when I import the dxf the letters aren't yellow.  Should they show as yellow in the view in T2?  I have attached the dxf file.....in Inkscape the fonts are yellow and I did a path to object conversion.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6816
    • View Profile
    • T2Laser
Re: Adding color to change speed
« Reply #1 on: March 03, 2017, 06:26:23 PM »
I'm not sure what you did but loading it back to Inkscape or QCAD and it's black.

You want to change the stroke color. I also noticed an object way off screen that should be deleted.

In the DXF options, make sure you have color to feed rate selected since you want the speed to change and not the laser power (default). Yellow will be the rapid feed rate.

pedwards2932

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
Re: Adding color to change speed
« Reply #2 on: March 03, 2017, 06:43:32 PM »
Here is the SVG file with the fonts yellow.  All I did was select all the text and did a object to path conversion then save as a dxf.  I used the single line fonts.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2833
  • Administrator
    • View Profile
Re: Adding color to change speed
« Reply #3 on: March 03, 2017, 07:49:34 PM »
FYI you should always set the Drawing Units...see attachment...
Admin -- Ralph -- support @ BenCutLaser dot us
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to bclpp@primemail.com

pedwards2932

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
Re: Adding color to change speed
« Reply #4 on: March 03, 2017, 07:57:57 PM »
I was importing these into T2 directly from Inkscape's conversion to dxf.....the Inkscape units were set as mm  It was importing into T2 just didn't seem to be keeping the color change

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6816
    • View Profile
    • T2Laser
Re: Adding color to change speed
« Reply #5 on: March 04, 2017, 05:38:28 AM »
I loaded your file and it looks OK.

pedwards2932

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
Re: Adding color to change speed
« Reply #6 on: March 04, 2017, 06:37:58 AM »
I must be doing something wrong.  When I open the svg in Inkscape the text is yellow.  When I convert text objects to paths and save as dxf then import into QCAD the text is no longer yellow and when I import into T2 the text is not yellow?

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6816
    • View Profile
    • T2Laser
Re: Adding color to change speed
« Reply #7 on: March 04, 2017, 08:27:57 AM »
I don't think it's you, I think it's Inkscape. When you convert to paths it appears to have a bug and changes the stroke back to black and sets the fill as yellow. It looks the same but doesn't output correctly.

Why are you importing to QCAD? Is there a reason for the additional step, just trying to understand your process flow.

pedwards2932

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
Re: Adding color to change speed
« Reply #8 on: March 04, 2017, 08:55:31 AM »
The dxf that you posted opened in QCAD and the text was yellow so I tried it in QCAD just to see what it looked like.  One of the advantages I am seeing with T2 is I can pretty much use the Inkscape output directly.  So what should I do after I convert the object to path?  Set the fill to yellow?

pedwards2932

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
Re: Adding color to change speed
« Reply #9 on: March 04, 2017, 09:13:18 AM »
I tried making fill and stroke yellow and saved as dxf then imported into T2 and it the lettering is still black.  I am assuming it should look yellow in the view in T2?  Could it be the version of Inkscape?  I am using 0.91 because of sizing issues with the newer version.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6816
    • View Profile
    • T2Laser
Re: Adding color to change speed
« Reply #10 on: March 04, 2017, 09:17:45 AM »
Yes, it will be yellow in T2Laser. Did you load the DXF I posted (reply #5), it should look like attached image.

It isn't the Inkscape versions, both work the same.
« Last Edit: March 04, 2017, 09:18:25 AM by Zax »

pedwards2932

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
Re: Adding color to change speed
« Reply #11 on: March 04, 2017, 09:28:14 AM »
Yes yours has the yellow text.  Everyway I have tried to do the conversion to dxf in Inkscape they come out black.  If I don't convert the text to path then they don't show up at all.  I could put them on a different layer but that really is only a work around.

pedwards2932

  • Sr. Member
  • ****
  • Posts: 324
    • View Profile
Re: Adding color to change speed
« Reply #12 on: March 04, 2017, 09:37:52 AM »
Got it!  I chose Stroke to Path for the text then I made the stroke yellow and it works. I was using object to path before.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6816
    • View Profile
    • T2Laser
Re: Adding color to change speed
« Reply #13 on: March 04, 2017, 09:58:15 AM »
Glad you got it to work. I used object to path when I tested it, which also worked but as I said it didn't transfer the stroke color.