方法重载_方法

方法重载

Recently, I wrote an article about moving XD designs to Figma. It was a really interesting experiment and one that seemed to interest quite a lot of people.

最近,我写了一篇有关将XD设计移至Figma的文章。 这是一个非常有趣的实验,似乎吸引了很多人。

It got me thinking though. What if I wanted to convert Figma files to XD? What exactly are the options? How easy is it?

不过这让我思考。 如果我想将Figma文件转换为XD怎么办? 究竟有哪些选择? 有多容易?

There are many great reasons to use either tool, but I decided that it was time to close the loop and see just how easy it is to do the conversion.

使用这两种工具的原因很多,但我认为是时候结束循环了,看看转换是多么容易。

Read on to find out more

请继续阅读以了解更多信息

方法 (The methods)

There are three options for converting your files:

有三种用于转换文件的选项:

  • The SVG method

    SVG方法
  • The recreation method

    娱乐方法
  • Using a Figma to XD converter from XD2Sketch.com

    使用来自XD2Sketch.com的Figma到XD转换器

设置测试文件 (Setting up a test file)

I started by setting up a test Figma file to compare the above options.

我首先建立了一个测试Figma文件来比较上述选项。

Let’s have a look at the file:

让我们看一下文件:

View of unconverted Figma File

It also has a few components too:

它还具有一些组件:

Components in Figma

SVG方法 (The SVG method)

Rating: 😐

评分:😐

The SVG method uses SVG files that have been converted from Figma artboards.

SVG方法使用从Figma画板转换而来的SVG文件。

The files are then imported into XD.

然后将文件导入XD。

There are two ways to do this:

有两种方法可以做到这一点:

  1. By selecting the artboard in Figma and right clicking. Then selecting Copy/Paste and finally Copy As SVG. The artboard can now be pasted into XD.

    通过在Figma中选择画板并单击鼠标右键。 然后选择“复制/粘贴”,最后选择“复制为SVG”。 现在可以将画板粘贴到XD中。
Figma Copy Artboard as SVG

Or

要么

2. By selecting the artboard in Figma and exporting it from the right hand toolbar under the “Export” section.

2.在Figma中选择画板,然后从“导出”部分下的右侧工具栏中将其导出。

Export section in Figma

From here you can drag or copy and paste the file into XD.

您可以从此处拖动或复制文件并将其粘贴到XD中。

Let’s have a look at the first result.

让我们看一下第一个结果。

Figma SVG file in Adobe XD

It looks good, but is it really?

看起来不错,但是真的吗?

Let’s have a closer look

让我们仔细看看

Image for post

As you can see from the layers panel in XD, the SVG only has vector layers and nothing is grouped together.

从XD的“图层”面板中可以看到,SVG仅具有矢量图层,没有任何东西被分组在一起。

The text has also been converted to a path, so it can no longer be edited.

文本也已转换为路径,因此无法再对其进行编辑。

Image for post

This is not ideal for those wanting to work on the file further.

对于那些想进一步处理文件的人来说,这是不理想的。

Of course, there are also no components due to the nature of the SVG format.

当然,由于SVG格式的性质,也没有任何组件。

Now let’s have a look at our image mask:

现在让我们看一下我们的图像蒙版:

SVG Image Mask from Figma in Adobe XD

Unfortunately the mask is gone and the image is in its original form.

不幸的是,面具不见了,图像仍保持原始形状。

As you can see, using the file for further work will be difficult and limited. The text, masks and components would need to be recreated.

如您所见,将文件用于进一步的工作将是困难且有限的。 文本,遮罩和组件将需要重新创建。

The SVG method may work well if you have a very simple file without more complex elements.

如果您有一个非常简单的文件而没有更复杂的元素,那么SVG方法可能会很好地工作。

Or if you are looking to import into XD to enjoy some of the prototyping benefits (or something else).

或者,如果您希望导入XD以享受一些原型制作的好处(或其他)。

This method is not a good one, especially if you want to work on the file further.

此方法不是一个好方法,尤其是如果您想进一步处理文件。

娱乐方式 (The Recreation Method)

Rating: 😭

评分:😭

This method involves recreating your files from scratch in XD using the old file as a reference.

此方法涉及使用旧文件作为参考在XD中从头开始重新创建文件。

This method is time consuming and not worth it.

这种方法很耗时,不值得。

I didn’t attempt it for the sake of this test as I knew it would just take too much time. After all it is more or less like designing from scratch.

我没有为了测试而尝试,因为我知道这将花费太多时间。 毕竟,它或多或少就像是从头开始设计。

After doing some researching on these conversion methods, I found that a number of people are actually using this as a solution!

在对这些转换方法进行了一些研究之后,我发现实际上有很多人正在使用它作为解决方案!

This is not a scalable solution. And as all designers know, time is money and this method is not the way to get the work done.

这不是可扩展的解决方案。 众所周知,时间就是金钱,这种方法并不是完成工作的方法。

