几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】hatch question (http://www.dimcax.com/hust/showthread.php?t=16490)

yang686526 2009-05-05 11:57 AM

【转帖】hatch question
 
hatch question
hatch question
i have a dwg file here with two hatches. the bottom hatch is the predefined grass hatch and the hatch above is a custom hatch i made which is just a copy of the grass predefine found in the autocad pattern file.
notice the differences.
when i import, i get large pattern definition values for the bottom hatch, and the values i expected to get on the top hatch ( the ones in the pattern file, with rotation). even though they both have the same pattern definition, the predefined one returns large definition values. perhaps i am mistaken, but i do not see any obvious values in the oddbhatch entity (patternscale returns 1.0, pixelsize returns 0, etc) to indicate that the predefined hatch is being multiplied by some scale. the dwg tesselation system does output a correct drawing for both hatches, therefore, what am i missing?
these large values do not appear to be proportional so i am not able to draw a correct hatch without dwgdirect's tesselation for this hatch.
thanks
robert lopez
attached files
the definitions of hatch patterns are different. the above hatch is much more dense. the coefficient seems to be inch/mm ration.
probably you used pattern from acad.pat (english) in metric drawing.
acadiso.pat contains metric patterns.
sergey slezkin


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