JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • All categories
    • Hermann-SWH

      Problem with "subtract()"ing "hull()", is this a bug?

      Watching Ignoring Scheduled Pinned Locked Moved Design Discussions
      4
      0 Votes
      4 Posts
      2k Views
      Hermann-SWH
      Forgot to post the "answer" link for viewing in browser: https://openjscad.xyz/?uri=https://stamm-wilbrandt.de/en/forum/A.JSCAD.vertex_edge2.sp_tria.js
    • Hermann-SWH

      openscad.xyz support for "data:" URI scheme would be cool

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      4
      0 Votes
      4 Posts
      2k Views
      z3devZ
      @Hermann-SW Good questions... The website has a little Perl script that does the download of the requested file, and checks the content. This does two things; only know file types are allowed, and this goes around CORS. https://github.com/jscad/OpenJSCAD.org/blob/master/packages/web/remote.pl I guess that supporting data URL would be possible, but there would have to be some similar checks for data type, etc.
    • Hermann-SWH

      Are there JSCAD user callbacks?

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      4
      0 Votes
      4 Posts
      2k Views
      Jason SprouseJ
      @Hermann-SW said in Are there JSCAD user callbacks?: tionality? Wouldn't that also be displayed in the browser stack trace?
    • hrgdavorH

      Reusable OrbitControls and camera gizmo

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      4
      1
      0 Votes
      4 Posts
      2k Views
      hrgdavorH
      default colors and transforms for babylon [image: 1670164849700-febb97cd-3c8c-425f-a7b4-703746fd89f4-image.png]
    • TerryGengT

      A project for rendering JSCAD in JupyterLab

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      4
      1
      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
    • Peter BirchP

      jscad examples on github

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      4
      0 Votes
      4 Posts
      2k Views
      Peter BirchP
      @z3dev Thanks!
    • Zachary KeimZ

      API documentation links broken

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      4
      0 Votes
      4 Posts
      1k Views
      hrgdavorH
      @Zachary-Keim good to hear. Guess it was a temporary issue
    • hrgdavorH

      Jscad.app prototype desktop app

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      4
      0 Votes
      4 Posts
      2k Views
      z3devZ
      An application also has shortfalls. There's the problem of documentation as well as upgrades. Applications usually include a huge and often critic user manual. And applications will only receive the latest patches if the user notices and applies the fix. This is why the website is so appealing... it's easy.
    • WolfgangFahlW

      remote.pl for dockerized openjscad

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      0 Votes
      3 Posts
      3k Views
      WolfgangFahlW
      Thank you kaosat-dev for looking into this. I added the issue: https://github.com/jscad/OpenJSCAD.org/issues/438 to more clearly show what the problem is. Locally I can work with the drag&drop solution or with the workspace-mounting approach of the dockerized OpenJSCAD at https://github.com/BITPlan/docker-openjscad
    • gilboonetG

      Multicolor (by faces) model

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      3
      1
      0 Votes
      3 Posts
      2k Views
      gilboonetG
      My code (obj2jscad) only reads a very simple OBJ file (only triangular without normals or textures) and take use of its facets materials groups. Materials are described into another file that I don't use but it could be done to read colors as materials simplest expression can be colors. True OBJ format is much more complex than that.
    • gilboonetG

      Regular polygons example

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      3
      1
      0 Votes
      3 Posts
      2k Views
      gilboonetG
      This new star primitive looks promising. Thank you for the code sample, I will try to use .fromAngleRadians().
    • gilboonetG

      Polyhedron : order of a face vertices

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      2
      0 Votes
      3 Posts
      2k Views
      No one has replied
    • WillAdamsW

      Having trouble with variables in the Block design option

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      3
      0 Votes
      3 Posts
      3k Views
      z3devZ
      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.
    • gilboonetG

      Design with random values

      Watching Ignoring Scheduled Pinned Locked Moved Comments & Feedback
      3
      0 Votes
      3 Posts
      2k Views
      gilboonetG
      Thank you. I will try something similar, it just needs to add a parameter to choose a design number, if the table of random values doesn't have values for this number they are randomly feeded, else they are used for the rendering. Such "mechanism" could be handy for designs using both random values and more than one viewing mode.
    • I

      simple hull fonction

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      0 Votes
      3 Posts
      2k Views
      I
      @z3dev thanks for your answer, i will check that. Any idea of the release date of the V2? Thanks again. Best regards
    • geobruceG

      Can't find command for 3D to 2D Projection

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      3
      0 Votes
      3 Posts
      2k Views
      z3devZ
      @geobruce Just for your information, as part of the last release, there's a new project() function which can project a 3D shape to a 2D shape.
    • drewpearD

      Openscad to JSCAD Refinement

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      0 Votes
      3 Posts
      2k Views
      drewpearD
      @gilboonet thank you for that. after a few mis-steps and with the guidance of editor prompts, i came up with this which seems to work for the sphere with a sound hole. i'm tickled pink because i had wanted to provide form fields for the parameters also, but due to my newbieness, thought it would be additional html/javascripting. function main(params) { var sr = params.sphereradius; var sh = params.soundhole; var wt = params.wallthickness; var fn = params.fragmentnumber; return [ difference(sphere({r:sr+wt, center:true, fn:fn}), sphere({r:sr, center:true, fn:fn}), cylinder ({r:sh, h:-(sr+wt)})) ]; } function getParameterDefinitions() { return [ { name: 'sphereradius', type: 'number', initial: 47, caption: 'Sphere Radius' }, { name: 'soundhole', type: 'number', initial: 15, caption: 'Sound Hole Radius' }, { name: 'wallthickness', type: 'number', initial: 2, caption: 'Wall Thickness' }, { name: 'fragmentnumber', type: 'number', initial: 100, caption: 'Fragment Number' }, ]; }
    • gilboonetG

      Flattening 3d triangle

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      0 Votes
      3 Posts
      735 Views
      gilboonetG
      Thank you. I only work with triangulated models for coding simplicity, even if later (for designs clarity) I usually remove walls between co-planar neighbours. I will certainly soon start to make V2 versions of my code, was only missing this, but for the moment I'm making a vanilla JS pattern editor.
    • Maria AlzateM

      Symmetrical Json Deserializers

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      0 Votes
      3 Posts
      832 Views
      Maria AlzateM
      Awesome! Thank you!
    • BarbourSmithB

      V2 .xyz bug

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      3
      2
      0 Votes
      3 Posts
      913 Views
      z3devZ
      See more information on the Node.js modules here: https://nodejs.org/dist/latest-v12.x/docs/api/modules.html#modules_folders_as_modules