Support for M(ove) in SOLIDREGION in PCB Editor
158 2
andreasbernhofer 5 months ago
Hi, since EasyEDA struggles with SVG import I'm currently writing my own SVG import that converts SVG to SVG Nodes or SOLIDREGION Nodes. While SVG Nodes work fine with complex shapes, SOLIDREGION has problems as soon as more than one closed path / a M(ove) command is within the region. EasyEDA is not able to drag / move SOLIDREGION Nodes that contain a M(ove). Within the GUI it looks like it moved the region, but it throws an error in the console and when you reopen the project the region is back where it was after the import. However, even complex shapes seem to render fine when creating gerber files. So the region actually works. So, can you please add support for more complex solid regions that contains moves? This is essential for regions with cutouts because these cannot be split into separate regions! Thx ![EasyEDA Editor with complex SOLIDREGION](//image.easyeda.com/pullimage/Sgb7VXZvpvRCD6mIhTI2ZyxmF3SaIWjydJYZEqCk.png) ![EasyEDA with imported SVG as SOLIDREGION](//image.easyeda.com/pullimage/k0y7bjUL9Uo0jRAbw5fEQOdLNy42LY2jV0JCXKN5.png)
Comments
UserSupport 5 months ago
Solid region and copper area doesn't support this path, then we make a simplify for the interset region after finish drawing. because of the interset region will make the Gerber incorrect. and the solid region doesn't support the create a hole inside. it maybe likes this M command ![图片.png](//image.easyeda.com/pullimage/7OX6ceNCZVQmFgpPAx8YelHzpNVZikJSyttUsn5s.png)
Reply
andreasbernhofer 5 months ago
Thx... My import script now splits each SVG path at the M(ove) command into a seperate solid region, so the import works fine. However, this means that holes are not supported within a solid region, only in an SVG node. [https://github.com/xsrf/easyeda-svg-import](https://github.com/xsrf/easyeda-svg-import)
Reply
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,使用建立访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.