JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    some more progress with prototype.

    Development Discussions
    1
    1
    273
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hrgdavor
      hrgdavor last edited by

      Loading of folder projects works, it can handle ESM modules, cjs scripts (require) and even typescript projects. Also worker improvements that allow script developers to optimize execution when parameters change and cache expensive operations.

      current jscad

      https://user-images.githubusercontent.com/2480762/213881095-dcd72bce-881a-463d-a105-c9ad9c0b44bb.mp4

      my new prototype is still ugly, but things are progressing bit by bit

      It was my mission from the first attempt at making a new jscad prototype to allow script developers to optimize for performance and bling.

      in this example I took a complex model and added caching so that model is kept in case only View Options parameters change. Those only affect rotation of the parts.

      also I enhanced parameter definition to allow for live updates for any of the parameter (it is not default, but opt-in)

      https://user-images.githubusercontent.com/2480762/213881066-e947e0ae-1b80-4a06-8234-fa9b1c974a19.mp4

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Powered by NodeBB | Contributors