This is exactly the reason why I think the next option is a really good one.

这正是我认为下一个选择非常好的原因。

使用Figma至XD转换器 (Using a Figma to XD converter)

Rating: 🤩

评分:🤩

Last, but not least comes a third party converter.

最后但并非最不重要的是第三方转换器。

This converter does not directly convert to XD, but converts Figma files to Sketch, which can then be imported into Adobe XD.

该转换器不会直接转换为XD,而是将Figma文件转换为Sketch,然后可以将其导入Adobe XD。

But let’s see the results.

但是,让我们看看结果。

转换文件 (Converting the file)

  1. Enter the link to the Figma file into the converter. The file needs to be public. Enter your email address and click “Upload now”

    将到Figma文件的链接输入到转换器中 该文件必须是公开的。 输入您的电子邮件地址,然后单击“立即上传”

Image for post

2. You will see the upload happening with a progress bar. You will see a preview of the file.

2.您将看到带有进度条的上传。 您将看到文件的预览。

If you are happy with it click on “Convert Now”

如果您满意,请点击“立即转换”

Converting Figma File to Sketch XD

3. Select your plan and complete the checkout

3.选择您的计划并完成结帐

4. The file will now convert

4.现在文件将转换

Figma File converting to Sketch XD

5. You can now download your file:

5.您现在可以下载文件:

File download of converted Figma file in Sketch format

6. Now all you have to do is open the file in Adobe XD and you are done.

6.现在,您要做的就是在Adobe XD中打开文件,然后就完成了。

结果 (The results)

Let’s see how the conversion looks.

让我们看看转换的样子。

XD file converted from Figma

As you can see, all the layers have been preserved perfectly, as well as the mask.

如您所见,所有图层以及蒙版均被完美保存。

The text can also be edited and everything has been preserved very well.

文本也可以编辑,并且所有内容都保存得很好。

The only disadvantage here is that Symbols/Components are not supported. I reached out to the XD2Sketch team and they assured me that they are working on this. So I will come back and update the article when they let me know that the feature is finished.

唯一的缺点是不支持符号/组件。 我与XD2Sketch团队联系,他们向我保证,他们正在为此工作。 因此,当他们让我知道功能已完成时,我将返回并更新文章。

The converter is a great option and also currently supports a few different options for conversion like XD to Sketch, XD to Figma and Figma to Sketch.

该转换器是一个很好的选择,目前还支持一些不同的选项,例如XD到Sketch,XD到Figma和Figma到Sketch。

I hope this article helped to make your life a little easier.

我希望本文能使您的生活更轻松一些。

Happy designing!

设计愉快!

Image for post
UX Para Minas Pretas (UX For Black Women), a Brazilian organization focused on promoting equity of Black women in the tech industry through initiatives of action, empowerment, and knowledge sharing. Silence against systemic racism is not an option. Build the design community you believe in.UX Para Minas Pretas (UX For Black Women),这是一个巴西组织,致力于通过采取行动,赋权和知识共享的举措来促进科技行业中的黑人女性平等。 对系统性种族主义保持沉默是不可行的。 建立您相信的设计社区。

翻译自: https://uxdesign.cc/moving-designs-from-figma-to-xd-just-how-easy-is-it-afc6c6cb34cb

方法重载

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/275676.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

php strtoup,PHP 7 的几处函数安全小变化

To Begin With最近在准备 LANCTF,想把环境迁移到 PHP 7,却想到一些 payload 失效了。想着什么时候总结成一个笔记,恰巧在 FB 发现有人写了一篇博文,拜读后结合 CTF 环境整理了一下,总体来说,弃用了较多不安…

Node.js 框架设计及企业 Node.js 基础建设相关讨论

大家好,我是若川。19年我写的 lodash源码 文章投稿到海镜大神知乎专栏竟然通过了,后来20年海镜大神还star了我的博客,同时还转发了我的微博。时间真快啊。今天分享这篇Node.js的讨论。2021 年上半年早已过去,回顾 Node.js 在国内的…

DAS、NAS、SAN、iSCSI 存储方案概述

目前服务器所使用的专业存储方案有DAS、NAS、SAN、iSCSI几种。存储根据服务器类型可以分为:封闭系统的存储和开放系统的存储: (1)封闭系统主要指大型机. (2)开放系统指基于包括Windows、UNIX、Linux等操作系…

同态加法_同态—当旧趋势突然变酷时

同态加法Designers get excited at every year’s end to see what next year’s trend is going to be. What the future of design is going to look like. What they can carry forward to the next year; And Neumorphism was one among the lists which gained great atte…

网页标题设置,为什么在SERP中,显示结果不一致?

在网站建设与运营的过程中,我们经常会遇到各种各样的问题,特别是关于网页标题设置的问题,如果一个页面标题出错,那么,你整个页面建设的过程,就完全是事倍功半,得不偿失。 那么,网页标…

