[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Goptical] Line along optical axis
From: |
Richard Graham |
Subject: |
Re: [Goptical] Line along optical axis |
Date: |
Tue, 04 Dec 2012 21:47:02 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hi Alexandre,
While it would probably be a good idea to add the ability to
disable/customise the optical axis line, my main issue is that it is
being drawn incorrectly in the first place.
It seems that the bounding box for lenses with a custom (rotational)
curve are calculated incorrectly in the z direction. For example in my
case the z limits for the bounding box for the left lens come out as
-236.365 and 39.919 but I think they should be 6.35 and 39.919+6.35
respectively.
Looking at the code it seems like this must arise when the bounding box
coordinates are transformed but I loose track of it then.
Any ideas?
Regards,
--
Richard Graham
On 12/03/2012 06:41 AM, Alexandre Becoulet wrote:
> On Saturday, December 01, 2012 10:21:51 PM Richard Graham wrote:
>
> Hi,
>
>> I was wondering if someone could tell me what controls the grey line
>> which is rendered along the optical axis when rendering the layout of a
>> system. I can't seem to find any methods to control this. In my case it
>> is somehow rendered backwards which is annoying. I have attached an
>> example figure.
>
> It can not be disabled without patching goptical.
> You can comment the drawing code in
> the Container::draw_2d function in sys_container.cc.
>