Group Details Private

Global Moderators

Forum wide moderators

 

Member List

  • V2 Rotate Extrude

    We are still working on V2 changes, and making some excellent progress now. So, I thought another teaser would be appropriate.

    The extrusion functionality has been expanded slightly, allowing almost any shape to be extruded (within limits). This also means that shapes with holes can be extruded as well. Here's a quick example of the new extrudeRotate() function.

    0_1569894626322_v2_rotate_extrude.png

    posted in Development Discussions
  • V2 Deserializers (Import)

    There are some functional changes coming in the V2 deserializers, i.e. importing AMF, DXF, OBJ, STL, and SVG files.

    The first major changes is that both translation and instantiation is possible. Like before, translation of found geometries to JSCAD scripts is possible. In addition, found geometries can instantiated directly in object form.

    The second major change is that ALL found geometries are returned. No more unions. So, you can directly work with any one of geometries.

    The third major change is...

    0_1567658359982_dxf.png

    ... geometries can have color. This conversion was from a large DXF with lots of 2D lines.

    posted in Development Discussions
  • RE: Design with random values

    Maybe you could build a table of randon values while in 3D mode, then save those for use by the 2D mode.

    posted in Comments & Feedback
  • V2 Offset

    There's some new functionality coming with V2, which is pretty exciting. So, I thought a little preview would be nice.

    This is the new offset() function, which can calculate the offset of a path or a 2D geometry.

    Here's a photo of a line (black) being offset both positive (green) and negative (red), with rounded corners.

    0_1565853648828_offset_path_4.png

    And here's a simular image of a 2D geometry, but note that this geometry has a hole. So, offsets are applied to both inside and outside edges. In this case, the corners are only connected at the intersection of the edges.

    0_1565853755948_offset_geom2_5.png

    Hope you like this one!

    posted in Development Discussions
  • JSCAD V2 Update

    It’s been a while since we have posted any update on V2, so here’s a few notes on what’s going on.

    First, the reorganization of the CSG library is almost done, but like always the last 5% takes the most time. Once again, the major goals are:

    • Move to functional API, i.e. no more monolithic objects
    • Standardized function names, parameters, error checks, etc.
    • Lots of small modules to allow more reuse
    • Math and Geometry data structures based on arrays
    • Tests for everything

    There have been some name changes to functions, but the new names are clear. Parameter names haven’t changed much, but one major change is the usage of RADIANS for all angles and rotations. There are several bug fixes and improvements as well. Tests… yeah… lots… 394 test suites with over 90% coverage.. and this will continue to improve.

    Second, all JSCAD libraries are being brought together into one repository; OpenJSCAD.org. This allows the libraries to be managed together, and produce releases faster. And hopefully, contributions from anyone at any level will be easier. This includes the CSG library, IO library, and new viewer.

    Third, you can start following along. There are still a few major changes coming, but you can already get a good feel for things by cloning the OpenJSCAD.org repository, and looking at the V2 branch.

    Feel free to ask any questions about V2.

    posted in Development Discussions
  • RE: Slicing again... simplifying code

    The simple solutions are always the best. Taking a super thin slice is a great idea, and maybe even the best.

    The core library will be for core functions, as we expect others (like you) to contribute some really nice high level functionality, such as slicing. If we get the core library rock solid then anything is possible.

    Projections on to arbitrary planes is on the wish list, but not there yet.

    Thanks for the awesome posts!

    posted in Comments & Feedback
  • Maker Faire Tokyo 2019

    We had a great time showing JSCAD at Maker Faire, showing both V1 and V2 (alpha alpha) to folks, as well as entertaining kids with a small toy designed with JSCAD. As usual, the faire was packed both Saturday and Sunday.

    3_1565402041636_IMG_1700.JPG 2_1565402041636_IMG_1699.JPG 1_1565402041636_IMG_1716.JPG 0_1565402041636_IMG_1719.JPG

    posted in General Discussions
  • RE: OpenJSCAD on the Microsoft Store

    @william-adams might be interested in BlocksCAD

    https://www.blockscad3d.com/editor/

    This can also be found on GitHub, but has not been updated for a few years. 😞

    https://github.com/EinsteinsWorkshop/BlocksCAD

    posted in General Discussions
  • RE: slicing with OpenJSCAD

    Very interesting indeed.

    What are you going to do with all of those slices?

    posted in Comments & Feedback
  • RE: Having trouble with variables in the Block design option

    It seems to me that the ‘Code’ tab in the upper right exposes the code in BlocksCAD. I was able to select and copy the code.

    posted in Comments & Feedback