模具论坛

 找回密码
 注册

扫一扫,微信登录

QQ登录

只需一步,快速开始

搜索
热搜: 冲压 注塑 求助
    回车查看更多
    论坛可能已存在您要发布的主题帖 关闭
      查看: 1755|回复: 10

      请教:怎样将文字定位到零件平面的中心??

      [复制链接]
      发表于 2004-3-9 08:37:00 | 显示全部楼层 |阅读模式
      <img src="attachments/dvbbs/2004-3/2004398324729707.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2004-3/2004398324729707.gif\');}" onmousewheel="return imgzoom(this);" alt="" />

      我想在平面正中心写上solidworks文字,可是文字定位成问题。我只是用鼠标拖动文字到中心位置(只能大体定位)。如何精确定位呢?[em22][em22][em22]
      发表于 2004-3-9 11:34:00 | 显示全部楼层
      文字的左下角有个定位点,可用尺寸标注约束文字的位置
      发表于 2004-3-9 12:28:00 | 显示全部楼层
      可以用互相垂直的虚线来定位
       楼主| 发表于 2004-3-9 20:06:00 | 显示全部楼层
      以下是引用homer77在2004-3-9 11:34:36的发言:
      文字的左下角有个定位点,可用尺寸标注约束文字的位置
      <img src="attachments/dvbbs/2004-3/200439204180735.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2004-3/200439204180735.gif\');}" onmousewheel="return imgzoom(this);" alt="" />


      试了试,还很难精确定位。因为难以掌握文字的实际长度呀!
      发表于 2004-3-9 20:31:00 | 显示全部楼层
      看我的,先做一条参考线,此线可以加尺寸约束的。选字体具中OK
      <img src="attachments/dvbbs/2004-3/2004392043431359.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2004-3/2004392043431359.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
      [此贴子已经被作者于2004-3-9 20:43:17编辑过]

       楼主| 发表于 2004-3-9 20:58:00 | 显示全部楼层
      谢谢,这样左右居中一定ok!!
      不过上下居中不一定准确,因为文字的高度很难测呀,文字是在直线的上方的(并且字体是需要调整的)!!
      发表于 2004-3-10 09:10:00 | 显示全部楼层
      上下位置可以由文字高度来控制。
       楼主| 发表于 2004-3-11 08:39:00 | 显示全部楼层
      大概也只能如此了,sw要是能和autocad结合就好了!!
      路过蜻蜓 该用户已被删除
      发表于 2004-3-11 08:55:00 | 显示全部楼层
      提示: 作者被禁止或删除 内容自动屏蔽
      发表于 2004-3-11 20:02:00 | 显示全部楼层
      真是笨啊,教都不会,把使用文字体前的小勾去了,点下面的字体,里面有字的高度单位为mm也可选字号,OK
       楼主| 发表于 2004-3-11 21:08:00 | 显示全部楼层
      接受批评,我只是感到sw没有文字居中对齐的功能,有点不方便。哈哈。。。。。。
      您需要登录后才可以回帖 登录 | 注册

      本版积分规则

      关闭

      招聘信息 上一条 /5 下一条

      关闭

      求职信息 上一条 /5 下一条

      关闭

      技术求助 上一条 /5 下一条

      QQ|小黑屋|手机版|模具论坛 ( 浙ICP备15037217号 )

      GMT+8, 2025-8-6 15:03

      Powered by Discuz! X3.4

      © 2001-2013 Comsenz Inc.

      快速回复
      返回顶部
      返回列表
       
      客服电话:0577-61318188
      模具论坛交流群:
      模具论坛交流群
      工作时间:
      08:30-17:30