Imported Illustrator spline having skewed vert

   3080   4   1
User Avatar
Member
4 posts
Joined: Feb. 2019
Offline
Hello everybody,

although I followed Entagma´s tutorial ( https://vimeo.com/282137418 [vimeo.com] ) on how to import Ai files to Houdini very closely (export to Ai 8 and import via a file node) somehow the last vert of every spline I import is seemingly random positioned in X/Y.

Attached you can find what I have setup and exported in Illustrator and what Houdini shows:



Does anyone have a clue on how to workarround this issue?

Attachments:
ai_spline_to_houdini.jpg (302.6 KB)

User Avatar
Member
240 posts
Joined: March 2015
Offline
Hi, I'm not sure why it's happening (possibly a bug) but the last point in the curve (going from left to right) has shifted position. (Not level with it's opposite point on the left)

I've tried two workarounds.
1. Add more points to the curve in illustrator. You can do this by either using Add Anchor Points or Simplify. Still not 100% accurate but better.
2. Add more points to the curve and then use a Simplify with Straight Edges turned on. This means it will import as a polygon and the points should be accurate.

I've attached a hip file. I've left the display on the first switch sop, and if you have Display Points enabled in the viewport, you can see the difference of the imports. The convert sop is not needed for the third input (straight edge version).

Rob

Attachments:
AI_Curve.jpg (68.7 KB)
AI_Curves.hiplc (158.7 KB)

User Avatar
Member
4 posts
Joined: Feb. 2019
Offline
WOW, a great many thanks for the help Rob
Guess I am not eligble to file a bug report as apprentice user, right?
User Avatar
Member
240 posts
Joined: March 2015
Offline
No problem
I think you can use option 2 or 3 from here … https://www.sidefx.com/forum/topic/15604/ [www.sidefx.com]
User Avatar
Member
447 posts
Joined: April 2018
Offline
I recommend using this SVG exporter/importer that makes the Houdini/Illustrator workflow much smoother:
https://github.com/Aeoll/ae_SVG [github.com]
  • Quick Links