• 1 Votes
    4 Posts
    2k Views
    hrgdavorH
    It is nice to see more users and a new enviroment. @z3dev we should think about adding a section on jscad website with links to projects like this so other users that are interested in this way of interacting with jscad can find it. @TerryGeng there are few of jscad fans also on discord, you may share your plugin there too. https://discord.gg/AaqGskur93
  • Hiring a JScad freelancer

    General Discussions
    6
    0 Votes
    6 Posts
    3k Views
    LoosetoothL
    @Nathan-Apter I'm interested in doing some freelance work. I'm pretty new to the project though, but planning to build up my three.js and webgl skills anyway, so might be a good match. I'm going to send you a message.
  • REST API or automatic loading from script

    General Discussions
    5
    0 Votes
    5 Posts
    2k Views
    z3devZ
    @cncandi It looks like you made a copy of the JSCAD website. That's really customize to support drag-n-drop, loading projects, URL options, etc. It's probably not what you really want. Take a look at the websites and frameworks mentioned here. https://openjscad.xyz/dokuwiki/doku.php?id=en:user_guide_help Let us know if you have any more questions.
  • JScad project showcase

    General Discussions
    7
    1
    2 Votes
    7 Posts
    3k Views
    z3devZ
    @Ion-0 it was great to meet up. I'm totally impressed with the amount of effort and engineering that went into the web application. Really cool stuff! Let us know how JSCD needs to improve to assist others.
  • Load jscad directory into web jscad

    General Discussions
    7
    0 Votes
    7 Posts
    2k Views
    Steve HoweS
    Yes, this becomes quite limiting if one has to have users download, unzip, and drag & drop. Kind of defeats the purpose of projects. Also you'd have to deal with updates. Very cumbersome for non-tech users. It would be nice if you could include directories or even zip files in the URL.
  • 0 Votes
    9 Posts
    3k Views
    Antoine GuillaumeA
    @hrgdavor for the moment i have create only one field and i serialize all datas of form and i check the values in the openjscad script
  • Java API

    General Discussions
    2
    0 Votes
    2 Posts
    843 Views
    z3devZ
    @jin-kim Welcome! I don't know of anyone porting the JSCAD modeling library to Java, but it should be possible. A few years back, someone ported V1 to C++ but I don't have the link. And very recently, someone has ported the JSCAD modeling library to C# , and there will be an announcement shortly.
  • 2D union/subtract/intersect to create mesh

    General Discussions
    3
    0 Votes
    3 Posts
    1k Views
    jihyelee-codeJ
    @gilboonet Well, actually I figured out! I was using earcut.js to create indice, and with little bit of touch with the result of CAG union/subtract/intersect it worked well. Thanks for the reply.
  • an ios app that embeds jscad

    General Discussions
    9
    2
    3 Votes
    9 Posts
    3k Views
    samuelwang48S
    @z3dev hi, yes, it can be found in Apple App Store if you search for "Rukkou". Or use this link directly on a Mac OS. Do let me know your feedbacks
  • debug jscode cli with vscode

    General Discussions
    5
    0 Votes
    5 Posts
    1k Views
    z3devZ
    @mark-hahn super thanks! There’s still a little wizardry going on here. But I’ll try this with VSCODE, and then ask a few more questions.
  • 1 Votes
    3 Posts
    1k Views
    B
    @z3dev thanks. I think it makes most sense to use the tool to model objects that require parametric flexibility. I'd love to see basic configurable things modelled that people can adapt to their needs and export to STL for 3D printing using JSCAD or STEP when using OCCT. It's definitely not meant to be used as a Sculpting tool or a "hand drawing replacement" CAD. I'm trying to keep general purpose nature to the tool as much as possible. Normalising various libraries to a common system. For example it helps sometimes to just have Verb NURBS curve or a surface as a backbone to place JSCAD meshes onto. Normalisation is still a bit of a challenge and my main goal, you still see way too many Draw components for different kinds of geometries. Just yesterday I coded a draw anything component that will replace all those (still need to release that) If you browse the examples you'll see that it's also possible to tie in some time based rules into the algorithms. In the future I'm hoping that it will become easier to code some robotic behaviours as I'm using BabylonJS to draw all the shapes and after CAD operations are applied BabylonJS can take over to do things like create GPU instances of meshes, animations, collision detection or apply realistic PBR materials and shadows. I am also in the process of tying OCCT WASM kernel into the tool, which has a lot of potential to allow for bigger CAD models to be created. There I'm still experimenting with performance and what is possible, current OCCT API is a bit limited, but I'm working on extension My poor laptop really needs an update to push those limits.
  • About @jscad/core

    General Discussions
    5
    0 Votes
    5 Posts
    1k Views
    Sea-DH1S
    @z3dev I see that it has the function of dragging and dropping stl loading
  • How to load the stl file of three.js

    General Discussions
    2
    0 Votes
    2 Posts
    879 Views
    z3devZ
    @sea-dh1 welcome to the user group! The modeling library creates 3D shapes into geom3 data structures. Of course, three.JS has a different data structure for ‘mesh’. So, all you have to do is… convert geom3 data to 3js data. No. JSCAD doesn’t support this. Good luck!
  • 2 Votes
    6 Posts
    2k Views
    platypiiP
    Wow very cool! Hard to imagine how that would even be possible with traditional CAD software
  • threejs integration

    General Discussions
    11
    2
    0 Votes
    11 Posts
    5k Views
    hrgdavorH
    @platypii @danmarshall I think both of will be able use your preferred engine, and get specific benefits depending on a task at hand. Actually I am planning to split the necessary code so that it becomes rather easy to use any of the 3 engines I found to be interesting (regl, threejs, babylon) regl it is the current engine and is compact CON: lack proper WEBGL2 support and there are NO plans for supporting it in the future example for extremely compact page that has jscad script and render and all under 99kb is great example why regl is still very useful by @platypii https://paradr.one/ threejs and babylon larger but can be cut down for basic rendering (I managed to get 400k version of threejs that works with jscad) support wegl2 instancing can bring performance regl just will not ever be able with webgl1 are working actively on great next thing: WebGPU WebGPU might be the future for jscad if we can come up with ways to utilize compute shaders for performance having also these big engines as an option is good for when we want build fancy stuff and ake advantage of huge knowhow of their communities you have likely already seen my instancing demo: http://3d.hrg.hr/jscad/three/threejscad2.html?uri=model.logos.js in threejs you can track progress of my new prototype that is supposed to provide the mentioned integrations of all 3 engines I found interesting. https://github.com/jscad/OpenJSCAD.org/discussions/944 ... I will post a topic as soon I have any rendering integrated .. it is still in testing of some ui concepts phase
  • 2d line length (or perimeter)

    General Discussions
    7
    0 Votes
    7 Posts
    2k Views
    z3devZ
    You seem to be stuck in the old documentation. Please see the new website at www.openjscad.xyz, and from the help there are links to the User Guide and the API documentation.
  • help: Import DXF and calculate bounding box

    General Discussions
    4
    0 Votes
    4 Posts
    2k Views
    z3devZ
    Sorry… that documentation is not complete. We will have to make some updates. There’s slightly better documentation here. Basically, your design needs to call measureBoudingBox(shape), which returns an array of points, lower and upper bounds.
  • proxyUrl setting

    General Discussions
    14
    0 Votes
    14 Posts
    4k Views
    H
    @z3dev I am using a rental server of general settings, nothing special, I think. I did no configuration of the web server. I did not changed anything on setting when installing the web site. Thanks to all of you related, I have uploaded the page. https://www.fablab-shinagawa.org/archive/index.html when you click "パラメトリック" - which means "parametric"- tab, you would see the list of our parametric designs, and again when you click a design, you would link to the page includes openjscad model.
  • Exporting format for CNCs

    General Discussions
    6
    0 Votes
    6 Posts
    2k Views
    Ion 0I
    Researching cnc workings better, seems like the conversion process is more involved and that DXF is a suitable format for generating CNC g-code from. DXF export from jscad is very reliable so far. thanks all for the replies
  • ScriptCAD.org

    General Discussions
    5
    0 Votes
    5 Posts
    1k Views
    hrgdavorH
    @jess-yan threejs has this ready-made somewhere(taking mouse point and returning meshes under it), I will most definitely post it on the forum here when I have this feature. This MAY require a shift away from how jscad works now, but hopefuly can be done with current jscad setup. The idea I have for now is to run a AST transform to inject line number information into the script and then run the modified script. This is something I am able to do, but I have other stuff in the pipeline before this