差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
kicad6mh [2022/04/19 11:37]
liping
kicad6mh [2022/06/21 18:28] (当前版本)
gongyu
行 22: 行 22:
 下面先给大家演示一下如何通过Edge.Cuts层去绘制定位孔,这边我先绘制了一个50x50mm的板子,接下来我们就给这个板子添加定位孔吧, 下面先给大家演示一下如何通过Edge.Cuts层去绘制定位孔,这边我先绘制了一个50x50mm的板子,接下来我们就给这个板子添加定位孔吧,
  
-首先,我们在层的选项中选择Edge.Cuts层,然后点击绘制圆,如图所以{{ :hole0.png |}}<WRAP centeralign>​定位孔绘制/​WRAP>​+首先,我们在层的选项中选择Edge.Cuts层,然后点击绘制圆,如图所以{{ :hole0.png |}}<WRAP centeralign> ​选择板边层</​WRAP>​ 
 + 
 +选择绘制圆工具,点击即可确定圆心位置拖动鼠标可以确定圆的半径,并会显示半径的大小,大家还可以右击这个圆然后找到属性,或者直接按快捷键E,此时会出现属性栏,里面包含圆的位置,半径大小,以及线的粗细,大家可以根据需求直接修改就可以了,非常方便,因为我们的螺丝是3mm的,所以我们的定位孔就设置为3.2mm的,所以这边的半径我们就选择1.6,其余我们就默认即可,将圆的圆心挪动到板子的一角,同理绘制其余三个圆,并放置到其他的角上如图,{{ ::hole1.png |}}<WRAP centeralign>​ 半径的确认</​WRAP>​{{ ::hole3.png |}}<WRAP centeralign>​ 定位孔的放置</​WRAP>​ 
 + 
 +这样做的目的就是方便后面定位孔的精准放置,我们根据需求将定位孔放置到板子上,以右上角的定位孔为例,右击这个圆,找到特殊工具-精确移动,或者快捷键Shift+M,点击之后弹出移动对话框,按照我的需求,要向左向下各移动3mm,可以看到我X设为-3,Y设为3,也就是说横向的移动向右为正 ,向左为负,纵向的移动向下为正,向上为负,同理根据这个规则我们,可以完场其余三个定位孔的放置如图{{ ::hole4.png |}}<WRAP centeralign>​ 定位孔的精确移动</​WRAP>​{{ ::hole5.png |}}<WRAP centeralign>​ 定位孔的精确移动</​WRAP>​ 
 + 
 +放置完成后我们看一下3D效果图,点击视图-3D查看器,或者快捷键Alt+3,如图所示,我们已经完成定位孔的绘制了。{{ ::hole6.png |}}<WRAP centeralign>​ 板子的3D查看器</​WRAP>​ 
 + 
 +下面通过另外一种方式给大家演示一下定位孔的绘制, 
 + 
 +首先在原理图中添加四个定位孔符号-MountingHole,给符号进行标注从H1一直到H4,{{ ::​hole1-0.png |}}<WRAP centeralign>​ 添加定位孔符号</​WRAP>​ 
 +给这个符号关联封装,直接选择MountingHole-3.2mm-M3的封装,点击应用即可,如图所示{{ ::​hole1-2.png |}}<WRAP centeralign>​ 关联封装</​WRAP>​ 
 +回到原理图界面后,选择工具-从原理图更新到PCB,此时转到PCB界面,点击更新PCB,此时已添加了定位孔的封装如图:{{ ::​hole1-3.png |}} 
 +<WRAP centeralign>​ 更新PCB封装</​WRAP>​ 
 +此时我们发现自己添加的封装和我们自己绘制的封装大小上有很大区别,但是当我们使用3D查看器查看时就会发现这个封装的定位孔和我们自己绘制的定位孔大小是一样的,最外层红色的是Courtyard,就是给我们预留了螺丝帽的位置,防止我们将器件放置的太靠近定位孔导致螺丝安装的时候固定不到底,所以建议大家在绘制定位孔时选择这种方式, 
 + 
 +同样的我们把封装放置到板子的四个角,然后再通过精确移动放置到板子上如图: 
 +{{ ::​hole1-4.png |}}<WRAP centeralign>​ 定位孔的放置</​WRAP>​ 
 +{{ ::​hole1-5.png |}}<WRAP centeralign>​ 定位孔的精确移动</​WRAP>​ 
 +{{ ::​hole1-6.png |}}<WRAP centeralign>​ 定位孔的精确移动</​WRAP>​ 
 +最后点击视图-3D查看器,可以看到第一中用Edge.Cuts的方式是一样的,但是用封装方式绘制的定位孔会显示H1-H4的丝印,根据个人需求选择是否显示。 
 +{{ ::​hole1-7.png |}}<WRAP centeralign>​ 3D查看器<​/WRAP> 
  
 The easiest way to create openings for requirements such as a screw or mounting holes, passing wires, or other component requirements,​ is to design them in the Edge.Cuts layer in the exact same way that you go about designing the board outline. Essentially,​ when you create a board internal outline, the manufacturer will treat it as a void, and carve material out of it. The easiest way to create openings for requirements such as a screw or mounting holes, passing wires, or other component requirements,​ is to design them in the Edge.Cuts layer in the exact same way that you go about designing the board outline. Essentially,​ when you create a board internal outline, the manufacturer will treat it as a void, and carve material out of it.
行 54: 行 76:
  
 If your manufacturer is unable to work with internal cutouts in the Edge.cuts layer, you can still create them as custom footprints. Learn how to create footprints in the '​Creating a new footprint'​ recipe. If your manufacturer is unable to work with internal cutouts in the Edge.cuts layer, you can still create them as custom footprints. Learn how to create footprints in the '​Creating a new footprint'​ recipe.
 +