JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. udif
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    udif

    @udif

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    udif Unfollow Follow

    Latest posts made by udif

    • Dynamically updating the parameter array returned by getParameterDefinitions() ?

      Is there a way to dynamically update the parameter window, so I could write a simple GUI that dynamically adds or removes parameters?

      posted in General Discussions
      udif
      udif
    • Empty object

      What is the canonical way to create an empty OpenJSCAD object?
      I have some code where I need to union() several objects, but each of them is optional.
      I would like to write something like:

      o = empty_object()
      if (cond1) {
        o = union(o, ...)
      }
      if (cond2) {
        o = union(o, ...)
      }
      if (cond3) {
        o = union(o, ...)
      }
      

      I can probably do something like:

      o = intersect(cube(), translate([0, 0, 100], cube()))
      

      But I would rather have something more descriptive.

      posted in Design Discussions
      udif
      udif