Tanuki Posted August 9, 2021 Author Share Posted August 9, 2021 I think we're in a bit of a loop here. If there is a way to save or export an Ai file such that it only includes path data, could you please tell what that process is. I'm really not clear from your response what you are recommending... Link to comment Share on other sites More sharing options...
OSUblake Posted August 9, 2021 Share Posted August 9, 2021 48 minutes ago, Tanuki said: I'm really not clear from your response what you are recommending... As far as I know AI is not going to export just the path data (the part inside d=""). If that's all you're after, you might have to copy and paste it yourself. If you have any more questions about exporting, you should probably take them over to Adobe support. We really try to keep these forums focused on GSAP. 2 Link to comment Share on other sites More sharing options...
Tanuki Posted August 9, 2021 Author Share Posted August 9, 2021 Cassie asked the question - I'd prefer if she answered my response. Link to comment Share on other sites More sharing options...
Cassie Posted August 9, 2021 Share Posted August 9, 2021 My question was just based off the gimp article you linked to. The output in this screenshot isn't anything special - it's exactly what you can get out of most vector editors. If this was all you're after, I wanted to give you a heads up incase you were overcomplicating things. Link to comment Share on other sites More sharing options...
Cassie Posted August 9, 2021 Share Posted August 9, 2021 But as Blake says, if it's any more complicated than that - probably best to hop on the adobe support forums. 1 Link to comment Share on other sites More sharing options...
PointC Posted August 9, 2021 Share Posted August 9, 2021 4 hours ago, Tanuki said: can you tell me what your Ai export settings are 2 Link to comment Share on other sites More sharing options...
Tanuki Posted August 9, 2021 Author Share Posted August 9, 2021 Cassie, Thx - yep, that's pretty much what I'm getting. Somehow, I was under the impression you were able to export (or save as) just the path data string. So, I think at this point I'll just write a routine to search for the "d" string and pop that into the setAttribute (''d", ...) method. But again, because I would be dealing with 8,100 individual characters and 200k words (that resolve to 1 to 4 "d" strings in an svg file), it would be preferable to have a database of just the path data in each record. But I'll worry about that later. Thx for all your help! Let's close this thread out - I think we can all agree we've pretty much covered all the angles on path data. Cheers 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now