Problem with AI import
All  1-13  14-20

Previous
Next
 From:  Michael Gibson
2443.14 In reply to 2443.12 
Hi Schbeurd,

> Not much to say there. The path comes from the
> Photoshop presets. I was just making a test.

Oh sure, blame the junky geometry on someone else.... ;)


I've got this tuned up now for the next v2 beta, so that AI files like this which have only non-visible paths in them will get those pulled in like they were for v1.


Thanks for posting the example file, it helps a lot to have that to debug with!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mip (VINC)
2443.15 In reply to 2443.13 
Importing plain rectangles from Illustrator

>Can you please attach the .ai file with the plain rectangle in it here?

>Those other things were probably generic bezier paths, but there is a special "re" operator that can be used for simple rectangles, maybe MoI has a bug in processing this particular operator.

Hi Michael,

Here is an Illustrator file with a rectangle and a distorted rectangle with vectorized text labels.
The plain rectangle doesn't import into MoI. The rectangle shape letters ( i and l ) of the vectorized text neither.

- Michel

EDITED: 28 May 2019 by VINC

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mip (VINC)
2443.16 In reply to 2443.15 
Hi Schbeurd,

I checked the Photoshop preset path you used and it is impossbe to see the defective control points even at the highest zoom.
(though they are clearly visible in Illustrator as shown in a previous post)

I also checked some of the other Photoshop preset paths and some of them showed junk paths too, even visible in Photoshop (Ex. Ornament 8).

So, you'd better draw your own paths for your next tests I think,

- Michel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Schbeurd
2443.17 
>>> Oh sure, blame the junky geometry on someone else.... ;)

Hehe ! ;-) Fortunately, Michel found some other junk paths in the Photoshop presets so I'm definitely not guilty ! :-))

>>> I've got this tuned up now for the next v2 beta, so that AI files like this which have only non-visible paths in them will get those pulled in like they were for v1.

Thanks. I'm impatient to discover the new features of this beta. The fix will be a welcome addition.

>>> So, you'd better draw your own paths for your next tests I think

Sure. Actually, the toolset of MoI is sufficient for almost all my needs. One reason for which I can use Photoshop is explained in the attached image.






Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mip (VINC)
2443.18 In reply to 2443.17 
Additional notes on plain rectangles importation problem:

- When the ai file is created from Photoshop, the plain rectangles import correctly in MoI.
- When a rectangle is rotated in Illustrator, it also imports correctly in MoI.

- Michel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2443.19 In reply to 2443.18 
Hi Michel, this was a bug in MoI's path processing, when handling the special "re" (rectangle) operator when the width or height of the rectangle was specified as a negative value.

It looks like Illustrator just happens to generate rectangles with a negative width value, while Photoshop generates them with a positive width value, which is why the Photoshop ones avoided the bug in MoI.

I have fixed this up for the next v2 beta, so that the rectangles generated by Illustrator will be handled properly now.

I think it should also be possible to avoid the problem in the current beta if you export using the older version AI format, like version 8 or earlier. Those older file formats were before they switched to the PDF style format and the old style files do not have a "re" operator, instead they will just contain 4 lines to make a rectangle so those should work.


Thanks for posting the example file and the additional information!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Mip (VINC)
2443.20 In reply to 2443.19 
Thanks a lot Michael,

Looking forward for the next beta.

- Michel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-13  14-20