Forum Index > Projects > Egg-Bot
 "Warning: unable to draw object, please convert it to a path first."
 |  Printable Version
By: finsprings (offline) on Friday, December 17 2010 @ 07:04 PM PST (Read 7437 times)  
finsprings

I took the sample traditional3.svg and cut and paste the objects onto different layers, so I could use different colours. After I did that I can't plot though: I get:

"Warning: unable to draw object, please convert it to a path first."

when I try. If I click an object on that layer and select Path/Object to Path the status message at the bottom says "No objects to convert to path in the selection".

I've not used Inkscape before so I'm probably just doing something dumb. Any ideas?


Forum Apprentice
Apprentice

Status: offline

Registered: 12/17/10
Posts: 7
Near Pittsburgh

Profile Email Website  
   
By: dnewman (offline) on Friday, December 17 2010 @ 07:11 PM PST  
dnewman

Somewhere in your document, you've created an object which isn't a path (or readily reduced to a path by the Eggbot Control extension). You can try "Select All in All Layers" then do Path > "Object to Path". Most likely a text character.

It's also possible to get into the SVG file items which the currently packaged Eggbot Control extension will complain about. Namely, an XML comment. Inkscape doesn't normally put those in but other XML editors or tools might have. (I discovered this when I put a comment in manually and then discovered that the XML parser used in Python by Inkscape treats comments oddly.) This was
"Defect 28" fixed on 17 October.

Dan


Cow Canyon Saddle Clear Sky Chart


Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 09/08/10
Posts: 149
Mt. Baldy,
California

Profile Email    
   
By: finsprings (offline) on Friday, December 17 2010 @ 07:21 PM PST  
finsprings

Thanks Dan. I tried the Select All In All Layers then Object To Path and Stroke To Path but both say there's nothing to convert and picking 2 for a layer named "2 swirls" still reports that error.

I put the svg at http://dl.dropbox.com/u/395371/traditional3-layered.svg in case anyone can see what I might have done wrong. I didn't create anything just did cut-and-paste.

I did group a couple of things before putting them on separate layers but Ungroup didn't help either.


Forum Apprentice
Apprentice

Status: offline

Registered: 12/17/10
Posts: 7
Near Pittsburgh

Profile Email Website  
   
By: dnewman (offline) on Friday, December 17 2010 @ 07:50 PM PST  
dnewman

You have unintentionally embedded and image in that SVG file. And yes, it's in the layer
entitled "2 swirls". It's a PNG formatted image of height 160 and width 3269 pixels. And you
have another image in "4 zigzag". All total, there's 4 or 5 images embedded in that SVG document.

It looks like you moved things to layers by taking screen snapshots or otherwise converting things to images. You cannot readily plot images on eggs with the EggBot. (However, you can do TSP art as per

http://wiki.evilmadscience.com/TSP_art

Regards,
Dan


Cow Canyon Saddle Clear Sky Chart


Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 09/08/10
Posts: 149
Mt. Baldy,
California

Profile Email    
   
By: finsprings (offline) on Friday, December 17 2010 @ 08:29 PM PST  
finsprings

Thanks for looking Dan.

I can't imagine how that could have happened. I may have pressed Cmd-V instead of Ctrl-V at some point but I definitely didn't try and put images in there.

I'll scrap it and try my layered cut and paste again.

Cheers,
Dave


Forum Apprentice
Apprentice

Status: offline

Registered: 12/17/10
Posts: 7
Near Pittsburgh

Profile Email Website  
   
By: finsprings (offline) on Saturday, December 18 2010 @ 07:38 AM PST  
finsprings

So the same thing is happening to me today:

1. Select an object and it shows as "Segment" in the status bar as I'd expect.
2. Select Edit/Cut or Edit/Copy
3. Select Edit/Paste or Paste-in-Place.
4. The cut or copied object appears in the top-left-hand corner but is now shown as a Bitmap in the status bar.

I cannot get it to paste it as a Segment. I can't figure out why it's doing this. I'm not choosing the "Make a Bitmap Copy" option under Edit.


Forum Apprentice
Apprentice

Status: offline

Registered: 12/17/10
Posts: 7
Near Pittsburgh

Profile Email Website  
   
By: finsprings (offline) on Saturday, December 18 2010 @ 07:43 AM PST  
finsprings

This is on an iMac with up-to-date SnowLeopard and 0.48 of Inkscape.
Running Inkscape on my 10.10 Ubuntu box I can cut and paste a Segment and the pasted one is still a Segment as you'd expect. This is really odd.

I saved the svg on the Mac to Dropbox and opened it on my Linux box and cut and paste still worked fine as a Segment. So this has to be a configuration issue on my Mac install.


Forum Apprentice
Apprentice

Status: offline

Registered: 12/17/10
Posts: 7
Near Pittsburgh

Profile Email Website  
   
By: finsprings (offline) on Saturday, December 18 2010 @ 07:54 AM PST  
finsprings

Ok, found the bug:

https://bugs.launchpad.net/inkscape/+bug/307005

It's in X on SnowLeopard and there's a workaround: you have to turn off "Update Pasteboard when Clipboard Changes" in the X11 preferences:

http://emberapp.com/finsprings/images/x11-preferences

That may have been documented here somewhere already but I am not good at reading instructions so I may have missed it.


Forum Apprentice
Apprentice

Status: offline

Registered: 12/17/10
Posts: 7
Near Pittsburgh

Profile Email Website  
   
By: GoatRider (offline) on Saturday, December 18 2010 @ 08:51 AM PST  
GoatRider

Thanks, I've been wondering about that. Whenever I cut-and-paste something, it turns into an image. It seems pretty lame for a vector based drawing program to act like that. I'm using a Mac too. I looked all over the preferences in Inkscape and didn't find anything, didn't think to look in the X11 prefs, I'll have to try that.

The workaround I've been using is to use "clone" and then "unlink clone" to make copies of parts of my drawing.

Another problem I've been having is when I convert text to a path, I get this error, although it still draws right. I'm thinking there's a hidden object left behind after the text->path conversion.


Forum Henchperson
Henchperson

Status: offline

Registered: 01/12/07
Posts: 25

Profile Email    
   
By: finsprings (offline) on Saturday, December 18 2010 @ 08:54 AM PST  
finsprings

Yeah, it's not Inkscape though, it's the X-11 implementation in OS X, which is trying to integrate the non-X world of the Mac with the X world via the clipboard and doing something odd when that option is turned on.


Forum Apprentice
Apprentice

Status: offline

Registered: 12/17/10
Posts: 7
Near Pittsburgh

Profile Email Website  
   



 All times are PDT. The time is now 03:27 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

Evil Mad Scientist Forum Archives — Read only!

Please visit our new forums for new discussions.


DIY Hardware for Electronic Art


The Original Egg-Bot Kit


Octolively
Interactive LED kits


Meggy Jr RGB
LED matrix game
development kit.


Business-card sized
AVR target boards


Peggy 2
LED Pegboard kits

My Account






Lost your password?