Search:

Type: Posts; User: Gorbag

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Parse bug?

    by Gorbag
    Replies
    12
    Views
    4,784

    Strictly script code like this in a stand-alone...

    Strictly script code like this in a stand-alone function would work:


    parse_csv: str, sep
    {
    values = nil;
    val = "";
    for(i = 1;i <= str.size();++i)
    {
    if(str[i] == sep)
  2. Replies
    26
    Views
    20,584

    Sticky: Try http://76.120.19.20:21134

    Try http://76.120.19.20:21134
  3. Replies
    8
    Views
    2,180

    Yes, that entry has been added in 11.6. It...

    Yes, that entry has been added in 11.6.

    It didn't occur to me until I looked into this that the header that defines the ItemShape structure was private. That makes it rather hard to keep up with...
  4. Replies
    8
    Views
    2,180

    Your ItemShapeData3 structure is missing a string...

    Your ItemShapeData3 structure is missing a string entry. The ItemShape header in 11.6 defines:


    ...
    LWDVector linkPos;
    char label_locale[IS_LABEL_LENGTH];...
  5. Replies
    8
    Views
    2,180

    I'm having a look right now. When you are...

    I'm having a look right now. When you are dealing with lower-level elements (like data sizes and structure layouts), you can easily cause problems when things aren't aligned properly. I don't know...
  6. There should be a build number displayed in the...

    There should be a build number displayed in the title bar, or in the About box. What is it?
  7. The error appears to be occurring in the...

    The error appears to be occurring in the LightWave Python interface module, and this doesn't happen for me using the most current build of 11.6. However, in the interest of completeness, I even...
  8. Replies
    26
    Views
    20,584

    Sticky: Sorry. The machine it was running on is now...

    Sorry. The machine it was running on is now dedicated with a VPN, so it's not accessible there.

    I've migrated it to the LightWave3D Group's server infrastructure, so it should be available 24/7...
  9. Thread: Create a square

    by Gorbag
    Replies
    11
    Views
    4,181

    Yeah, I'm sure there will be lots of these little...

    Yeah, I'm sure there will be lots of these little items that will need to be addressed. Integrating Python was not a simple undertaking, and it'll be on-going for a while yet.

    Sorry for the...
  10. Replies
    26
    Views
    20,584

    Sticky: Should be accessible again. The server was...

    Should be accessible again. The server was running, but for some reason, it was not responding. I've restarted it. Sorry for the inconvenience.
  11. Replies
    10
    Views
    3,599

    Poll: The Python-specific language elements would...

    The Python-specific language elements would probably be fairly easy. The main difference will likely be in the underlying SDK that the scripts use. This will probably manifest in two ways: First,...
  12. Replies
    10
    Views
    3,599

    Poll: Python 2.x or 3.x?

    Just an informal gathering of opinions. Nothing binding here.
  13. Replies
    6
    Views
    3,470

    I've been on the project for more than 15 years...

    I've been on the project for more than 15 years now. :hey:



    Yes, it works in LightWave from this point forward.
  14. Replies
    6
    Views
    3,470

    I have it fixed now. Here's the output of...

    I have it fixed now. Here's the output of running your script (with some minor mods by me) on a cube in Layout:

    http://www.lucidgears.com/images/iterator_001.png

    The "implicit" conversion of...
  15. Replies
    6
    Views
    3,470

    I see the problem. Some elements of the SDK...

    I see the problem.

    Some elements of the SDK (well, in fact, a majority of elements of the SDK) cannot be wrapped simply as they are. They need some kind of "massaging" to make them directly...
  16. Replies
    6
    Views
    3,640

    Nice work, Clinton. :thumbsup:

    Nice work, Clinton. :thumbsup:
  17. Replies
    2
    Views
    6,708

    It does exist in the distribution. Here's an...

    It does exist in the distribution. Here's an example of its usage:

    http://www.lucidgears.com/images/minidom.png

    However, it requires a shared library module ("pyexpat.pyd") in order to...
  18. Replies
    2
    Views
    2,398

    That depends upon what "area" you wish it use. ...

    That depends upon what "area" you wish it use. I'm pretty sure it will place the File Dialog in the last location where you successfully opened a Python plug-in. So the "area" will vary, of your...
  19. Replies
    2
    Views
    2,554

    Just an FYI: You should probably use the "code"...

    Just an FYI: You should probably use the "code" formatting when posting Python scripts, especially considering that Python is sensitive to indenting. Using "quote" drops the formatting, and your...
  20. Thread: Create a square

    by Gorbag
    Replies
    11
    Views
    4,181

    No, it's because the function takes a double...

    No, it's because the function takes a double pointer (from lwsurf.h in the LWSDK):


    int (*setFlt)(LWSurfaceID,const char *, double *);

    And internally, that is not being processed by the...
  21. Thread: Create a square

    by Gorbag
    Replies
    11
    Views
    4,181

    Um, what in particular is "witty" about my face? ...

    Um, what in particular is "witty" about my face? A lot of people use their faces as their avatars. You yourself are using your face. Sure, I'm a lot older than I used to be, but I don't think...
  22. Thread: Create a square

    by Gorbag
    Replies
    11
    Views
    4,181

    Ideally, you'd just be able to append code like...

    Ideally, you'd just be able to append code like this to your script to set a color for the surface:


    # apply a color to 'MySurface'
    surface_funcs = lwsdk.LWSurfaceFuncs()
    ...
  23. Replies
    22
    Views
    13,764

    Well, certainly "fuller" access to the SDK. To...

    Well, certainly "fuller" access to the SDK. To be sure, there are still elements and plug-in classes that I've not yet implemented.
  24. Replies
    26
    Views
    20,584

    Sticky: No, I would have no issue with posting just a...

    No, I would have no issue with posting just a link to it on other sites.

    The reason I've set this up the way I have is so I can have a single location for fixes. I do not want the code scattered...
  25. Replies
    26
    Views
    20,584

    Sticky: Define what you mean by "posting this." Do you...

    Define what you mean by "posting this." Do you mean posting a link to it on other sites?
Results 1 to 25 of 39
Page 1 of 2 1 2