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

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】problem hatch (http://www.dimcax.com/hust/showthread.php?t=18026)

yang686526 2009-05-06 10:44 PM

【转帖】problem hatch
 
problem hatch
problem hatch
hi
the attached file contains a single hatch. i having trouble because dwgdirect is telling me that the hatch contains 4 loops.
however, each loop contains an unclosed curve of klineseg2d segments. i would have expected each of these curves to be an element in a single loop.
the hatch appears to be contiguous when drawn in odamfcapp.
can anyone comment on whether this is a valid and correct file?
thanks
peter.
attached files
non-solid hatch with non-closed loops can be created even in autocad. but such hatch can't be converted to solid one.
sergey slezkin
hi sergey,
thanks for the response. i am a bit confused though. the hatch in the file is drawn as a solid in odamfcapp. are you saying that this hatch isn't actually solid?
thanks
peter.
the hatch is not solid. it may look as solid at some zoom level if it gets too dense.
sergey slezkin
hi sergey,
i'm sorry i used the term 'solid' without realising that it had a technical meaning different from what i meant.
what i'm seeing in my example file is a hatch drawn with a lattice fill, within what appears to be a closed loop.
is this valid when the data shows that the curves are unclosed on separate loops?
thanks
peter.
attached is file created in autocad.
the hatches are created by selecting a number of lines which do not form closed loops.
such hatches can't be transformed to solid (solid fill) ones.
but autocad's hatching algorithm does not require closed loops. it simply uses the intersection points of hatch lines with boundary segments to make decision if a hatch line should be drawn or not.
attached files (21.6 kb, 1 views)

sergey slezkin
this was a response that i have deleted as it is no longer needed.
last edited by peter.aberline@cadcorp.com; 26th march 2008 at 08:38 amfff">.


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