JacekSwierczek Posted April 19, 2023 Posted April 19, 2023 I use Rhino3d for designing card models. I'm going to use APublisher and place all element into a booklet. When I import files .svg, .dxf to APublisher or ADesigner dimensions are very close to designed, not perfect bu OK. When I use CopyPaste from Rhino, dimensions of pasted elements are wrong. Regular Paste, Paste Special: x-inkscape-svg, PDF Paste as SVG format. I also tried CopyPaste from my CorelDraw, results are terrible. Stroke is set to None 😛, but...Stroke 0,04mm 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 Spit 0001.dxf Spit 0001.svg Quote
Dan C Posted April 20, 2023 Posted April 20, 2023 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 Quote
JacekSwierczek Posted April 20, 2023 Author Posted April 20, 2023 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 DPI 300 DPI 192 DPI 144 DPI 96 DPI 72 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. 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 <?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 I'm not sure if data placed by Rhino are correct. If you need more informations or test let me known. Regards, Jacek Quote
JacekSwierczek Posted April 20, 2023 Author Posted April 20, 2023 CopyPaste problem, from Rhino to AffinityDesigner or Inkscape - Rhino - McNeel Forum Quote
Dan C Posted April 20, 2023 Posted April 20, 2023 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. 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. Quote
Recommended Posts
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.