Export hatch of height 2.06 cm as .ai becomes 1.7 cm open in pshop

Hi,

I have drawn a number 2, with a black outline.
I had imported a 2 as .ai into Rhino v5 from FH11.
modded its shape, redrawing it in its entirety, altering shape from pointed ‘toe’ to blunt ‘toe’ keeping overall height (inc thickness border) to 2.06cm
gave it same thickness black border as the original. using an offset outwards and inwards each 0.0852
Fill with a black hatch, (as Rhino doesnt do stroke width pshop recognises)
Its 2.06cm tall.
Export as an .ai
open in latest Pshop 26.6.1
height enter as 2.06cm
it opens, but has a surround of tranparent, its actual height is 1.7cm
and it was a bit ill defined,
try for V8, thet aill defined edges are now neat, presume ropey .ai exports are solved !

Still the height problem exists. why has it lost its height and gained this moat of transparent nothingness ?

How do I export this and get it to be 2.06cm top to bott of the black border ?

here it is:-
number 2 style blunt toe RhinoV8.3dm (2.2 MB)

and how do i overide dims propeties in v8, in v5 one went properties property overide..
as such I had it to 4 dec places, now its to 2dp.

Cheers
Steve

The Rhino file you posted above opens as millimeters and I measure the overall height (base to top vertically) of the ‘2’ as 4.938mm. The inside path measures 4.598mm high, the offset is 0.170mm

The .ai export here from V8 does not open in my current version of Photoshop (26.7) - says “Unable to parse Postscript”.

Hi, workflow,

see attached storyboard read from top to bott.

do make sure cmyk is selected for ai export. in Rhino !

The problem is, Rhino is placing a transparent ‘something’ around the top, bottom and left side of the hatch. ..and also somewhat thinner , down the right side, as opening it 20.6cm, 10x the size I want, shows such is there as well.
WHY ? :rage:
there is nothing there to select and delete before export.

and as its there, 2.06cm height placed in the pshop IMPORT box is not relating to the actual border as required, but some invisible force beyond it. ‘May the Force Be With You’

This is not Star Wars, but Rhino obviously fancies an oscar,

What do I have to do to get this hatch that goes to the edge of the file, so 2.06cm height will be the height of the black border ?

Is there a different way to do text with stroke lines as such and have it come into pshop, 2.06cm tall ?

LETS TRY NOT USING HATCH.
clearly Rhino has issues with basic .ai export of the most simple curve. a box !
:scream:

Steve

this bug is annoying, and i had to deal with it throughout school.

my workaround was to include a bounding box of known dimensions and scale the drawing up/down to match that bounding box when i opened it in illustrator or photoshop. eg, if the drawing fits on A5 paper, i would draw a rectangle in A5 proportions scale the dimensions to the size of the drawing and include it in the export.

if it was in photoshop, i would crop the canvas to the bounding box edge.

Please,
to the brains and boffins at McNeel, please fix this bug
(how do we get them to spot this ?)

Cheers

Steve

Do you have the same problem when exporting as *.svg?

Hi Steve,

No bug to fix, this all works fine - provided you understand the Photoshop end.

Using Rhino 8.20.25154.13001, 2025-06-03.

I created a copy of your hash scaled to 20.6 mm tall:

Selected it and export selected it in .ai file format.

Opened in Illustrator 29.5.1 I get an object 20.601 mm tall:


Rhino has not added a “transparent ‘something’”.

Opened in Photoshop 26.7.0 a border is added. Do NOT change the dimensions PS shows on the Rasterize EPS window - they are set to allow for this border (I believe the border is added to allow some extra room for the ant-aliasing process to take place). I get an object 20.7 mm tall (the extra height comes from the anti-aliasing):


The border you see appears larger because your object is only 4.94mm high.

Key takeaways:

  1. Make your object the size you want it to be in PS while still in Rhino.
  2. Photoshop works with bitmaps so it rasterizes vector images. That means dimensions get adjusted to multiples of pixels. Anti-aliasing adds further adjustment.
  3. Don’t alter the dimensions you see in the Photoshop Rasterize window - they are PS image dimensions, not imported object dimensions.

number 2 style blunt toe RhinoV8_hatchOnly2pt06cm.3dm (45.6 KB)
number 2 style blunt toe RhinoV8_hatchOnly2pt06cm.ai (10.0 KB)

HTH
Jeremy

1 Like