Topics specific to the scripting and development of Library Parts and Libraries using Param-O or the Geometric Description Language – GDL. (Example: How do you use “REQUEST” GDL commands?)
Use a process of elimination to determine the piece of code that is causing the issue.
Its difficult to spot the issue without deeper exploration; what are "d", "n", "dp", and "Louvre_over". Typically "n" is used for loops, so is this in a loop?
Send though more of the code and an explanation of the values and it should be easier to work out.
Kristian Bursell wrote:Typically "n" is used for loops, so is this in a loop?
Woops. Completely overlooked that fact. Probably the cause of some of my other minor issues...
The issue is the 1 / sinθ and it turns out the issue isn't equation specific as if I swap them around, the one that fulfils that boolean still causes it to brick. If I set it to a static value not equal to 0, it works fine...
Ling.
AC18-23 AUS 4006
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200
Lingwisyer wrote: ↑Thu Jan 14, 2021 8:44 am
The issue is the 1 / sinθ and...
If I set it to a static value not equal to 0, it works fine...
Maybe occurs the situation when sin (x) = 0 and you can't divide by 0 (zero) => 1/0 => error ?
That was a thought, but there is the fact that both equations have include that situation and it only has an issue with one of them... Then there is the fact that it equalling zero is impossible within my object since my script sets it to as close to 1 as possible without causing a geometry clash.
Ling.
AC18-23 AUS 4006
Self-taught, bend it till it breaks.
Win10 | E5620 x 2 | 24GB | K2200