阿里专有钉钉前端面试指南

大家好,我是若川。今天推荐这篇掘金高赞文章,欢迎留言交流。经作者子奕大佬授权转载,原文链接:https://juejin.cn/post/6986436944913924103作者介绍子弈[1],专有钉钉前端团队成员,负责专有钉钉 PC 客户端的…

安全态势感知产品对比_设计中的对比和人的感知

安全态势感知产品对比In this article, we’re going to explore the concept of contrast and its fundamental role in UX and visual design.在本文中,我们将探讨对比度的概念及其在UX和视觉设计中的基本作用。 Let’s start by defining what contrast is.让我…

在字节做前端一年后,有啥收获~

大家好,我是若川。今天分享这篇,相信读完会有些收获。本文经作者授权转载,原文链接:https://juejin.cn/post/6980671091526074404个人简介19年底12月进入字节实习, 第二年7月毕业转正。到前几天正好全职一周年。进入公…

app用户隐私协议相关法律_隐私图标和法律设计

app用户隐私协议相关法律During its 2020 Worldwide Developers Conference, Apple spent time on one of today’s hottest topics — privacy. During the past couple of years, Apple has been rolling out various public campaigns aiming to position itself as a compa…

HTTP referer

简言之,HTTP Referer是header的一部分,当浏览器向web服务器发送请求的时候,一般会带上Referer,告诉服务器我是从哪个页面链接过来的,服务器籍此可以获得一些信息用于处理。比如从我主页上链接到一个朋友那里&#xff0…

ecshop模板支持php,[老杨原创]关于ECSHOP模板架设的服务器php版本过高报错的解决方法集合...

1、admin/index.phpadmin/sms_url.php报错:Strict Standards: mktime(): You should be using the time() function instead in /data/web/ledetaoadmin/sms_url.php on line 31$auth mktime();替换为:$auth time();报错:Strict Standards:…

35 点击全图后发现地图“不见了”

相信很多用ArcGIS软件作图的时候会习惯用全图按钮,但是有的时候工程文件是他人提供的,也不太清楚是怎么做的,一点全图,软件界面就一片空白,找数据找半天,很是苦恼啊 这虽然不是什么大问题,但还是…

成为优秀沟通者的要素_如果您想成为更好的设计师,请成为更好的沟通者

成为优秀沟通者的要素Little changes that go a long way.小变化大有帮助。 I started my career in motion design.我的职业生涯始于运动设计。 My focus was on the visual and technical skills required to make emotionally compelling work. I believed great design s…

我读源码的经历~

你好,我是若川。最近来了一些读者朋友,在这里简单介绍自己的经历,也许对你有些启发。可以点击 ruochuan12 加我微信进群交流。这是我的公众号卡片,可以加下星标。我是谁我是若川,毕业于江西高校,《面试官问…

DEDECMS 5.6整合Discuz_X1.5的方法

DEDECMS 5.6整合Discuz_X1.5的方法 听朋友的建议,为了网站继续发展,准备整合一个论坛。我准备将DEDECMS 5.6与Discuz_X1.5进行整合,我先是在网站查找了一些资料,可能是技术太菜,竟然没有成功。经过几个高手的指点现在终…

php建一个表按删除就删除,php怎样删除数据库表_后端开发

php删除数据库表的要领:起首建立一个PHP示例文件;然后衔接mysql数据库;末了经由过程“DROP TABLE runoob_tbl”语句删除MySQL数据表即可。引荐:《PHP视频教程》php MySQL 删除数据表MySQL中删除数据表是异常轻易操纵的&#xff0c…

Android 应用安全性改进: 全面助力打造 零漏洞 应用

作者 / Patrick Mutchler 和 Meghan Kelly, Android 安全和隐私团队 帮助 Android 应用开发者构建 "零漏洞" 的安全应用有助于推动整个生态系统的健康发展。所以,我们在 5 年前启动了应用安全改进计划,项目发展至今,收获了许多成功…

字节招人

大家好,我是若川。这应该是第五次发招聘了,友情帮一个朋友宣传。普通高校的很多大学生因为信息差导致慢一两年才醒悟过来,原来大三就有校招了。如果能早些知道早做准备,结果可能会更好。而知名高校,身边很大学长学姐进…

人工智能和Adobe Sensei

Adobe概述 (Adobe Overview) The design process changes from person to person, practice to practice, and profession to profession. As we advance further into the 21st century, the design process for many people leans heavily on technology. Adobe leads the ch…

php如何生成公钥私钥,php如何生成公钥私钥(代码)

本篇文章给大家带来的内容是关于php如何生成公钥私钥(代码),有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。//http://www.lampol-blog.com/detail/aid/ZDk5MmFNZ2pJL1pROW5QZU9KZ2FWdVlFTDVHRnRmZm4rNDMzSFlHNg%3D%3D 各种秘…