Group Details Private

Global Moderators

Forum wide moderators

Member List

  • RE: Has anyone had success using openjscad in react?

    @noce2 you will have to piece together the components but it should be possible to implement something in Angular. i'm sure you'll find some help in this user group.

    FYI, the V2 WEB UI uses 'most' which is a reactive framework based on the concept of 'streams'. So, Angular based components should be possible.

    So, what kind of functionality are you looking to implement? This is always the BIG question, as everyone has a different idea. I suggest starting out with small goals, and then add features once the new components start to mature.

    Please let us know where you will be working on the components. I'd like to follow along as I'm going to continue developing VUE components as well.

    posted in General Discussions
  • RE: Google+ is dead!!!

    @juanccilleruelo thanks for pointing that issue. the link has been changed.

    posted in General Discussions
  • RE: V2 Update : 2020 SEP 18

    I forgot to mention that the renderer now includes a packaged library. See 'packages/utils/regl-renderer/dist/reglRenderer.js'

    This library can be used standalone in websites to render JSCAD geometries. This is for developers that want to implement other javascript components, like React.js based components, etc.

    posted in Development Discussions
  • RE: A newbie's self introduction

    @Cid-Zhang Thanks! And, welcome!

    Your models look very cool. I'm sure that others will enjoy creating various hinged shapes as well.

    Please let us know if you need some assistance with JSCAD. There are lots of very experienced users in the group.

    posted in General Discussions
  • V2 Update : 2020 SEP 18

    Please get the latest version of JSCAD V2, as there have been some major bug fixes, and new functional enhancements.

    WEB UI now has touch gestures for mobile devices, across all browsers (except Explorer which is not ES6 compliant.)

    There's a new align function which can align a set of objects using various X, Y, and Z orientations, as well as centers. Thanks to @SimonClark for the contribution!

    New Features:

    modeling: add transforms.align() and measurements.measureAggregateBoundingBox() functions
    dxf-serializer: (export) added support for colors
    svg-deserializer: (import) added support for segments option

    Bug Fixes:

    web: fix json import
    web: support sparse arrays from main() (fixes from @MathieuLoutre)
    web: V2 enable multi-gesture touch events for mobile devices

    For those already using 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: Website "load a file" functionality?

    @sheffieldnick this would be a nice addition, but V2 is the main focus now. we would welcome changes to make this part of V2. 🙂

    posted in General Discussions
  • RE: About polygons winding

    @gilboonet thanks for investigating further.

    There may be some issues with the OBJ deserializer. Can you attach the OBJ files?
    I'd like to make sure this functionality is working well at least.

    posted in Development Discussions
  • RE: About polygons winding

    @gilboonet there's a slight difference in the polyhedron() function of V1 versus V2.

    in V1, the global polyhedron() function expects polygons which have the normals facing 'inward', which is the OpenSCAD convention.

    in V2, the polyhedron() function can accept either 'outward' or 'inward' facing polygons. By default the polygons are expected to face 'outward'.

    const shape = polyhedron({orientation: 'outward', points: vertices, ...})

    Is this the issue?

    posted in Development Discussions
  • RE: About polygons winding

    @gilboonet interesting.

    are the set of points and triangles always the same? V1 version versus V2 version?

    posted in Development Discussions
  • RE: Website "load a file" functionality?

    @sheffieldnick sorry, but only full URLs are supported.

    there's a backend process involved, that down loads the URL contents, and posts the contents to the WEB UI.

    i think that you are trying to create a custom website using a JSCAD design in the back ground. if so you can look at some of the previous threads posted here, so on the issue list.

    posted in General Discussions