Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
457 Vistas, 2 Respuestas

hatch pattern unwanted outcome

Hello All,

thanks for the fast response on the previous post, now that everything works i need to understand what i am doing wrong, i cannot come up with a solution on a hatch i want to make.

The script is:

 

*METALMESH, TEST
22.5, 0,0, 0,0.63, 0.65,-0.169
157.5, 0,0, 0,0.63, 0.65,-0.169
-22.5, 0,0.49749, 0,0.63, 0.65,-0.169
-157.5, 0,0.49749, 0,0.63, 0.65,-0.169

 

and the outcome i am looking for is not as planned. please see pictures below.

Etiquetas (4)
hugha
en respuesta a: Anonymous

Try this:

 

;-------------------------------------------------------------------------------
; Written by HatchKit Professional
; HatchKit Professional (c)1990-2019 Cadro Pty Ltd
; www.hatchkit.com.au/
;-------------------------------------------------------------------------------
;-Date : 2019-12-11
;-Time : 10:29:05
;-HatchKit Version : 3.1.11.2740
;-HatchKit Output Filetype : AutoCAD format
;-------------------------------------------------------------------------------
*Metalmesh,DXF Entity Section
-22.62,2.112,0.815,0.57668642,0.581538008,0.65,-0.168995532
22.62,1.512,0.565,0.242309112,0.581538008,0.65,-0.168995533
-22.62,1.512,0.565,0.57668642,0.581538008,0.65,-0.1689955329
-157.38,2.712,0.565,0.242309112,0.581538008,0.65,-0.1689955323

 

 

 

 

hth,

 

Hugh Adamson

Anonymous
en respuesta a: hugha

I noticed my mistake, when typing in the offset in reference to the previous starting point I wasn't taking in account the angle of the line (22.5°) which rotates my local UCS by 22.5° and so my offset point was in the wrong location.