JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Alasdair McAndrew
    3. Best
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 18
    • Best 2
    • Controversial 0
    • Groups 0

    Best posts made by Alasdair McAndrew

    • Cylinder between points?

      At the risk of being a pain in the neck (or choose other part of the body) with all my current enquiries, I have another one. In V1, and in CSG, we had the (for me) very useful functionality of being able to construct a cylinder between two given points. This does not seem to exist in V2. Now I know that a cylinder between two points can be constructed first by determining a height as the Euclidean distance between the points, and width, and then using appropriate rotations and a translation to move it into its place. But this is a non-trivial task (how would you construct a cylinder between (-2,3,5) and (-4,-1,7) for example?) which would be rendered much easier by being able to construct a cylinder between two points. Will this be added, or is this one of those libraries to be added by users to make up any loss of functionality from V1 and CSG? (We expect REMOVED functionality to be supported via small user libraries.) If so, I'd better get to work!

      Thanks,
      Alasdair

      posted in General Discussions cylinder v2 primitives
      Alasdair McAndrew
      Alasdair McAndrew
    • Debugging: values of variables?

      If I want to do a little development work - which in my case is simply creating a few small functions - some debugging facility is necessary. I know that (at least in Firefox) I can write to the Web Console with the JavaScript function console.log - but are there are other debugging facilities? This might seem like a dumb question, but I've only ever used JavaScript in the context of (Open)JSCAD, so I know nothing about generic JavaScript debugging. How do you step through a script or program, checking values of variables on the way? Add breakpoints?

      As always, many thanks!
      Alasdair

      posted in Development Discussions
      Alasdair McAndrew
      Alasdair McAndrew