GDL 101 windows question - setting the origin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-31
05:50 AM
- last edited on
2023-05-24
12:35 PM
by
Rubia Torres
I missed something in class.
I think what I'm asking is : how do you set your origin in 2d and 3d so it's not in the middle of your window?
In 3d, to get my window co-ordinated with the A B ZZYZX co-ordinates I'm having to move the object Addx -A/2 (similar in 2d)
This means when I stretch it in 2d or 3d it expands from the centerpoint. Not very user friendly when I just want to stretch it to the right length from the origin.
I've been searching the forum for a bit but no joy on this yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-31 06:33 AM
AC14 4204, windows 7 (64bit)
Quad CPU @.6GHz, 4GB ram

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-31 08:16 AM
Maybe its your geometry method. Is it set to the centre, left or right ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-31 09:02 AM
Still same behavior- expands/contracts from the centre (equally from both ends)
Is there a pre-set for this in GDL?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-31 10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-31 10:38 AM
yes.
the value of A comes from a summation of the array of window widths.
As opposed the other way around.
this could be it.
Might have to figure out a way shunt it across by 1/2 delta A!
Thanks - I'll look into the known bugs section of the wiki.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-05-31 11:56 AM
If you open up the settings of your window, it will anchor correctly. Just not from the info box..

Its a very annoying bug...... But sadly I don't think its getting much attention.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-01 04:03 AM
Pretty conclusive.
Wish I could find a way of referencing the previous state as I'm editing. That way I could compensate for the offset.
Thanks Ben. You saved me a few hours of fruitless bug finding!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-01 05:13 AM
When you open you window script and look at the "2D full view" of it, is the origin in the centre or to one side?
Barry.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-06-01 09:26 AM
In 2D Full View the window origin is in the middle of the traced opening.
So it appears drawn from the middle of the opening and overlaps the traced wall by half its length to the right.
A