Jump to content

Recommended Posts

Posted

I use Rhino3d for designing card models.
I'm going to use APublisher and place all element into a booklet.

image.png.bd7bdb7923215b68166ebfe39da923ba.png

When I import files .svg, .dxf to APublisher or ADesigner dimensions are very close to designed, not perfect bu OK.image.png.5b92eb8ae88be184eaf2cb8802f07c47.png

image.png.a7bbff907842786207922e3be6784939.png

When I use CopyPaste from Rhino, dimensions of pasted elements are wrong.
Regular Paste, Paste Special: x-inkscape-svg, PDF
image.png.8dc7647d8ec2fe7c2439f6835b639502.png

 

Paste as SVG format.

 

image.png.ab60be8d916dbf4d2c25f0cb9fae8f67.png

image.png.895b0d7fe386900e9661a5ed85e6ab07.png

I also tried CopyPaste from my CorelDraw, results are terrible.
Stroke is set to None 😛, but...
image.thumb.png.2fcb95e7928a378c530a712d8fd31462.png

Stroke 0,04mm
image.thumb.png.cda6d52847ca502d37676dc29b0eec08.png

In my project I've hundreds of elements and exporting to file, then import one by one would be a nightmare.

I kindly ask you to fix it.

Regards,
Jacek

image.png

image.png

Spit 0001.dxf Spit 0001.svg

Posted

Hi @JacekSwierczek,

Thanks for your report!

Can you please confirm for me, are you using the same DPI value in your Rhino3D/CorelDraw and Affinity Publisher documents? As the pasting results you've shown may be occurring due to a difference in DPI.

If you select the 'Portable Document Format (PDF)' option in the Paste Special dialog, do you see improved results?

As far as I can tell from searching online, there are issues with retaining scale on paste from Rhino into other applications, such as Illustrator:

https://discourse.mcneel.com/t/copy-paste-between-rhino-illustrator/29721/8

If by chance you have Illustrator installed, do you see the same issue there when copy and pasting between Rhino3D, or is this issue only present within Affinity?

Many thanks in advance :)

Posted
On 4/20/2023 at 11:36 AM, Dan C said:

Hi @JacekSwierczek,

Thanks for your report!

Can you please confirm for me, are you using the same DPI value in your Rhino3D/CorelDraw and Affinity Publisher documents? As the pasting results you've shown may be occurring due to a difference in DPI.

In Rhino isn't possible to set DPI for objects you place to the clipbaoard (Copy).

I've a rectangle in Rhino 100mmx50mm. I've created blank document in AD different DPI settings.

DPI 400
image.png.1aa74e1608c1333143e224e89114176a.png

 

DPI 300
image.png.f26967e2ea9b4db50eb90b3788bd7032.png

DPI 192
image.png.bc026e9c815395a1f1ab84327d95e17d.png

DPI 144
image.png.023a4dac1de4c178be0c445fe55fe3e5.png

DPI 96
image.png.e3d7312a6f85a25f45caf25029595039.png

DPI 72
image.png.01cc1afb805530247cefd105166787ea.png

On 4/20/2023 at 11:36 AM, Dan C said:

If you select the 'Portable Document Format (PDF)' option in the Paste Special dialog, do you see improved results?

I don't have a special dialog for PDF. When I select 'Paste Special...' I see this dialog.
image.png.ed01fce97b5cfa7b69035926de9eb436.png

After pressing 'OK' objects are instant placed in AD without any dialog.

On 4/20/2023 at 11:36 AM, Dan C said:

As far as I can tell from searching online, there are issues with retaining scale on paste from Rhino into other applications, such as Illustrator:

https://discourse.mcneel.com/t/copy-paste-between-rhino-illustrator/29721/8

Thanks! I'm not sure if the source of problems is AD :-). It can be McNeel of course. I'll write to them.

On 4/20/2023 at 11:36 AM, Dan C said:

If by chance you have Illustrator installed, do you see the same issue there when copy and pasting between Rhino3D, or is this issue only present within Affinity?

Many thanks in advance :)

I don't have Ilustrator.

 

I'm developer and I use tools to see RAW data from clipboard. You can use i.e. Windows clipboard raw viewer (peterbuettner.de)

SVG's format
image.png.0009b52ee8e4050c898dc03cf47a92fb.png

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="2400pt" height="2400pt" viewBox="0 0 2400 2400" overflow="visible" xmlns="http://www.w3.org/2000/svg">
  <path d="M935.1576,824.0254 L1473.663,824.0254 L1473.663,554.7728 L935.1576,554.7728 z" stroke="#000000" stroke-width="4.08" fill="none" />
</svg>

PDF Format
image.png.8e37025edd9910b2a88ccbacd4f2c95f.png

I'm not sure if data placed by Rhino are correct.

If you need more informations or test let me known.

 

Regards,

Jacek

 

 

 

 

 

 

Posted

Many thanks for confirming that for me and for the further information provided - this is certainly appreciated!

2 hours ago, JacekSwierczek said:

When I select 'Paste Special...' I see this dialog.
image.png.ed01fce97b5cfa7b69035926de9eb436.png

After pressing 'OK' objects are instant placed in AD without any dialog.

I assume that when using this PDF paste option, the rectangle is also in the incorrect size?

2 hours ago, JacekSwierczek said:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="2400pt" height="2400pt" viewBox="0 0 2400 2400" overflow="visible" xmlns="http://www.w3.org/2000/svg">
  <path d="M935.1576,824.0254 L1473.663,824.0254 L1473.663,554.7728 L935.1576,554.7728 z" stroke="#000000" stroke-width="4.08" fill="none" />
</svg>

The SVG code on the clipboard seems to use "width="2400pt" height="2400pt" " which seems unexpected, especially considering your copied object is not square in size - I'd expect the width and height to be different values for a rectangle, such as the following, which Designer copies to the Clipboard when using 'copy items as SVG' in Affinity:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 1182 591" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
    <g transform="matrix(5.14488,0,0,4.66528,-146.494,-143.198)">
        <rect x="28.474" y="30.694" width="229.568" height="126.584" style="fill:none;"/>
    </g>
</svg>

 

2 hours ago, JacekSwierczek said:

CopyPaste problem, from Rhino to AffinityDesigner or Inkscape - Rhino - McNeel Forum

Many thanks for logging this with McNeel also, as I am interested in the information they can provide!
Considering that both Affinity and Inkscape paste this object at different sizes, it does appear to be an issue with Rhino at this time.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.