• V2 status and testing environments

    9
    0 Votes
    9 Posts
    2k Views
    z3devZ
    @hg42 you might be able to use the regl-renderer module directly. there's a couple of demo applications, which could be tweeked to reload a design.
  • V2 Hulls

    6
    2
    0 Votes
    6 Posts
    2k Views
    hg42H
    @z3dev for my purposes the type of api doesn't matter much, because I use a preprocessor (currently python, may be something like livescript in the future) that can generate whatever I need. Ideally I would use the lowest level. That said, I could eventually use javascript as a frontend directly. It's a whole different situation with jscad compared to openscad as a backend. My preprocessor generates a tree internally (which seems to be very similar to the vtree). So, the transition to jscad could also be from my tree to vtree... btw. I already created a new thread for further discussions, because I thought it would not fit well under "V2 hulls"): v2-status-and-testing-environments
  • Are the V2 packages getting published?

    2
    0 Votes
    2 Posts
    839 Views
    z3devZ
    @johnwebbcole thanks for the lead in... There are still some critical changes happening to a few of the modules. So, publishing is not possible yet, as publishing is automated and publishes everything at the same time. And thanks for trying V2. We have a few other early adopters helping out with testing, and providing feedback. And for those who are looking for early access to V2, then please start here. I'll post more often going forward.
  • Openscad to JSCAD Refinement

    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' }, ]; }
  • simple hull fonction

    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
  • function in getParameterDefinition

    5
    0 Votes
    5 Posts
    4k Views
    I
    @kaosat-dev thanks for your reply i haven't test it yet (I just saw it today). i will tell you if it's works for me. Best regards
  • V2 Performance

    1
    1 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • V2 Rotate Extrude

    2
    1
    0 Votes
    2 Posts
    2k Views
    gilboonetG
    That's very good job, looks promising.
  • V2 Deserializers (Import)

    1
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • V2 Offset

    2
    2
    1 Votes
    2 Posts
    2k Views
    kaosat-devK
    @z3dev This looks absolutely amazing ! Lots of uses cases (I am a sucker for 2d in 3d haha)
  • JSCAD V2 Update

    1
    1 Votes
    1 Posts
    2k Views
    No one has replied
  • Displaying JScad designs in media wiki / or plain html for a start ...

    7
    0 Votes
    7 Posts
    5k Views
    gilboonetG
    @wolfgangfahl To make it work without having to move examples folder, you can run it from your local webserver. I did so from my local apache http server [image: 1560695658792-capture-d-%C3%A9cran-de-2019-06-16-16-34-02-resized.png]
  • A little web app using OpenJsCad

    10
    0 Votes
    10 Posts
    7k Views
    kaosat-devK
    @William-Adams that is very nice indeed ! Jscad is just a shorter name and less of a mouthful, either is fine @benkei it does indeed work like that, the parameter definitions are parsed by the internals of jscad to be displayed in the UI
  • Polyhedron : order of a face vertices

    3
    2
    0 Votes
    3 Posts
    2k Views
    No one has replied
  • link with script + library

    2
    1
    0 Votes
    2 Posts
    2k Views
    gilboonetG
    I just found that there is an issue on the repository about this concern : https://github.com/jscad/OpenJSCAD.org/issues/438. For the moment I simply copy-paste the content of the library into the script to make it work.
  • V2 cylinders

    4
    0 Votes
    4 Posts
    3k Views
    kaosat-devK
    @torejorg that is a very good point that we did not consider like that, but perhaps instead of having it as a parameter for cylinders we could (emphasis on "could") have a 'skew' operation (like translate & co), or even just leverage the transform (transformation by a 4x4 matrix) to achieve a similar result ? I am not aware of how limiting/acceptable that would be to be honest [image: matrix14.png]
  • Cooperation with BlocksCAD

    2
    0 Votes
    2 Posts
    2k Views
    z3devZ
    It would be really cool to have further cooperation with BlocksCAD. That interface is really interesting, and easy to use. I know that several versions of CSG library have been integrated, so further cooperation should be possible. However, it seems BlocksCAD has not been revised since 2017. It seems that ‘yoderdan’ has not made any changes lately, so his input would be required.
  • remote.pl for dockerized openjscad

    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
  • dockerized OpenJSCAD

    7
    0 Votes
    7 Posts
    6k Views
    WolfgangFahlW
    There was only a very small difference ... diff main.jscad /Users/wf/source/scad/testinclude/main.jscad 6c6 < return myLib().b(2); --- > return myLib.b(2); I 'v fixed the dockerized github repo and will try to fix the wiki now, too. Thanks for all the help finally I am going to work on my own designs now ...