Problems importing pdf. and svg. into curves

Hello !

I try to work from pdf. and svg. and I would need the imports to directly translate into curves.

With pdf format, the one that I save through PS are note working (I cannot get rid of the white part even though the base is an “empty back” png format.
I only have one pdf file that translate into curves smoothly (from a client so I didnt create it and can’t find the pdf specifics)

Can anyone help me understand the way to transform logo on PS (from png. jpg. or else), and save properly my pdf files in order to translate my logos straight to curves when I import them on Rhino 7 ?

With svg., none of the svg format that inkscape propose can be open in Rhino 7. "Error importing file “C:\Users\frion\OneDrive\Bureau\pngwing copie.svg”.
Any idea how to make it work ?

Thanks !

This one is an exemple of file that I can’t translate to a proper pdf in order to get curves

ubuntu-a-imprimer (1).pdf (798.3 KB)

this one is the only pdf that I can import and translate directly to curves

Did you create the SVG in Inkscape or just import an image?

If you are importing images you need to convert them into paths with trace. Can you attach the SVG?

Here’s an SVG traced in inkscape.
temp
Unfortunately Rhino doesn’t read it in very well!
image

Seems to open perfectly in Fusion.

Here’s a DXF from Inkscape. Seems to import OK.


temp.dxf (199.5 KB)

Hi Felicien -

As Mark wrote, when a PDF file only contains a bitmap image, you’ll have to trace that image somehow to get (vector) curves. When PDF files or SVG files contain vector data, that is read by Rhino and curves (and/or hatches) are created from that data.

The Vectorize plug-in for Rhino 8 that can be installed with the Package Manager, seems to be doing a good job of converting the image file to curves with the default settings:

Thanks for this example, Mark.
RH-76062 File IO: SVG: Failure case

-wim

Wow thank you guys for your answers I can go with that for now.

Something is still bugging me though, why is this client’s pdf working perfectly to get curves on rhino 7 ?! whatf you’re saying with the non vectoriel caracteristic of pdf, well it shouldnt work right ?

Thanks anyway !

sorry you answered my question already, the client probably worked on Illustrator or else to create a pdf that has vector content. But how can you tell the difference between un a bitmap pdf and a vectorial pdf in the first place (like when you get the file) ?

Hi -

If you open the file in something like Acrobat Reader, and zoom in really close into an edge, if that edge stays smooth, it’s vector. If you see blocks / pixels, it’s an image.
But, of course, when you open it in Rhino, you can tell right away if there’s a surface with an image or if there are curves…
-wim

I forgot to tell you but thank you all for your help !