Group Details Private

Global Moderators

Forum wide moderators

Member List

  • V2 Update 2020 Dec 04

    Please get the latest version of JSCAD V2, as there have been some changes as well as bug fixes.

    New Features:
    modeling: initial typescript declarations (#726)
    web: enhanced to support auto-reloading from livereload (#729)

    Thanks to @ahdinousaur for the Typescript declarations.
    Thanks to @hrgdavor for the livereload functionality

    Bug Fixes:
    svg-deserializer: enhanced to support mirror transforms
    svg-deserializer: corrected order of SVG transforms
    svg-deserializer: fixed translate transforms with one value
    svg-deserializer: added X/Y translate for group and use entities
    svg-deserializer: corrected size of rectangles when instantiating
    regl-renderer: calculate a variable distance to the camera when pannning

    Successfully published:

    • @jscad/cli@2.0.0-alpha.11
    • @jscad/core@2.0.0-alpha.11
    • @jscad/amf-deserializer@2.0.0-alpha.8
    • @jscad/amf-serializer@2.0.0-alpha.9
    • @jscad/dxf-deserializer@2.0.0-alpha.8
    • @jscad/dxf-serializer@2.0.0-alpha.8
    • @jscad/io-utils@2.0.0-alpha.8
    • @jscad/io@2.0.0-alpha.10
    • @jscad/json-deserializer@2.0.0-alpha.8
    • @jscad/json-serializer@2.0.0-alpha.8
    • @jscad/obj-deserializer@2.0.0-alpha.8
    • @jscad/stl-deserializer@2.0.0-alpha.9
    • @jscad/stl-serializer@2.0.0-alpha.8
    • @jscad/svg-deserializer@2.0.0-alpha.8
    • @jscad/svg-serializer@2.0.0-alpha.9
    • @jscad/x3d-serializer@2.0.0-alpha.9
    • @jscad/modeling@2.0.0-alpha.8
    • @jscad/regl-renderer@2.0.0-alpha.10
    • @jscad/vtree@2.0.0-alpha.9
    • @jscad/web@2.0.0-alpha.13

    BIG NOTE: The V2 website is also using this release.

    There's on-line documentation as well for those needing additional information about the modeling API.

    For those using a local copy of JSCAD V2, be sure to run the following commands.

    git pull
    npm run clean (and answer Y)
    npm run bootstrap
    

    Both CLI and WEB UI are usable for creating designs. In the WEB UI, it's best to drag-n-drop project folders to the window, and work with the pieces via a favorite editor. If "Enable auto reload" is checked then changes will be detected, and rendered again.

    For those wanting to get hold of JSCAD V2, it's still in 'early adoption' mode. But you can get started here.

    And a BIG THANKS for everyone that has provided feedback. Keep those comments coming!

    posted in Development Discussions
  • RE: V2 Feedback : about slicing

    @gilboonet i like the script but it's too complex to debug.

    a few more questions... the issue seems to be with the number of polygons, but that doesn't make sense. so, there may be an issue with the points or the faces.

    is the mesh solid? no errors? (I haven't seen a CAD system that produces clean mesh.)

    have you tried to a simple 'union' using the original mesh (from import) and a little cube? i'm wondering if the retessellation would help.

    posted in Development Discussions
  • RE: V2 Feedback : about slicing

    @gilboonet the process sounds interesting.

    Do you know why the example on the left cannot be used? Which 'slice' is causing the issue? the top slice?

    posted in Development Discussions
  • RE: V2 Feedback : about slicing

    Just a quick question... is the 3D model on the left an export to STL? It has a lot of triangles.

    posted in Development Discussions
  • RE: No more display of parameters captions on v1

    @gilboonet strange indeed.

    I can see captions when viewing the V1 examples.

    posted in Development Discussions
  • RE: How to use same script with different targets ?

    @gilboonet said in How to use same script with different targets ?:

    Do you think that for such case, I mean choose a model then a script to apply on it, there could be a mechanism. Locally I already use dynamic require from a text parameter and it works well, but on remote script I didn't manage to make it work. Maybe is there a way to run a script from a remote folder ? or a way to require an url ?

    No matter what you try, a website cannot 'dynamically' load resources (scripts) from other external websites. There are many things that will bite you if you try. Browsers execute in a very tightly controlled work space, and only user interactions (drag and drop, etc) allow access to external resources. Everything else has a fence around it.

    The www.jscad.xyz website allows the use of hash (#) and query (?) parameters to pass a URL, but that must be a URL to a single file. And, as you probably already know, there's a backend piece that downloads the file, and presents it back to the website.

    Sorry. But currently, the only way is to 'pack' all the pieces into a single file.

    posted in Development Discussions
  • RE: How to use same script with different targets ?

    @gilboonet nice work.

    fyi, the jscad.xyz website can also accept links to external formats.

    https://www.jscad.xyz/#https://raw.githubusercontent.com/gilboonet/designs/master/MEUBLES/0001.obj

    posted in Development Discussions
  • RE: little feedback on how jscad v2 helps a "maker"

    @gilboonet said in little feedback on how jscad v2 helps a "maker":

    I would like to put that new v2 script into my website to replace v1 version, but the script uses parameters and exemples using vue don't allow parameters. Is there another way to embed a jscad script into a website ?

    You mentioned 'examples using vue'. Are you talking about the 'vue-components' that I've been putting together?

    I have plans to create a tutorial that uses parameters, but I've been a little busy with other things.

    posted in General Discussions
  • RE: Student projects?

    @Alasdair-McAndrew I don't have any quick suggestions but will add some ideas whenever I come across something.

    There is one trend for JSCAD... collaboration. There are lots of frameworks, websites, applications that can house small applets (I don't have a better term) , and making JSCAD work with some of those would be very cool. I've marked the related issues with a label called collaboration as well.

    posted in Development Discussions