Rotating fill hatch patterns in 2D

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-02-04 03:38 AM
2009-02-04
03:38 AM
I have an object with a fill (POLY2_) in 2D for which I can change the hatch pattern to whatever I want.
When I rotate the object the hatch pattern remains the same - i.e still related to the drawing origin and doesn't rotate with the object.
The polygon fill rotates but not the hatch.
Is there a way to rotate the hatch pattern as well without actually having to DEFINE the fill?
I don't want to define the fills as I want to be able to use any fill that I have set up in Archicad.
I am hoping it is me missing something very obvious.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
3 REPLIES 3
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-02-04 04:21 AM
2009-02-04
04:21 AM
Hello Barry,
To have the hatch pattern rotate with the object or
be able to control the rotation of the hatch pattern
you have to use the POLY2_B{2} command that
has a fill rotation angle parameter. I hope
I am understanding what you want to do.
Peter Devlin
To have the hatch pattern rotate with the object or
be able to control the rotation of the hatch pattern
you have to use the POLY2_B{2} command that
has a fill rotation angle parameter. I hope
I am understanding what you want to do.
Peter Devlin

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-02-04 05:32 AM
2009-02-04
05:32 AM
Peter wrote:Thanks Peter,
Hello Barry,
To have the hatch pattern rotate with the object or
be able to control the rotation of the hatch pattern
you have to use the POLY2_B{2} command that
has a fill rotation angle parameter. I hope
I am understanding what you want to do.
Peter Devlin
That would be it.

This object was originally scripted in version 8.1 so I was keeping it in that format.
I made the mistake of looking at an old printed GDL manual which is actually for the version before and doesn't have the POLY_B{2} command.
Time for me to throw that book out and start using the online help.
I still prefer the printed GDL manual though - I wish GS would still publish it with the new versions.
Thanks again,
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-02-04 07:45 AM
2009-02-04
07:45 AM
Barry wrote:While there's nothing like reading from a well-thumbed book, PDFs are far, far easier to search - and when referring to the manual, I'm almost always looking for something specific.
Time for me to throw that book out and start using the online help. I still prefer the printed GDL manual though...
By using online manuals, we're collectively saving a substantial number of trees from the axe.

= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC INT | Win11 | Ryzen 5700 | 32 GB | RTX 3050 |