JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Development Discussions
    Log in to post
    • Newest to Oldest
    • Oldest to Newest
    • Most Posts
    • Most Votes
    • Most Views
    • T

      using jscad as a library
      • tektio

      2
      0
      Votes
      2
      Posts
      361
      Views

      z3dev

      @tektio there are several people working with V2 JSCAD libraries now.

      Here's one that I created to show how to use the viewer, as well as some of the common core functions.

      https://github.com/z3dev/vue-components

      Take a look at the General Discussions, as there's a thread started that lists some of the projects.

    • LinGuanfu

      how to run demo in V2/web?
      • LinGuanfu

      4
      0
      Votes
      4
      Posts
      1580
      Views

      z3dev

      @tektio V2 JSCAD is very different then V1 JSCAD.

      The old examples are no longer usable with V2 JSCAD.

      Probably the best way to enabled two viewers would be through the use of the VUE components, but you'll have to write some HTML / JavaScript.

      https://github.com/z3dev/vue-components

    • z3dev

      V2 Update 2020 Dec 04
      • z3dev

      1
      0
      Votes
      1
      Posts
      209
      Views

      No one has replied

    • gilboonet

      V2 Feedback : about slicing
      • gilboonet

      7
      0
      Votes
      7
      Posts
      561
      Views

      gilboonet

      @z3dev I'm currently working with furniture models, they are all hand made. I sliced 8 models (they are available here https://github.com/gilboonet/designs/blob/master/MEUBLES/readme.md, each picture open the corresp. model into jscad) and they are clean because my scripts (slicer and unflattener) can only produce patterns for models without errors (holes, non-manifold). It's certainly my process that met an unhandled condition. To produce 2 axes imbricated crosspieces, I need to slice and then split slices that are made of multiple separated pieces because crosspiece cut need to be done for each piece. As you said it is too complex to debug. I need to simplify my process, maybe voxelization could help.

    • gilboonet

      No more display of parameters captions on v1
      • gilboonet

      4
      0
      Votes
      4
      Posts
      340
      Views

      gilboonet

      I finally understood what was happening, I inverted the colours parameter of Firefox to have white text and black background
      Capture d’écran de 2020-11-30 16-51-13.png I put text in black and it's ok.

    • gilboonet

      How to use same script with different targets ?
      • gilboonet

      6
      1
      Votes
      6
      Posts
      660
      Views

      gilboonet

      @hrgdavor Thank you for your code, it would be great to be able to load code and data like that then fire it. I hope it will be possible, with v1 I used gProcessor.setJJsCad() on an html/js app but here it is directly a jscad script.

    • Alasdair McAndrew

      Student projects?
      • Alasdair McAndrew

      2
      0
      Votes
      2
      Posts
      350
      Views

      z3dev

      @Alasdair-McAndrew I don't have any quick suggestions but will add some ideas whenever I come across something.

      There is one trend for JSCAD... collaboration. There are lots of frameworks, websites, applications that can house small applets (I don't have a better term) , and making JSCAD work with some of those would be very cool. I've marked the related issues with a label called collaboration as well.

    • z3dev

      V2 Update 2020 Nov 11
      • z3dev

      1
      2
      Votes
      1
      Posts
      294
      Views

      No one has replied

    • z3dev

      Access to the (fake) FileSystem in WEB Applications
      • z3dev

      1
      3
      Votes
      1
      Posts
      342
      Views

      No one has replied

    • z3dev

      V2 Update 2020 Oct 24
      • z3dev

      1
      1
      Votes
      1
      Posts
      208
      Views

      No one has replied

    • B

      Running code in workerthread
      • bitbybit

      5
      0
      Votes
      5
      Posts
      680
      Views

      B

      @z3dev yeah, I went 'custom' way before I found JSCAD, I began by exposing VerbNurbs library first and implemented BabylonJS rendering 🙂 but JSCAD adds so much to the project that I'm super enthusiastic about it. Vue part sounds very interesting. While I'm not very familiar with Vue, I suppose by reactive you mean Rxjs kind of reactive? Will have to analyse your project in more detail, thanks!

    • BarbourSmith

      Color lost in translation (or any operation)
      • BarbourSmith

      4
      0
      Votes
      4
      Posts
      609
      Views

      BarbourSmith

      Thanks! I'll give it a comment of support there 😀

    • gilboonet

      V2 Feedback : require selection from parameter
      • gilboonet

      3
      0
      Votes
      3
      Posts
      302
      Views

      gilboonet

      @z3dev I could easily adapt to any solution allowing to feed a list parameter with files, it will be far a better UI practice than my current one that requires the user to type the file name. Or maybe the ability for a text parameter to receive a file from a drag-drop operation.

    • hrgdavor

      V2: Feedback render sluggish on GTX1070
      • hrgdavor

      16
      0
      Votes
      16
      Posts
      1446
      Views

      z3dev

      @hrgdavor don't panic. i understand just fine. but i wanted to make sure that everything has been tried before making changes.

      also, i'm not certain why 'exact' mouse position is important. i'm just fine working with V2, and don't find the inertia to be troublesome.

      so, maybe this would be a user preference. no?

    • z3dev

      V2 Update 2020 OCT 11
      • z3dev

      2
      1
      Votes
      2
      Posts
      335
      Views

      BarbourSmith

      Very exciting! I can't wait to give the latest a try.

    • BarbourSmith

      Passing multiple solids to entitiesFromSolids
      • BarbourSmith

      3
      0
      Votes
      3
      Posts
      463
      Views

      BarbourSmith

      Thank you so much!

      Honestly looking at it now I don't see how I didn't understand how it worked. Union takes an array of solids so that would make the most sense. Thanks!

    • gilboonet

      V2 feedback : extrudeRotate
      • gilboonet

      7
      0
      Votes
      7
      Posts
      535
      Views

      gilboonet

      @z3dev the svg is here : https://github.com/gilboonet/gilboonet.github.io/blob/master/demos/demi_l.svg
      What I'm trying to do is a composite volume made of half a revolution of extrudeRotate then extrudeLinear with the same shape. I was able to have both extrusion method return a volume, but they don't coincide.

    • gilboonet

      V2 feedback : extrudeFromSlices
      • gilboonet

      4
      1
      Votes
      4
      Posts
      564
      Views

      gilboonet

      @z3dev An option to show/hide slider value would be great. Long ago I made some tweaks to parameters that looked like that, but now jscad architecture is too complex for me to make such changes. On the bottom of the screenshot you can see file browser to import/export parameters that I also added and was of great help to make complex models.
      Capture d’écran de 2020-10-05 10-16-38.png

    • z3dev

      V2 Update : 2020 SEP 28
      • z3dev

      2
      1
      Votes
      2
      Posts
      211
      Views

      gilboonet

      That's great to be able to use the WEB UI, especially with loading of remote URL ! (Seems that the link to www.jscad.xyz points to this discussion)

    • BarbourSmith

      V2 .xyz bug
      • BarbourSmith

      3
      0
      Votes
      3
      Posts
      349
      Views

      z3dev

      See more information on the Node.js modules here: https://nodejs.org/dist/latest-v12.x/docs/api/modules.html#modules_folders_as_modules

    Powered by NodeBB | Contributors