几何尺寸与公差论坛

 找回密码
 注册
查看: 1009|回复: 0

【转帖】problem importing dxf file in sw2008 sp 4.0 - but no problem

[复制链接]
发表于 2009-4-13 13:34:45 | 显示全部楼层 |阅读模式
problem importing dxf file in sw2008 sp 4.0 - but no problem
i am importing the same dxf file in sw2007 and 2008sp 4.0
in 2007, the dxf file comes in with a series of circular arcs forming a fully closed ring that can be extruded.
in 2008, instead of coming in as a series of circular arcs, i get multiple blocks to fully form the ring, but when i go to extrude it, it tells me that there is an open loop somewhere.
when i check the 1st block i find that the symetry is correct to 8 displayed decimal places so that the 2nd block should be able to link perfectly on top of the 1st one and so on.
i have 2 questions:
1)  is there a way to prevent the dxf file from automaticaly coming in as blocks in sw 2008
2)  how do i correct for closing the loop when blocks are used and each block looks ok from a symetry point of view?

i have further discovered that when i remove all but one of the blocks and then connect the end points, i still cannot extude it without an error saying that there is either more than 1 closed loop or an open loop.  when i checked the endpoints, everything is properly connected.
any ideas on how to close the profile without redrawing by hand?
can you post the dxf file for testing?

how are you getting the dxf into sw?  rather than open it in sw, i typically open the dxf (in dwgeditor) and copy it and then start a new sketch and paste it in there.   
attaached is the posted dxf file.
this file opens and then extrudes in sw 2007 just fine.  it wont extrude in 2008.
file open  
select a dxf file
select as a new part
click finish
then click on extude
in 2007 it extrudes - in 2008 it does not
the sketch is full of open contours. they need to be fixed before you can extrude.
chris
solidworks/pdmworks 08 3.1
autocad 08
don't try to directly import a dxf with blocks.
open the file with dwgeditor first and explode all the blocks.  otherwise, sw can't merge points.  in order for two lines to be joined in sw, they have to share the same point.  not be at the same point, but the same point entity must be the endpoint of both lines.  if points are "contained" inside blocks then they can't be merged.   
-handleman, cswp (the new, easy test)
open the dxf into sw.
edit the sketch and delete all but one of the blocks.
explode that block.
close the sketch.
start new sketch and create a circle using the origin and the two free end points of the tooth profile, and extrude to create the body of the gear.
create new sketch and convert the tooth profile entities, and extrude to create a solid tooth.
pattern that tooth.
a much simpler alternative is to download a solid gear from boston gears or similar.

corblimeylimey
these dxf files are accurate enough to make master gears out of which is not the case with anything from boston gear or from gear trax.
if these are open contours, then how did sw2007 and previous version close them?
you will have to do what cbl suggests.
i opened it in autocad 2008, exploded the blocks, there were still open contours...even in acad.
was it the same file used in sw 07? were there changes with the file in acad lately?
if it is the same file, then maybe sw 08 has been updated to be more sensitive than 07 and catches the error easier.
chris
solidworks/pdmworks 08 3.1
autocad 08
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 04:55 , Processed in 0.035656 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表