几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


 
 
主题工具 搜索本主题 显示模式
旧 2009-04-13, 08:50 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】an easy way to move your model so its centered on the origi

an easy way to move your model so it's centered on the origi
i'm trying to use solidworks more. one of the first tasks that i wanted to do was convert a 2d autocad drawing into a 3d model using the the 2d-->>3d commands. i had sucess in creating the model, thing is i didn't line up the autocad drawing views with the solidworks planes.
so what i have is the model floating off in space away from the origin. i'm not sure if there is an easy way to fix this.
a solidworks guru we have here said i'm going to have to move every sketch for every feature one at a time. is there an easier way?
for future models that i construct this way, how would i import them correctly so that the model would be created fron the origin.
thanks so much for your help in advance, i'm sure this sounds basic to most of you.
many/most people re-create the sketches with sw. it is often quicker and more accurate.
however, after importing a dwg or dxf into a sw sketch, you can use the move entities function to position the sketch as needed.
in your case, roll back the feature manager to the imported sketches and then re-position them.

the 2d to 3d tool has functions for moving and aligning sketches.
if you go to tools>sketch tools>modify, there is a very handy little dialog that allows you to move an entire sketch, amongst other things.
barring that, you could always use insert>features>move/copy to move the resulting solids
a more complicated method would be to create a coordinate system based on the center of mass, or other planes, export as parasolids using that coordinate system, and reimport the solid based on that coordinate system.
"are we having fun yet?"
--
hardie "crashj" johnson
sw 2008 sp4
nvidia quadro fx 1000
amd athalon 1.8 ghz 2 gig ram

every instructor that i have seen teaching solidworks to new users is that they say creating the model in relation to the origin doesn't matter.
i personally hate this. i have had numerous arguments about this, then to hear from users later that it is a problem and ask how to fix it.
i 'always' create models with the origin on the mounting base, centered, and based on how it's manufactured (as much as possible).
chris
solidworks/pdmworks 08 3.1
autocad 08; catia v5
my personnal recomendations under this situations is to go back to your dxf file and move all the objects to the origin first. this way after you import it will at least be on the origin. then you can fix the geometry and go from there. works well for complex geometry.
if you wish not to do that then moving the entities is another option, just use caution because sw may already have assigned some constraints that could cause problems.
however i would agree with the others that if you are trying to learn sw more, recreate then at least it is dimension driven.

sp1ke727,
i agree with ctopher. read the drawing. draw your model, located to the origin. you do not necessarily know how the original autocad drawing dimensions were modeled. what is the actual model size of a feature dimensioned ?6.04/6.02mm?
i try to apply as few geometry controls as i can, to completly control my sketch. i turn off my automatic horizontal and vertical constraints for example. if i want to move my original sketch with respect to the origin, i only have to change or delete one or two constraints.
jhg
insert>features>move/copy to move the resulting solids
worked like a charm, thanks steve.
thanks all
sp1ke727,
when using that function, an extra feature is created in the feature manager. this isn't necessarily a bad thing, but be aware that it does not move the original sketches.
when making later edits, the original sketches will be offset or even in a different orientation from the model, which can make editing somewhat confusing.
although it is a quick and easy fix, i would not recommend that method with 2d to 3d conversions

corblimey,
i did notice this, so i went ahead and took russell67's advice and went back to the original acad file and centered the drawing on the origin the way i wanted it. when it imported into sw it was lined up where it should be. then i recreated the model. which was a good thing sice i was able to eliminate extra features.
thanks all, you're a great resource!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
 


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】move assembly componen yang686526 SolidWorks二次开发 0 2009-04-12 09:50 PM
【转帖】model 3d space in winforms yang686526 SolidWorks二次开发 0 2009-04-12 09:48 PM
i have written a small code on pc-dmis for the ten dimensions. i run the code in dcc huangyhg PC-DMIS 0 2009-04-06 09:05 PM
How to move the position of SW Part model with GDT indication? yogy SolidWorks二次开发 3 2007-05-20 09:40 AM


所有的时间均为北京时间。 现在的时间是 12:21 PM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多